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

Class: Aws::CodeBuild::Types::CloudWatchLogsConfig

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 CloudWatchLogsConfig data as a hash:

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

Information about Amazon CloudWatch Logs for a build project.

Instance Attribute Summary collapse

Instance Attribute Details

#group_nameString

The group name of the logs in Amazon CloudWatch Logs. For more information, see Working with Log Groups and Log Streams.

Returns:

  • (String)


532
533
534
535
536
537
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 532

class CloudWatchLogsConfig < Struct.new(
  :status,
  :group_name,
  :stream_name)
  include Aws::Structure
end

#statusString

The current status of the logs in Amazon CloudWatch Logs for a build project. Valid values are:

  • ENABLED: Amazon CloudWatch Logs are enabled for this build project.

  • DISABLED: Amazon CloudWatch Logs are not enabled for this build project.

Returns:

  • (String)


532
533
534
535
536
537
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 532

class CloudWatchLogsConfig < Struct.new(
  :status,
  :group_name,
  :stream_name)
  include Aws::Structure
end

#stream_nameString

The prefix of the stream name of the Amazon CloudWatch Logs. For more information, see Working with Log Groups and Log Streams.

Returns:

  • (String)


532
533
534
535
536
537
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 532

class CloudWatchLogsConfig < Struct.new(
  :status,
  :group_name,
  :stream_name)
  include Aws::Structure
end