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.

Constant Summary collapse

SENSITIVE =
[]

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)


1252
1253
1254
1255
1256
1257
1258
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 1252

class CloudWatchLogsConfig < Struct.new(
  :status,
  :group_name,
  :stream_name)
  SENSITIVE = []
  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)


1252
1253
1254
1255
1256
1257
1258
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 1252

class CloudWatchLogsConfig < Struct.new(
  :status,
  :group_name,
  :stream_name)
  SENSITIVE = []
  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)


1252
1253
1254
1255
1256
1257
1258
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 1252

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