@Generated(value="jsii-pacmak/1.71.0 (build f1f58ae)", date="2022-12-07T17:24:35.254Z") @Stability(value=Stable) public interface CfnSubscriptionDefinitionProps extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnSubscriptionDefinitionProps.Builder
A builder for
CfnSubscriptionDefinitionProps |
static class |
CfnSubscriptionDefinitionProps.Jsii$Proxy
An implementation for
CfnSubscriptionDefinitionProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnSubscriptionDefinitionProps.Builder |
builder() |
default Object |
getInitialVersion()
The subscription definition version to include when the subscription definition is created.
|
String |
getName()
The name of the subscription definition.
|
default Object |
getTags()
Application-specific metadata to attach to the subscription definition.
|
@Stability(value=Stable) @NotNull String getName()
@Stability(value=Stable) @Nullable default Object getInitialVersion()
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.
@Stability(value=Stable) @Nullable default Object getTags()
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 AWS CloudFormation templates.
"Tags": { "KeyName0": "value", "KeyName1": "value", "KeyName2": "value"
}
@Stability(value=Stable) static CfnSubscriptionDefinitionProps.Builder builder()
Copyright © 2022. All rights reserved.