class Aws::DLM::Types::EventParameters
Specifies an event that triggers an event-based policy.
@note When making an API call, you may pass EventParameters
data as a hash: { event_type: "shareSnapshot", # required, accepts shareSnapshot snapshot_owner: ["AwsAccountId"], # required description_regex: "DescriptionRegex", # required }
@!attribute [rw] event_type
The type of event. Currently, only snapshot sharing events are supported. @return [String]
@!attribute [rw] snapshot_owner
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. @return [Array<String>]
@!attribute [rw] description_regex
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. @return [String]
@see docs.aws.amazon.com/goto/WebAPI/dlm-2018-01-12/EventParameters AWS API Documentation
Constants
- SENSITIVE