Class: Aws::Greengrass::Types::Subscription
- Inherits:
-
Struct
- Object
- Struct
- Aws::Greengrass::Types::Subscription
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-greengrass/types.rb
Overview
Information about a subscription.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#id ⇒ String
A descriptive or arbitrary ID for the subscription.
-
#source ⇒ String
The source of the subscription.
-
#subject ⇒ String
The MQTT topic used to route the message.
-
#target ⇒ String
Where the message is sent to.
Instance Attribute Details
#id ⇒ String
A descriptive or arbitrary ID for the subscription. This value must be unique within the subscription definition version. Max length is 128 characters with pattern ”[a-zA-Z0-9:_-]+”.
4371 4372 4373 4374 4375 4376 4377 4378 |
# File 'lib/aws-sdk-greengrass/types.rb', line 4371 class Subscription < Struct.new( :id, :source, :subject, :target) SENSITIVE = [] include Aws::Structure end |
#source ⇒ String
The source of the subscription. Can be a thing ARN, a Lambda function ARN, a connector ARN, ‘cloud’ (which represents the AWS IoT cloud), or ‘GGShadowService’.
4371 4372 4373 4374 4375 4376 4377 4378 |
# File 'lib/aws-sdk-greengrass/types.rb', line 4371 class Subscription < Struct.new( :id, :source, :subject, :target) SENSITIVE = [] include Aws::Structure end |
#subject ⇒ String
The MQTT topic used to route the message.
4371 4372 4373 4374 4375 4376 4377 4378 |
# File 'lib/aws-sdk-greengrass/types.rb', line 4371 class Subscription < Struct.new( :id, :source, :subject, :target) SENSITIVE = [] include Aws::Structure end |
#target ⇒ String
Where the message is sent to. Can be a thing ARN, a Lambda function ARN, a connector ARN, ‘cloud’ (which represents the AWS IoT cloud), or ‘GGShadowService’.
4371 4372 4373 4374 4375 4376 4377 4378 |
# File 'lib/aws-sdk-greengrass/types.rb', line 4371 class Subscription < Struct.new( :id, :source, :subject, :target) SENSITIVE = [] include Aws::Structure end |