View a markdown version of this page

AWS::ARCRegionSwitch::Plan EventSourceMapping - 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::ARCRegionSwitch::Plan EventSourceMapping

The Amazon Lambda event source mapping configuration, containing the resource ARN and optional cross-account configuration.

Syntax

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

JSON

{ "Arn" : String, "CrossAccountRole" : String, "ExternalId" : String }

YAML

Arn: String CrossAccountRole: String ExternalId: String

Properties

Arn

The Amazon Resource Name (ARN) of the Lambda event source mapping.

Required: Yes

Type: String

Pattern: ^arn:aws[a-zA-Z-]*:lambda:[a-z0-9-]+:\d{12}:event-source-mapping:[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$

Update requires: No interruption

CrossAccountRole

The cross account role for the configuration.

Required: No

Type: String

Pattern: ^arn:aws[a-zA-Z0-9-]*:iam::[0-9]{12}:role/.+$

Update requires: No interruption

ExternalId

The external ID (secret key) for the configuration.

Required: No

Type: String

Update requires: No interruption