CfnSubscriptionDefinitionVersionProps

class aws_cdk.aws_greengrass.CfnSubscriptionDefinitionVersionProps(*, subscription_definition_id, subscriptions)

Bases: object

Properties for defining a CfnSubscriptionDefinitionVersion.

Parameters
  • subscription_definition_id (str) – The ID of the subscription definition associated with this version. This value is a GUID.

  • subscriptions (Union[IResolvable, Sequence[Union[IResolvable, SubscriptionProperty, Dict[str, Any]]]]) – The subscriptions in this version.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-subscriptiondefinitionversion.html

ExampleMetadata

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_greengrass as greengrass

cfn_subscription_definition_version_props = greengrass.CfnSubscriptionDefinitionVersionProps(
    subscription_definition_id="subscriptionDefinitionId",
    subscriptions=[greengrass.CfnSubscriptionDefinitionVersion.SubscriptionProperty(
        id="id",
        source="source",
        subject="subject",
        target="target"
    )]
)

Attributes

subscription_definition_id

The ID of the subscription definition associated with this version.

This value is a GUID.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-subscriptiondefinitionversion.html#cfn-greengrass-subscriptiondefinitionversion-subscriptiondefinitionid

Return type

str

subscriptions

The subscriptions in this version.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-subscriptiondefinitionversion.html#cfn-greengrass-subscriptiondefinitionversion-subscriptions

Return type

Union[IResolvable, List[Union[IResolvable, SubscriptionProperty]]]