CfnSubscriptionDefinitionMixinProps
- class aws_cdk.mixins_preview.aws_greengrass.mixins.CfnSubscriptionDefinitionMixinProps(*, initial_version=None, name=None, tags=None)
Bases:
objectProperties for CfnSubscriptionDefinitionPropsMixin.
- Parameters:
initial_version (
Union[IResolvable,SubscriptionDefinitionVersionProperty,Dict[str,Any],None]) – The subscription definition version to include when the subscription definition is created. A subscription definition version contains a list of`subscription<https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-subscriptiondefinition-subscription.html>`_ property types. .. epigraph:: To associate a subscription definition version after the subscription definition is created, create an`AWS::Greengrass::SubscriptionDefinitionVersion<https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-subscriptiondefinitionversion.html>`_ resource and specify the ID of this subscription definition.name (
Optional[str]) – The name of the subscription definition.tags (
Any) – Application-specific metadata to attach to the subscription definition. You can use tags in IAM policies to control access to AWS IoT Greengrass resources. You can also use tags to categorize your resources. For more information, see Tagging Your AWS IoT Greengrass Resources in the Developer Guide . ThisJsonproperty type is processed as a map of key-value pairs. It uses the following format, which is different from mostTagsimplementations in CloudFormation templates:: “Tags”: { “KeyName0”: “value”, “KeyName1”: “value”, “KeyName2”: “value” }
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_greengrass import mixins as greengrass_mixins # tags: Any cfn_subscription_definition_mixin_props = greengrass_mixins.CfnSubscriptionDefinitionMixinProps( initial_version=greengrass_mixins.CfnSubscriptionDefinitionPropsMixin.SubscriptionDefinitionVersionProperty( subscriptions=[greengrass_mixins.CfnSubscriptionDefinitionPropsMixin.SubscriptionProperty( id="id", source="source", subject="subject", target="target" )] ), name="name", tags=tags )
Attributes
- initial_version
The subscription definition version to include when the subscription definition is created.
A subscription definition version contains a list of
`subscription<https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-subscriptiondefinition-subscription.html>`_ property types. .. epigraph:To associate a subscription definition version after the subscription definition is created, create an ```AWS::Greengrass::SubscriptionDefinitionVersion`` <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-subscriptiondefinitionversion.html>`_ resource and specify the ID of this subscription definition.
- name
The name of the subscription definition.
- tags
Application-specific metadata to attach to the subscription definition.
You can use tags in IAM policies to control access to AWS IoT Greengrass resources. You can also use tags to categorize your resources. For more information, see Tagging Your AWS IoT Greengrass Resources in the Developer Guide .
This
Jsonproperty type is processed as a map of key-value pairs. It uses the following format, which is different from mostTagsimplementations in CloudFormation templates:"Tags": { "KeyName0": "value", "KeyName1": "value", "KeyName2": "value" }