class Aws::DLM::Types::Action

Specifies an action for an event-based policy.

@note When making an API call, you may pass Action

data as a hash:

    {
      name: "ActionName", # required
      cross_region_copy: [ # required
        {
          target: "Target", # required
          encryption_configuration: { # required
            encrypted: false, # required
            cmk_arn: "CmkArn",
          },
          retain_rule: {
            interval: 1,
            interval_unit: "DAYS", # accepts DAYS, WEEKS, MONTHS, YEARS
          },
        },
      ],
    }

@!attribute [rw] name

A descriptive name for the action.
@return [String]

@!attribute [rw] cross_region_copy

The rule for copying shared snapshots across Regions.
@return [Array<Types::CrossRegionCopyAction>]

@see docs.aws.amazon.com/goto/WebAPI/dlm-2018-01-12/Action AWS API Documentation

Constants

SENSITIVE