Class: AWSCDK::DataPipeline::CfnPipeline::ParameterAttributeProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
data_pipeline/cfn_pipeline.rb

Overview

Attribute is a property of ParameterObject that defines the attributes of a parameter object as key-value pairs.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(key:, string_value:) ⇒ ParameterAttributeProperty

Returns a new instance of ParameterAttributeProperty.

Parameters:

  • key (String)

    The field identifier.

  • string_value (String)

    The field value, expressed as a String.



697
698
699
700
701
702
# File 'data_pipeline/cfn_pipeline.rb', line 697

def initialize(key:, string_value:)
  @key = key
  Jsii::Type.check_type(@key, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "key")
  @string_value = string_value
  Jsii::Type.check_type(@string_value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "stringValue")
end

Instance Attribute Details

#keyString (readonly)

The field identifier.



708
709
710
# File 'data_pipeline/cfn_pipeline.rb', line 708

def key
  @key
end

#string_valueString (readonly)

The field value, expressed as a String.



713
714
715
# File 'data_pipeline/cfn_pipeline.rb', line 713

def string_value
  @string_value
end

Class Method Details

.jsii_propertiesObject



715
716
717
718
719
720
# File 'data_pipeline/cfn_pipeline.rb', line 715

def self.jsii_properties
  {
    :key => "key",
    :string_value => "stringValue",
  }
end

Instance Method Details

#to_jsiiObject



722
723
724
725
726
727
728
729
# File 'data_pipeline/cfn_pipeline.rb', line 722

def to_jsii
  result = {}
  result.merge!({
    "key" => @key,
    "stringValue" => @string_value,
  })
  result.compact
end