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 Lambdas
Configuration for Amazon Lambda functions used in a Region switch plan.
Syntax
To declare this entity in your Amazon CloudFormation template, use the following syntax:
JSON
{ "Arn" :String, "CrossAccountRole" :String, "ExternalId" :String, "Payload" :String}
YAML
Arn:StringCrossAccountRole:StringExternalId:StringPayload:String
Properties
Arn-
The Amazon Resource Name (ARN) of the Lambda function.
Required: No
Type: String
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
Payload-
The JSON payload to send to the Lambda function invocation. If you don't specify a payload, Region switch invokes the function with only the execution metadata.
If you provide a JSON object, Region switch merges execution metadata keys (
InvokedBy,PlanArn,ExecutionId,StepName) into the top level. If one of your keys has the same name as a metadata key, your key takes precedence.If you provide any other JSON type (string, number, boolean, or array), Region switch forwards it to the Lambda function unchanged, without adding metadata.
Required: No
Type: String
Minimum:
1Maximum:
786432Update requires: No interruption