Class CfnDestination
A CloudFormation AWS::IoTWireless::Destination
.
Inherited Members
Namespace: Amazon.CDK.AWS.IoTWireless
Assembly: Amazon.CDK.AWS.IoTWireless.dll
Syntax (csharp)
public class CfnDestination : CfnResource, IConstruct, IDependable, IInspectable
Syntax (vb)
Public Class CfnDestination
Inherits CfnResource
Implements IConstruct, IDependable, IInspectable
Remarks
Creates a new destination that maps a device message to an AWS IoT rule.
CloudformationResource: AWS::IoTWireless::Destination
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.IoTWireless;
var cfnDestination = new CfnDestination(this, "MyCfnDestination", new CfnDestinationProps {
Expression = "expression",
ExpressionType = "expressionType",
Name = "name",
RoleArn = "roleArn",
// the properties below are optional
Description = "description",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
});
Synopsis
Constructors
CfnDestination(Construct, String, ICfnDestinationProps) | Create a new |
CfnDestination(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnDestination(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Properties
AttrArn | The ARN of the destination created. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
Description | The description of the new resource. |
Expression | The rule name to send messages to. |
ExpressionType | The type of value in |
Name | The name of the new resource. |
RoleArn | The ARN of the IAM Role that authorizes the destination. |
Tags | The tags are an array of key-value pairs to attach to the specified resource. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnDestination(Construct, String, ICfnDestinationProps)
Create a new AWS::IoTWireless::Destination
.
public CfnDestination(Construct scope, string id, ICfnDestinationProps props)
Parameters
- scope Construct
- scope in which this resource is defined.
- id System.String
- scoped id of the resource.
- props ICfnDestinationProps
- resource properties.
CfnDestination(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnDestination(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnDestination(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnDestination(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Properties
AttrArn
The ARN of the destination created.
public virtual string AttrArn { get; }
Property Value
System.String
Remarks
CloudformationAttribute: Arn
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
Description
The description of the new resource.
public virtual string Description { get; set; }
Property Value
System.String
Remarks
Maximum length is 2048 characters.
Expression
The rule name to send messages to.
public virtual string Expression { get; set; }
Property Value
System.String
Remarks
ExpressionType
The type of value in Expression
.
public virtual string ExpressionType { get; set; }
Property Value
System.String
Remarks
Name
The name of the new resource.
public virtual string Name { get; set; }
Property Value
System.String
Remarks
RoleArn
The ARN of the IAM Role that authorizes the destination.
public virtual string RoleArn { get; set; }
Property Value
System.String
Remarks
Tags
The tags are an array of key-value pairs to attach to the specified resource.
public virtual TagManager Tags { get; }
Property Value
Remarks
Tags can have a minimum of 0 and a maximum of 50 items.
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>