Lambdas
¶
Source code in docs_src/capo_arc_region_switch/types/lambdas.py
arn
instance-attribute
¶
arn: NotRequired[LambdaArn]
The Amazon Resource Name (ARN) of the Lambda function.
cross_account_role
instance-attribute
¶
cross_account_role: NotRequired[IamRoleArn]
The cross account role for the configuration.
external_id
instance-attribute
¶
external_id: NotRequired[str]
The external ID (secret key) for the configuration.
payload
instance-attribute
¶
payload: NotRequired[LambdaPayload]
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.