Interface CfnSubscriptionDefinitionProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnSubscriptionDefinitionProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-12-17T21:37:32.062Z")
@Stability(Stable)
public interface CfnSubscriptionDefinitionProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnSubscriptionDefinition
.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.greengrass.*; Object tags; CfnSubscriptionDefinitionProps cfnSubscriptionDefinitionProps = CfnSubscriptionDefinitionProps.builder() .name("name") // the properties below are optional .initialVersion(SubscriptionDefinitionVersionProperty.builder() .subscriptions(List.of(SubscriptionProperty.builder() .id("id") .source("source") .subject("subject") .target("target") .build())) .build()) .tags(tags) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnSubscriptionDefinitionProps
static final class
An implementation forCfnSubscriptionDefinitionProps
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Object
The subscription definition version to include when the subscription definition is created.getName()
The name of the subscription definition.default Object
getTags()
Application-specific metadata to attach to the subscription definition.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getName
The name of the subscription definition.- See Also:
-
getInitialVersion
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.- See Also:
-
getTags
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" }
- See Also:
-
builder
-