interface CustomActionLambdaConfigurationProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.aws_arcregionswitch.CfnPlan.CustomActionLambdaConfigurationProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsarcregionswitch#CfnPlan_CustomActionLambdaConfigurationProperty |
![]() | software.amazon.awscdk.services.arcregionswitch.CfnPlan.CustomActionLambdaConfigurationProperty |
![]() | aws_cdk.aws_arcregionswitch.CfnPlan.CustomActionLambdaConfigurationProperty |
![]() | aws-cdk-lib » aws_arcregionswitch » CfnPlan » 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-lib';
const customActionLambdaConfigurationProperty: arcregionswitch.CfnPlan.CustomActionLambdaConfigurationProperty = {
lambdas: [{
arn: 'arn',
crossAccountRole: 'crossAccountRole',
externalId: 'externalId',
}],
regionToRun: 'regionToRun',
retryIntervalMinutes: 123,
// the properties below are optional
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
[]
The AWS Lambda functions for the execution block.
regionToRun
Type:
string
The AWS Region for the function to run in.
retryIntervalMinutes
Type:
number
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.