Class: AWSCDK::B2BI::CfnTransformer::FormatOptionsProperty

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

Overview

A structure that contains the X12 transaction set and version.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(x12:) ⇒ FormatOptionsProperty

Returns a new instance of FormatOptionsProperty.



751
752
753
754
# File 'b2_bi/cfn_transformer.rb', line 751

def initialize(x12:)
  @x12 = x12.is_a?(Hash) ? ::AWSCDK::B2BI::CfnTransformer::X12DetailsProperty.new(**x12.transform_keys(&:to_sym)) : x12
  Jsii::Type.check_type(@x12, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19iMmJpLkNmblRyYW5zZm9ybWVyLlgxMkRldGFpbHNQcm9wZXJ0eSJ9XX19")), "x12")
end

Class Method Details

.jsii_propertiesObject



760
761
762
763
764
# File 'b2_bi/cfn_transformer.rb', line 760

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

Instance Method Details

#to_jsiiObject



766
767
768
769
770
771
772
# File 'b2_bi/cfn_transformer.rb', line 766

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