Class: Aws::IoT::Types::CloudwatchLogsAction

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

Overview

Note:

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

{
  role_arn: "AwsArn", # required
  log_group_name: "LogGroupName", # required
}

Describes an action that sends data to CloudWatch Logs.

Instance Attribute Summary collapse

Instance Attribute Details

#log_group_nameString

The CloudWatch log group to which the action sends data.

Returns:

  • (String)


1968
1969
1970
1971
1972
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 1968

class CloudwatchLogsAction < Struct.new(
  :role_arn,
  :log_group_name)
  include Aws::Structure
end

#role_arnString

The IAM role that allows access to the CloudWatch log.

Returns:

  • (String)


1968
1969
1970
1971
1972
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 1968

class CloudwatchLogsAction < Struct.new(
  :role_arn,
  :log_group_name)
  include Aws::Structure
end