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
show all
Defined in:
(unknown)

Overview

Note:

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

Instance Attribute Details

#idString

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:_-]+\'\'.

Returns:

  • (String)

    A descriptive or arbitrary ID for the subscription.

#sourceString

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\'.

Returns:

  • (String)

    The source of the subscription.

#subjectString

The MQTT topic used to route the message.

Returns:

  • (String)

    The MQTT topic used to route the message.

#targetString

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\'.

Returns:

  • (String)

    Where the message is sent to.