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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ssm/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)


1165
1166
1167
1168
1169
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 1165

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)


1165
1166
1167
1168
1169
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 1165

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