Class: Aws::DLM::Types::Action

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-dlm/lib/aws-sdk-dlm/types.rb

Overview

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
      },
    },
  ],
}

Specifies an action for an event-based policy.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#cross_region_copyArray<Types::CrossRegionCopyAction>

The rule for copying shared snapshots across Regions.

Returns:



45
46
47
48
49
50
# File 'gems/aws-sdk-dlm/lib/aws-sdk-dlm/types.rb', line 45

class Action < Struct.new(
  :name,
  :cross_region_copy)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

A descriptive name for the action.

Returns:

  • (String)


45
46
47
48
49
50
# File 'gems/aws-sdk-dlm/lib/aws-sdk-dlm/types.rb', line 45

class Action < Struct.new(
  :name,
  :cross_region_copy)
  SENSITIVE = []
  include Aws::Structure
end