interface ActionProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.DLM.CfnLifecyclePolicy.ActionProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsdlm#CfnLifecyclePolicy_ActionProperty |
Java | software.amazon.awscdk.services.dlm.CfnLifecyclePolicy.ActionProperty |
Python | aws_cdk.aws_dlm.CfnLifecyclePolicy.ActionProperty |
TypeScript | aws-cdk-lib » aws_dlm » CfnLifecyclePolicy » ActionProperty |
[Event-based policies only] Specifies an action for an event-based policy.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_dlm as dlm } from 'aws-cdk-lib';
const actionProperty: dlm.CfnLifecyclePolicy.ActionProperty = {
crossRegionCopy: [{
encryptionConfiguration: {
encrypted: false,
// the properties below are optional
cmkArn: 'cmkArn',
},
target: 'target',
// the properties below are optional
retainRule: {
interval: 123,
intervalUnit: 'intervalUnit',
},
}],
name: 'name',
};
Properties
Name | Type | Description |
---|---|---|
cross | IResolvable | IResolvable | Cross [] | The rule for copying shared snapshots across Regions. |
name | string | A descriptive name for the action. |
crossRegionCopy
Type:
IResolvable
|
IResolvable
|
Cross
[]
The rule for copying shared snapshots across Regions.
name
Type:
string
A descriptive name for the action.