interface CustomActionLambdaConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.ARCRegionSwitch.Mixins.CfnPlanPropsMixin.CustomActionLambdaConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsarcregionswitch/mixins#CfnPlanPropsMixin_CustomActionLambdaConfigurationProperty |
Java | software.amazon.awscdk.mixins.preview.services.arcregionswitch.mixins.CfnPlanPropsMixin.CustomActionLambdaConfigurationProperty |
Python | aws_cdk.mixins_preview.aws_arcregionswitch.mixins.CfnPlanPropsMixin.CustomActionLambdaConfigurationProperty |
TypeScript | @aws-cdk/mixins-preview » aws_arcregionswitch » mixins » 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 { mixins as arcregionswitch_mixins } from '@aws-cdk/mixins-preview/aws-arcregionswitch';
const customActionLambdaConfigurationProperty: arcregionswitch_mixins.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