You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::CodeBuild::Types::LogsConfig

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

Overview

Note:

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

{
  cloud_watch_logs: {
    status: "ENABLED", # required, accepts ENABLED, DISABLED
    group_name: "String",
    stream_name: "String",
  },
  s3_logs: {
    status: "ENABLED", # required, accepts ENABLED, DISABLED
    location: "String",
    encryption_disabled: false,
  },
}

Information about logs for a build project. These can be logs in Amazon CloudWatch Logs, built in a specified S3 bucket, or both.

Instance Attribute Summary collapse

Instance Attribute Details

#cloud_watch_logsTypes::CloudWatchLogsConfig

Information about Amazon CloudWatch Logs for a build project. Amazon CloudWatch Logs are enabled by default.



1475
1476
1477
1478
1479
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 1475

class LogsConfig < Struct.new(
  :cloud_watch_logs,
  :s3_logs)
  include Aws::Structure
end

#s3_logsTypes::S3LogsConfig

Information about logs built to an S3 bucket for a build project. S3 logs are not enabled by default.

Returns:



1475
1476
1477
1478
1479
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 1475

class LogsConfig < Struct.new(
  :cloud_watch_logs,
  :s3_logs)
  include Aws::Structure
end