Class: Aws::ARCRegionswitch::Types::Lambdas
- Inherits:
-
Struct
- Object
- Struct
- Aws::ARCRegionswitch::Types::Lambdas
- Defined in:
- gems/aws-sdk-arcregionswitch/lib/aws-sdk-arcregionswitch/types.rb
Overview
Configuration for Amazon Web Services Lambda functions used in a Region switch plan.
Constant Summary collapse
- SENSITIVE =
[:payload]
Instance Attribute Summary collapse
-
#arn ⇒ String
The Amazon Resource Name (ARN) of the Lambda function.
-
#cross_account_role ⇒ String
The cross account role for the configuration.
-
#external_id ⇒ String
The external ID (secret key) for the configuration.
-
#payload ⇒ String
The JSON payload to send to the Lambda function invocation.
Instance Attribute Details
#arn ⇒ String
The Amazon Resource Name (ARN) of the Lambda function.
1660 1661 1662 1663 1664 1665 1666 1667 |
# File 'gems/aws-sdk-arcregionswitch/lib/aws-sdk-arcregionswitch/types.rb', line 1660 class Lambdas < Struct.new( :cross_account_role, :external_id, :arn, :payload) SENSITIVE = [:payload] include Aws::Structure end |
#cross_account_role ⇒ String
The cross account role for the configuration.
1660 1661 1662 1663 1664 1665 1666 1667 |
# File 'gems/aws-sdk-arcregionswitch/lib/aws-sdk-arcregionswitch/types.rb', line 1660 class Lambdas < Struct.new( :cross_account_role, :external_id, :arn, :payload) SENSITIVE = [:payload] include Aws::Structure end |
#external_id ⇒ String
The external ID (secret key) for the configuration.
1660 1661 1662 1663 1664 1665 1666 1667 |
# File 'gems/aws-sdk-arcregionswitch/lib/aws-sdk-arcregionswitch/types.rb', line 1660 class Lambdas < Struct.new( :cross_account_role, :external_id, :arn, :payload) SENSITIVE = [:payload] include Aws::Structure end |
#payload ⇒ String
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.
1660 1661 1662 1663 1664 1665 1666 1667 |
# File 'gems/aws-sdk-arcregionswitch/lib/aws-sdk-arcregionswitch/types.rb', line 1660 class Lambdas < Struct.new( :cross_account_role, :external_id, :arn, :payload) SENSITIVE = [:payload] include Aws::Structure end |