Class CfnSubscriptionDefinition.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSubscriptionDefinition>
- Enclosing class:
CfnSubscriptionDefinition
CfnSubscriptionDefinition
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
initialVersion
(IResolvable initialVersion) The subscription definition version to include when the subscription definition is created.The subscription definition version to include when the subscription definition is created.The name of the subscription definition.Application-specific metadata to attach to the subscription definition.
-
Method Details
-
create
@Stability(Stable) public static CfnSubscriptionDefinition.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnSubscriptionDefinition.Builder
.
-
name
The name of the subscription definition.- Parameters:
name
- The name of the subscription definition. This parameter is required.- Returns:
this
- See Also:
-
initialVersion
@Stability(Stable) public CfnSubscriptionDefinition.Builder initialVersion(IResolvable initialVersion) 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::SubscriptionDefinitionVersion
resource and specify the ID of this subscription definition.- Parameters:
initialVersion
- The subscription definition version to include when the subscription definition is created. This parameter is required.- Returns:
this
- See Also:
-
initialVersion
@Stability(Stable) public CfnSubscriptionDefinition.Builder initialVersion(CfnSubscriptionDefinition.SubscriptionDefinitionVersionProperty initialVersion) 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::SubscriptionDefinitionVersion
resource and specify the ID of this subscription definition.- Parameters:
initialVersion
- The subscription definition version to include when the subscription definition is created. This parameter is required.- Returns:
this
- See Also:
-
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
Json
property type is processed as a map of key-value pairs. It uses the following format, which is different from mostTags
implementations in AWS CloudFormation templates."Tags": { "KeyName0": "value", "KeyName1": "value", "KeyName2": "value" }
- Parameters:
tags
- Application-specific metadata to attach to the subscription definition. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnSubscriptionDefinition>
- Returns:
- a newly built instance of
CfnSubscriptionDefinition
.
-