Class CfnSubscriptionDefinitionVersion
The AWS::Greengrass::SubscriptionDefinitionVersion
resource represents a subscription definition version for AWS IoT Greengrass .
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.Greengrass
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnSubscriptionDefinitionVersion : CfnResource, IInspectable
Syntax (vb)
Public Class CfnSubscriptionDefinitionVersion
Inherits CfnResource
Implements IInspectable
Remarks
A subscription definition version contains a list of subscriptions.
To create a subscription definition version, you must specify the ID of the subscription definition that you want to associate with the version. For information about creating a subscription definition, see AWS::Greengrass::SubscriptionDefinition
.
After you create a subscription definition version that contains the subscriptions you want to deploy, you must add it to your group version. For more information, see AWS::Greengrass::Group
.
CloudformationResource: AWS::Greengrass::SubscriptionDefinitionVersion
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 cfnSubscriptionDefinitionVersion = new CfnSubscriptionDefinitionVersion(this, "MyCfnSubscriptionDefinitionVersion", new CfnSubscriptionDefinitionVersionProps {
SubscriptionDefinitionId = "subscriptionDefinitionId",
Subscriptions = new [] { new SubscriptionProperty {
Id = "id",
Source = "source",
Subject = "subject",
Target = "target"
} }
});
Synopsis
Constructors
CfnSubscriptionDefinitionVersion(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnSubscriptionDefinitionVersion(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnSubscriptionDefinitionVersion(Construct, String, ICfnSubscriptionDefinitionVersionProps) |
Properties
AttrId | |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
SubscriptionDefinitionId | The ID of the subscription definition associated with this version. |
Subscriptions | The subscriptions in this version. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnSubscriptionDefinitionVersion(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnSubscriptionDefinitionVersion(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnSubscriptionDefinitionVersion(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnSubscriptionDefinitionVersion(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CfnSubscriptionDefinitionVersion(Construct, String, ICfnSubscriptionDefinitionVersionProps)
public CfnSubscriptionDefinitionVersion(Construct scope, string id, ICfnSubscriptionDefinitionVersionProps props)
Parameters
- scope Constructs.Construct
Scope in which this resource is defined.
- id System.String
Construct identifier for this resource (unique in its scope).
- props ICfnSubscriptionDefinitionVersionProps
Resource properties.
Properties
AttrId
public virtual string AttrId { get; }
Property Value
System.String
Remarks
CloudformationAttribute: Id
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
SubscriptionDefinitionId
The ID of the subscription definition associated with this version.
public virtual string SubscriptionDefinitionId { get; set; }
Property Value
System.String
Subscriptions
The subscriptions in this version.
public virtual object Subscriptions { get; set; }
Property Value
System.Object
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>