Class: AWSCDK::CloudTrail::CfnEventDataStore::ContextKeySelectorProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::CloudTrail::CfnEventDataStore::ContextKeySelectorProperty
- Defined in:
- cloud_trail/cfn_event_data_store.rb
Overview
An object that contains information types to be included in CloudTrail enriched events.
Instance Attribute Summary collapse
-
#equal_to ⇒ Array<String>
readonly
A list of keys defined by Type to be included in CloudTrail enriched events.
-
#type ⇒ String
readonly
Specifies the type of the event record field in ContextKeySelector.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(equal_to:, type:) ⇒ ContextKeySelectorProperty
constructor
A new instance of ContextKeySelectorProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(equal_to:, type:) ⇒ ContextKeySelectorProperty
Returns a new instance of ContextKeySelectorProperty.
967 968 969 970 971 972 |
# File 'cloud_trail/cfn_event_data_store.rb', line 967 def initialize(equal_to:, type:) @equal_to = equal_to Jsii::Type.check_type(@equal_to, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "equalTo") @type = type Jsii::Type.check_type(@type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "type") end |
Instance Attribute Details
#equal_to ⇒ Array<String> (readonly)
A list of keys defined by Type to be included in CloudTrail enriched events.
978 979 980 |
# File 'cloud_trail/cfn_event_data_store.rb', line 978 def equal_to @equal_to end |
#type ⇒ String (readonly)
Specifies the type of the event record field in ContextKeySelector.
Valid values include RequestContext, TagContext.
985 986 987 |
# File 'cloud_trail/cfn_event_data_store.rb', line 985 def type @type end |
Class Method Details
.jsii_properties ⇒ Object
987 988 989 990 991 992 |
# File 'cloud_trail/cfn_event_data_store.rb', line 987 def self.jsii_properties { :equal_to => "equalTo", :type => "type", } end |
Instance Method Details
#to_jsii ⇒ Object
994 995 996 997 998 999 1000 1001 |
# File 'cloud_trail/cfn_event_data_store.rb', line 994 def to_jsii result = {} result.merge!({ "equalTo" => @equal_to, "type" => @type, }) result.compact end |