View a markdown version of this page

AWS::EventsV2::Subscriber MessageAttributeValue - AWS CloudFormation

This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.

AWS::EventsV2::Subscriber MessageAttributeValue

A message attribute value and its data type, for Amazon SQS and Amazon SNS targets.

Syntax

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

JSON

{ "BinaryValue" : String, "DataType" : String, "StringValue" : String }

YAML

BinaryValue: String DataType: String StringValue: String

Properties

BinaryValue

The attribute value for the Binary data type, Base64-encoded.

Required: No

Type: String

Update requires: No interruption

DataType

The attribute data type. For Amazon SQS targets, specify String, Number, or Binary, optionally with a custom label suffix such as Number.float. For Amazon SNS targets, specify String, String.Array, Number, or Binary.

Required: Yes

Type: String

Update requires: No interruption

StringValue

The attribute value for the String and Number data types (and String.Array for Amazon SNS targets).

Required: No

Type: String

Update requires: No interruption