Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Class: Aws::DLM::Types::EventParameters

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

Overview

[Event-based policies only] Specifies an event that activates an event-based policy.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#description_regexString

The snapshot description that can trigger the policy. The description pattern is specified using a regular expression. The policy runs only if a snapshot with a description that matches the specified pattern is shared with your account.

For example, specifying ^.*Created for policy: policy-1234567890abcdef0.*$ configures the policy to run only if snapshots created by policy policy-1234567890abcdef0 are shared with your account.

Returns:

  • (String)

597
598
599
600
601
602
603
# File 'gems/aws-sdk-dlm/lib/aws-sdk-dlm/types.rb', line 597

class EventParameters < Struct.new(
  :event_type,
  :snapshot_owner,
  :description_regex)
  SENSITIVE = []
  include Aws::Structure
end

#event_typeString

The type of event. Currently, only snapshot sharing events are supported.

Returns:

  • (String)

597
598
599
600
601
602
603
# File 'gems/aws-sdk-dlm/lib/aws-sdk-dlm/types.rb', line 597

class EventParameters < Struct.new(
  :event_type,
  :snapshot_owner,
  :description_regex)
  SENSITIVE = []
  include Aws::Structure
end

#snapshot_ownerArray<String>

The IDs of the Amazon Web Services accounts that can trigger policy by sharing snapshots with your account. The policy only runs if one of the specified Amazon Web Services accounts shares a snapshot with your account.

Returns:

  • (Array<String>)

597
598
599
600
601
602
603
# File 'gems/aws-sdk-dlm/lib/aws-sdk-dlm/types.rb', line 597

class EventParameters < Struct.new(
  :event_type,
  :snapshot_owner,
  :description_regex)
  SENSITIVE = []
  include Aws::Structure
end