Class: Aws::CodeBuild::Types::LogsLocation

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-codebuild/types.rb

Overview

Information about build logs in CloudWatch Logs.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#cloud_watch_logsTypes::CloudWatchLogsConfig

Information about CloudWatch Logs for a build project.



3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
# File 'lib/aws-sdk-codebuild/types.rb', line 3892

class LogsLocation < Struct.new(
  :group_name,
  :stream_name,
  :deep_link,
  :s3_deep_link,
  :cloud_watch_logs_arn,
  :s3_logs_arn,
  :cloud_watch_logs,
  :s3_logs)
  SENSITIVE = []
  include Aws::Structure
end

#cloud_watch_logs_arnString

The ARN of the CloudWatch Logs stream for a build execution. Its format is ‘arn:$Partition:logs:$Region:$Account:log-group:$LogGroupName:log-stream:$LogStreamName`. The CloudWatch Logs stream is created during the PROVISIONING phase of a build and the ARN will not be valid until it is created. For more information, see [Resources Defined by CloudWatch Logs].

[1]: docs.aws.amazon.com/IAM/latest/UserGuide/list_amazoncloudwatchlogs.html#amazoncloudwatchlogs-resources-for-iam-policies

Returns:

  • (String)


3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
# File 'lib/aws-sdk-codebuild/types.rb', line 3892

class LogsLocation < Struct.new(
  :group_name,
  :stream_name,
  :deep_link,
  :s3_deep_link,
  :cloud_watch_logs_arn,
  :s3_logs_arn,
  :cloud_watch_logs,
  :s3_logs)
  SENSITIVE = []
  include Aws::Structure
end

The URL to an individual build log in CloudWatch Logs. The log stream is created during the PROVISIONING phase of a build and the ‘deeplink` will not be valid until it is created.

Returns:

  • (String)


3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
# File 'lib/aws-sdk-codebuild/types.rb', line 3892

class LogsLocation < Struct.new(
  :group_name,
  :stream_name,
  :deep_link,
  :s3_deep_link,
  :cloud_watch_logs_arn,
  :s3_logs_arn,
  :cloud_watch_logs,
  :s3_logs)
  SENSITIVE = []
  include Aws::Structure
end

#group_nameString

The name of the CloudWatch Logs group for the build logs.

Returns:

  • (String)


3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
# File 'lib/aws-sdk-codebuild/types.rb', line 3892

class LogsLocation < Struct.new(
  :group_name,
  :stream_name,
  :deep_link,
  :s3_deep_link,
  :cloud_watch_logs_arn,
  :s3_logs_arn,
  :cloud_watch_logs,
  :s3_logs)
  SENSITIVE = []
  include Aws::Structure
end

The URL to a build log in an S3 bucket.

Returns:

  • (String)


3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
# File 'lib/aws-sdk-codebuild/types.rb', line 3892

class LogsLocation < Struct.new(
  :group_name,
  :stream_name,
  :deep_link,
  :s3_deep_link,
  :cloud_watch_logs_arn,
  :s3_logs_arn,
  :cloud_watch_logs,
  :s3_logs)
  SENSITIVE = []
  include Aws::Structure
end

#s3_logsTypes::S3LogsConfig

Information about S3 logs for a build project.

Returns:



3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
# File 'lib/aws-sdk-codebuild/types.rb', line 3892

class LogsLocation < Struct.new(
  :group_name,
  :stream_name,
  :deep_link,
  :s3_deep_link,
  :cloud_watch_logs_arn,
  :s3_logs_arn,
  :cloud_watch_logs,
  :s3_logs)
  SENSITIVE = []
  include Aws::Structure
end

#s3_logs_arnString

The ARN of S3 logs for a build project. Its format is ‘arn:$Partition:s3:::$BucketName/$ObjectName`. For more information, see [Resources Defined by Amazon S3].

[1]: docs.aws.amazon.com/IAM/latest/UserGuide/list_amazons3.html#amazons3-resources-for-iam-policies

Returns:

  • (String)


3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
# File 'lib/aws-sdk-codebuild/types.rb', line 3892

class LogsLocation < Struct.new(
  :group_name,
  :stream_name,
  :deep_link,
  :s3_deep_link,
  :cloud_watch_logs_arn,
  :s3_logs_arn,
  :cloud_watch_logs,
  :s3_logs)
  SENSITIVE = []
  include Aws::Structure
end

#stream_nameString

The name of the CloudWatch Logs stream for the build logs.

Returns:

  • (String)


3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
# File 'lib/aws-sdk-codebuild/types.rb', line 3892

class LogsLocation < Struct.new(
  :group_name,
  :stream_name,
  :deep_link,
  :s3_deep_link,
  :cloud_watch_logs_arn,
  :s3_logs_arn,
  :cloud_watch_logs,
  :s3_logs)
  SENSITIVE = []
  include Aws::Structure
end