Class CfnSubscriptionDefinitionProps
Properties for defining a CfnSubscriptionDefinition
.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.Greengrass
Assembly: Amazon.CDK.AWS.Greengrass.dll
Syntax (csharp)
public class CfnSubscriptionDefinitionProps : Object, ICfnSubscriptionDefinitionProps
Syntax (vb)
Public Class CfnSubscriptionDefinitionProps
Inherits Object
Implements ICfnSubscriptionDefinitionProps
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Greengrass;
var tags;
var cfnSubscriptionDefinitionProps = new CfnSubscriptionDefinitionProps {
Name = "name",
// the properties below are optional
InitialVersion = new SubscriptionDefinitionVersionProperty {
Subscriptions = new [] { new SubscriptionProperty {
Id = "id",
Source = "source",
Subject = "subject",
Target = "target"
} }
},
Tags = tags
};
Synopsis
Constructors
CfnSubscriptionDefinitionProps() |
Properties
InitialVersion | The subscription definition version to include when the subscription definition is created. |
Name | The name of the subscription definition. |
Tags | Application-specific metadata to attach to the subscription definition. |
Constructors
CfnSubscriptionDefinitionProps()
public CfnSubscriptionDefinitionProps()
Properties
InitialVersion
The subscription definition version to include when the subscription definition is created.
public object InitialVersion { get; set; }
Property Value
System.Object
Remarks
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.
Name
The name of the subscription definition.
public string Name { get; set; }
Property Value
System.String
Remarks
Tags
Application-specific metadata to attach to the subscription definition.
public object Tags { get; set; }
Property Value
System.Object
Remarks
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"
}