interface CfnSubscriptionDefinitionMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Greengrass.Mixins.CfnSubscriptionDefinitionMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsgreengrass/mixins#CfnSubscriptionDefinitionMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.greengrass.mixins.CfnSubscriptionDefinitionMixinProps |
Python | aws_cdk.mixins_preview.aws_greengrass.mixins.CfnSubscriptionDefinitionMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_greengrass » mixins » CfnSubscriptionDefinitionMixinProps |
Properties for CfnSubscriptionDefinitionPropsMixin.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as greengrass_mixins } from '@aws-cdk/mixins-preview/aws-greengrass';
declare const tags: any;
const cfnSubscriptionDefinitionMixinProps: greengrass_mixins.CfnSubscriptionDefinitionMixinProps = {
initialVersion: {
subscriptions: [{
id: 'id',
source: 'source',
subject: 'subject',
target: 'target',
}],
},
name: 'name',
tags: tags,
};
Properties
| Name | Type | Description |
|---|---|---|
| initial | IResolvable | Subscription | The subscription definition version to include when the subscription definition is created. |
| name? | string | The name of the subscription definition. |
| tags? | any | Application-specific metadata to attach to the subscription definition. |
initialVersion?
Type:
IResolvable | Subscription
(optional)
The subscription definition version to include when the subscription definition is created.
A subscription definition version contains a list of subscription property types.
To associate a subscription definition version after the subscription definition is created, create an
AWS::Greengrass::SubscriptionDefinitionVersionresource and specify the ID of this subscription definition.
name?
Type:
string
(optional)
The name of the subscription definition.
tags?
Type:
any
(optional)
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 Json property type is processed as a map of key-value pairs. It uses the following format, which is different from most Tags implementations in CloudFormation templates.
"Tags": { "KeyName0": "value", "KeyName1": "value", "KeyName2": "value"
}

.NET
Go
Java
Python
TypeScript