AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::IoTWireless::Destination

CfnDestination

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

Import

import { CfnDestination } from 'aws-cdk-lib/aws-iotwireless';

Or use the module namespace:

import * as iotwireless from 'aws-cdk-lib/aws-iotwireless';
// iotwireless.CfnDestination

Properties

Configuration passed to the constructor as CfnDestinationProps.

expressionRequired
string

The rule name to send messages to.

expressionTypeRequired
string

The type of value in `Expression` .

nameRequired
string

The name of the new resource.

descriptionOptional
string

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

roleArnOptional
string

The ARN of the IAM Role that authorizes the destination.

tagsOptional
CfnTag[]

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.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter