aws-cdk-lib.aws_dlm.CfnLifecyclePolicy.ActionProperty

interface ActionProperty

LanguageType name
.NETAmazon.CDK.AWS.DLM.CfnLifecyclePolicy.ActionProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsdlm#CfnLifecyclePolicy_ActionProperty
Javasoftware.amazon.awscdk.services.dlm.CfnLifecyclePolicy.ActionProperty
Pythonaws_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

NameTypeDescription
crossRegionCopyIResolvable | IResolvable | CrossRegionCopyActionProperty[]The rule for copying shared snapshots across Regions.
namestringA descriptive name for the action.

crossRegionCopy

Type: IResolvable | IResolvable | CrossRegionCopyActionProperty[]

The rule for copying shared snapshots across Regions.


name

Type: string

A descriptive name for the action.