AWS::IoTWireless::Destination - AWS CloudFormation

AWS::IoTWireless::Destination

Creates a new destination that maps a device message to an AWS IoT rule.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{ "Type" : "AWS::IoTWireless::Destination", "Properties" : { "Description" : String, "Expression" : String, "ExpressionType" : String, "Name" : String, "RoleArn" : String, "Tags" : [ Tag, ... ] } }

YAML

Type: AWS::IoTWireless::Destination Properties: Description: String Expression: String ExpressionType: String Name: String RoleArn: String Tags: - Tag

Properties

Description

The description of the new resource. Maximum length is 2048 characters.

Required: No

Type: String

Update requires: No interruption

Expression

The rule name to send messages to.

Required: Yes

Type: String

Maximum: 2048

Update requires: No interruption

ExpressionType

The type of value in Expression.

Required: Yes

Type: String

Allowed values: MqttTopic | RuleName

Update requires: No interruption

Name

The name of the new resource.

Required: Yes

Type: String

Maximum: 128

Pattern: [a-zA-Z0-9-_]+

Update requires: Replacement

RoleArn

The ARN of the IAM Role that authorizes the destination.

Required: Yes

Type: String

Minimum: 20

Maximum: 2048

Update requires: No interruption

Tags

The tags are an array of key-value pairs to attach to the specified resource. Tags can have a minimum of 0 and a maximum of 50 items.

Required: No

Type: List of Tag

Maximum: 200

Update requires: No interruption

Return values

Ref

When you pass the logical ID of this resource to the intrinsic Ref function, Ref returns the Destination name.

Fn::GetAtt

Arn

The ARN of the destination created.