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

Class: Aws::IoT::Types::LogTarget

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 LogTarget data as a hash:

{
  target_type: "DEFAULT", # required, accepts DEFAULT, THING_GROUP
  target_name: "LogTargetName",
}

A log target.

Instance Attribute Summary collapse

Instance Attribute Details

#target_nameString

The target name.

Returns:

  • (String)


5353
5354
5355
5356
5357
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 5353

class LogTarget < Struct.new(
  :target_type,
  :target_name)
  include Aws::Structure
end

#target_typeString

The target type.

Returns:

  • (String)


5353
5354
5355
5356
5357
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 5353

class LogTarget < Struct.new(
  :target_type,
  :target_name)
  include Aws::Structure
end