Class: AWSCDK::Logs::CfnTransformer::LowerCaseStringProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
logs/cfn_transformer.rb

Overview

This processor converts a string to lowercase.

For more information about this processor including examples, see lowerCaseString in the CloudWatch Logs User Guide .

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(with_keys:) ⇒ LowerCaseStringProperty

Returns a new instance of LowerCaseStringProperty.

Parameters:

  • with_keys (Array<String>)

    The array caontaining the keys of the fields to convert to lowercase.



1056
1057
1058
1059
# File 'logs/cfn_transformer.rb', line 1056

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_keysArray<String> (readonly)

The array caontaining the keys of the fields to convert to lowercase.



1065
1066
1067
# File 'logs/cfn_transformer.rb', line 1065

def with_keys
  @with_keys
end

Class Method Details

.jsii_propertiesObject



1067
1068
1069
1070
1071
# File 'logs/cfn_transformer.rb', line 1067

def self.jsii_properties
  {
    :with_keys => "withKeys",
  }
end

Instance Method Details

#to_jsiiObject



1073
1074
1075
1076
1077
1078
1079
# File 'logs/cfn_transformer.rb', line 1073

def to_jsii
  result = {}
  result.merge!({
    "withKeys" => @with_keys,
  })
  result.compact
end