Class: AWSCDK::B2BI::CfnTransformer::AdvancedOptionsProperty

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

Overview

A structure that contains advanced options for EDI processing.

Currently, only X12 advanced options are supported.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(x12: nil) ⇒ AdvancedOptionsProperty

Returns a new instance of AdvancedOptionsProperty.

Parameters:



689
690
691
692
# File 'b2_bi/cfn_transformer.rb', line 689

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

Instance Attribute Details

#x12AWSCDK::IResolvable, ... (readonly)

A structure that contains X12-specific advanced options, such as split options for processing X12 EDI files.



698
699
700
# File 'b2_bi/cfn_transformer.rb', line 698

def x12
  @x12
end

Class Method Details

.jsii_propertiesObject



700
701
702
703
704
# File 'b2_bi/cfn_transformer.rb', line 700

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

Instance Method Details

#to_jsiiObject



706
707
708
709
710
711
712
# File 'b2_bi/cfn_transformer.rb', line 706

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