Class: Aws::Greengrass::Types::Subscription

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb

Overview

Information about a subscription.

Constant Summary collapse

SENSITIVE =
[]

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)


4371
4372
4373
4374
4375
4376
4377
4378
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 4371

class Subscription < Struct.new(
  :id,
  :source,
  :subject,
  :target)
  SENSITIVE = []
  include Aws::Structure
end

#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)


4371
4372
4373
4374
4375
4376
4377
4378
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 4371

class Subscription < Struct.new(
  :id,
  :source,
  :subject,
  :target)
  SENSITIVE = []
  include Aws::Structure
end

#subjectString

The MQTT topic used to route the message.

Returns:

  • (String)


4371
4372
4373
4374
4375
4376
4377
4378
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 4371

class Subscription < Struct.new(
  :id,
  :source,
  :subject,
  :target)
  SENSITIVE = []
  include Aws::Structure
end

#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)


4371
4372
4373
4374
4375
4376
4377
4378
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 4371

class Subscription < Struct.new(
  :id,
  :source,
  :subject,
  :target)
  SENSITIVE = []
  include Aws::Structure
end