Class: Aws::CodeBuild::Types::S3LogsConfig

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

Overview

Note:

When making an API call, you may pass S3LogsConfig data as a hash:

{
  status: "ENABLED", # required, accepts ENABLED, DISABLED
  location: "String",
}

Information about S3 logs for a build project.

Instance Attribute Summary collapse

Instance Attribute Details

#locationString

The ARN of an S3 bucket and the path prefix for S3 logs. If your Amazon S3 bucket name is ‘my-bucket`, and your path prefix is `build-log`, then acceptable formats are `my-bucket/build-log` or `arn:aws:s3:::my-bucket/build-log`.

Returns:

  • (String)


2161
2162
2163
2164
2165
# File 'lib/aws-sdk-codebuild/types.rb', line 2161

class S3LogsConfig < Struct.new(
  :status,
  :location)
  include Aws::Structure
end

#statusString

The current status of the S3 build logs. Valid values are:

  • ‘ENABLED`: S3 build logs are enabled for this build project.

  • ‘DISABLED`: S3 build logs are not enabled for this build project.

Returns:

  • (String)


2161
2162
2163
2164
2165
# File 'lib/aws-sdk-codebuild/types.rb', line 2161

class S3LogsConfig < Struct.new(
  :status,
  :location)
  include Aws::Structure
end