Class: Aws::DLM::Types::EventSource

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 EventSource data as a hash:

{
  type: "MANAGED_CWE", # required, accepts MANAGED_CWE
  parameters: {
    event_type: "shareSnapshot", # required, accepts shareSnapshot
    snapshot_owner: ["AwsAccountId"], # required
    description_regex: "DescriptionRegex", # required
  },
}

Specifies an event that triggers an event-based policy.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#parametersTypes::EventParameters

Information about the event.



631
632
633
634
635
636
# File 'gems/aws-sdk-dlm/lib/aws-sdk-dlm/types.rb', line 631

class EventSource < Struct.new(
  :type,
  :parameters)
  SENSITIVE = []
  include Aws::Structure
end

#typeString

The source of the event. Currently only managed CloudWatch Events rules are supported.

Returns:

  • (String)


631
632
633
634
635
636
# File 'gems/aws-sdk-dlm/lib/aws-sdk-dlm/types.rb', line 631

class EventSource < Struct.new(
  :type,
  :parameters)
  SENSITIVE = []
  include Aws::Structure
end