CfnDestinationProps

class aws_cdk.aws_iotwireless.CfnDestinationProps(*, expression, expression_type, name, role_arn, description=None, tags=None)

Bases: object

Properties for defining a CfnDestination.

Parameters:
  • expression (str) – The rule name to send messages to.

  • expression_type (str) – The type of value in Expression .

  • name (str) – The name of the new resource.

  • role_arn (str) – The ARN of the IAM Role that authorizes the destination.

  • description (Optional[str]) – The description of the new resource. Maximum length is 2048 characters.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – 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.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotwireless-destination.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_iotwireless as iotwireless

cfn_destination_props = iotwireless.CfnDestinationProps(
    expression="expression",
    expression_type="expressionType",
    name="name",
    role_arn="roleArn",

    # the properties below are optional
    description="description",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

description

The description of the new resource.

Maximum length is 2048 characters.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotwireless-destination.html#cfn-iotwireless-destination-description

expression

The rule name to send messages to.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotwireless-destination.html#cfn-iotwireless-destination-expression

expression_type

The type of value in Expression .

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotwireless-destination.html#cfn-iotwireless-destination-expressiontype

name

The name of the new resource.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotwireless-destination.html#cfn-iotwireless-destination-name

role_arn

The ARN of the IAM Role that authorizes the destination.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotwireless-destination.html#cfn-iotwireless-destination-rolearn

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.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotwireless-destination.html#cfn-iotwireless-destination-tags