Class: Aws::SSM::Types::CloudWatchOutputConfig

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

Overview

Note:

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

{
  cloud_watch_log_group_name: "CloudWatchLogGroupName",
  cloud_watch_output_enabled: false,
}

Configuration options for sending command output to CloudWatch Logs.

Instance Attribute Summary collapse

Instance Attribute Details

#cloud_watch_log_group_nameString

The name of the CloudWatch log group where you want to send command output. If you don’t specify a group name, Systems Manager automatically creates a log group for you. The log group uses the following naming format: aws/ssm/SystemsManagerDocumentName.

Returns:

  • (String)


1304
1305
1306
1307
1308
# File 'lib/aws-sdk-ssm/types.rb', line 1304

class CloudWatchOutputConfig < Struct.new(
  :cloud_watch_log_group_name,
  :cloud_watch_output_enabled)
  include Aws::Structure
end

#cloud_watch_output_enabledBoolean

Enables Systems Manager to send command output to CloudWatch Logs.

Returns:

  • (Boolean)


1304
1305
1306
1307
1308
# File 'lib/aws-sdk-ssm/types.rb', line 1304

class CloudWatchOutputConfig < Struct.new(
  :cloud_watch_log_group_name,
  :cloud_watch_output_enabled)
  include Aws::Structure
end