Class: AWSCDK::Logs::CfnTransformer::MoveKeysProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Logs::CfnTransformer::MoveKeysProperty
- Defined in:
- logs/cfn_transformer.rb
Overview
This processor moves a key from one field to another. The original key is deleted.
For more information about this processor including examples, see moveKeys in the CloudWatch Logs User Guide .
Instance Attribute Summary collapse
-
#entries ⇒ AWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::Logs::CfnTransformer::MoveKeyEntryProperty>
readonly
An array of objects, where each object contains the information about one key to move.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(entries:) ⇒ MoveKeysProperty
constructor
A new instance of MoveKeysProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(entries:) ⇒ MoveKeysProperty
Returns a new instance of MoveKeysProperty.
1146 1147 1148 1149 |
# File 'logs/cfn_transformer.rb', line 1146 def initialize(entries:) @entries = entries Jsii::Type.check_type(@entries, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfbG9ncy5DZm5UcmFuc2Zvcm1lci5Nb3ZlS2V5RW50cnlQcm9wZXJ0eSJ9XX19LCJraW5kIjoiYXJyYXkifX1dfX0=")), "entries") end |
Instance Attribute Details
#entries ⇒ AWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::Logs::CfnTransformer::MoveKeyEntryProperty> (readonly)
An array of objects, where each object contains the information about one key to move.
1155 1156 1157 |
# File 'logs/cfn_transformer.rb', line 1155 def entries @entries end |
Class Method Details
.jsii_properties ⇒ Object
1157 1158 1159 1160 1161 |
# File 'logs/cfn_transformer.rb', line 1157 def self.jsii_properties { :entries => "entries", } end |
Instance Method Details
#to_jsii ⇒ Object
1163 1164 1165 1166 1167 1168 1169 |
# File 'logs/cfn_transformer.rb', line 1163 def to_jsii result = {} result.merge!({ "entries" => @entries, }) result.compact end |