You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::Greengrass::Types::Subscription
- Inherits:
-
Struct
- Object
- Struct
- Aws::Greengrass::Types::Subscription
- Defined in:
- (unknown)
Overview
When passing Subscription as input to an Aws::Client method, you can use a vanilla Hash:
{
id: "__string", # required
source: "__string", # required
subject: "__string", # required
target: "__string", # required
}
Information about a subscription.
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:_-]+\'\'.
#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\'.
#subject ⇒ String
The MQTT topic used to route the message.
#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\'.