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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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)


2597
2598
2599
2600
2601
2602
# File 'lib/aws-sdk-iot/types.rb', line 2597

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)


2597
2598
2599
2600
2601
2602
# File 'lib/aws-sdk-iot/types.rb', line 2597

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