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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#log_group_nameString

The CloudWatch log group to which the action sends data.

Returns:

  • (String)


2509
2510
2511
2512
2513
2514
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 2509

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

#role_arnString

The IAM role that allows access to the CloudWatch log.

Returns:

  • (String)


2509
2510
2511
2512
2513
2514
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 2509

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