View a markdown version of this page

AWS::EventsV2::Subscriber MessageAttributeValue - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

This is the new Amazon CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the Amazon 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 Amazon 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