interface CustomActionLambdaConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.ARCRegionSwitch.CfnPlanPropsMixin.CustomActionLambdaConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsarcregionswitch#CfnPlanPropsMixin_CustomActionLambdaConfigurationProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.arcregionswitch.CfnPlanPropsMixin.CustomActionLambdaConfigurationProperty |
Python | aws_cdk.cfn_property_mixins.aws_arcregionswitch.CfnPlanPropsMixin.CustomActionLambdaConfigurationProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_arcregionswitch » CfnPlanPropsMixin » CustomActionLambdaConfigurationProperty |
Configuration for AWS Lambda functions that perform custom actions during a Region switch.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_arcregionswitch as arcregionswitch } from '@aws-cdk/cfn-property-mixins';
const customActionLambdaConfigurationProperty: arcregionswitch.CfnPlanPropsMixin.CustomActionLambdaConfigurationProperty = {
lambdas: [{
arn: 'arn',
crossAccountRole: 'crossAccountRole',
externalId: 'externalId',
}],
regionToRun: 'regionToRun',
retryIntervalMinutes: 123,
timeoutMinutes: 123,
ungraceful: {
behavior: 'behavior',
},
};
Properties
| Name | Type | Description |
|---|---|---|
| lambdas? | IResolvable | (IResolvable | Lambdas)[] | The AWS Lambda functions for the execution block. |
| region | string | The AWS Region for the function to run in. |
| retry | number | The retry interval specified. |
| timeout | number | The timeout value specified for the configuration. |
| ungraceful? | IResolvable | Lambda | The settings for ungraceful execution. |
lambdas?
Type:
IResolvable | (IResolvable | Lambdas)[]
(optional)
The AWS Lambda functions for the execution block.
regionToRun?
Type:
string
(optional)
The AWS Region for the function to run in.
retryIntervalMinutes?
Type:
number
(optional)
The retry interval specified.
timeoutMinutes?
Type:
number
(optional, default: 60)
The timeout value specified for the configuration.
ungraceful?
Type:
IResolvable | Lambda
(optional)
The settings for ungraceful execution.

.NET
Go
Java
Python
TypeScript