Class: AWSCDK::Logs::CfnTransformer::UpperCaseStringProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Logs::CfnTransformer::UpperCaseStringProperty
- Defined in:
- logs/cfn_transformer.rb
Overview
This processor converts a string field to uppercase.
For more information about this processor including examples, see upperCaseString in the CloudWatch Logs User Guide .
Instance Attribute Summary collapse
-
#with_keys ⇒ Array<String>
readonly
The array of containing the keys of the field to convert to uppercase.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(with_keys:) ⇒ UpperCaseStringProperty
constructor
A new instance of UpperCaseStringProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(with_keys:) ⇒ UpperCaseStringProperty
Returns a new instance of UpperCaseStringProperty.
2245 2246 2247 2248 |
# File 'logs/cfn_transformer.rb', line 2245 def initialize(with_keys:) @with_keys = with_keys Jsii::Type.check_type(@with_keys, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "withKeys") end |
Instance Attribute Details
#with_keys ⇒ Array<String> (readonly)
The array of containing the keys of the field to convert to uppercase.
2254 2255 2256 |
# File 'logs/cfn_transformer.rb', line 2254 def with_keys @with_keys end |
Class Method Details
.jsii_properties ⇒ Object
2256 2257 2258 2259 2260 |
# File 'logs/cfn_transformer.rb', line 2256 def self.jsii_properties { :with_keys => "withKeys", } end |
Instance Method Details
#to_jsii ⇒ Object
2262 2263 2264 2265 2266 2267 2268 |
# File 'logs/cfn_transformer.rb', line 2262 def to_jsii result = {} result.merge!({ "withKeys" => @with_keys, }) result.compact end |