Class: AWSCDK::B2BI::CfnCapability::EdiConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::B2BI::CfnCapability::EdiConfigurationProperty
- Defined in:
- b2_bi/cfn_capability.rb
Overview
Specifies the details for the EDI (electronic data interchange) transformation.
Instance Attribute Summary collapse
-
#capability_direction ⇒ String?
readonly
Specifies whether this is capability is for inbound or outbound transformations.
-
#input_location ⇒ AWSCDK::IResolvable, AWSCDK::B2BI::CfnCapability::S3LocationProperty
readonly
Contains the Amazon S3 bucket and prefix for the location of the input file, which is contained in an
S3Locationobject. -
#output_location ⇒ AWSCDK::IResolvable, AWSCDK::B2BI::CfnCapability::S3LocationProperty
readonly
Contains the Amazon S3 bucket and prefix for the location of the output file, which is contained in an
S3Locationobject. -
#transformer_id ⇒ String
readonly
Returns the system-assigned unique identifier for the transformer.
-
#type ⇒ AWSCDK::IResolvable, AWSCDK::B2BI::CfnCapability::EdiTypeProperty
readonly
Returns the type of the capability.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(input_location:, output_location:, transformer_id:, type:, capability_direction: nil) ⇒ EdiConfigurationProperty
constructor
A new instance of EdiConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(input_location:, output_location:, transformer_id:, type:, capability_direction: nil) ⇒ EdiConfigurationProperty
Returns a new instance of EdiConfigurationProperty.
635 636 637 638 639 640 641 642 643 644 645 646 |
# File 'b2_bi/cfn_capability.rb', line 635 def initialize(input_location:, output_location:, transformer_id:, type:, capability_direction: nil) @input_location = input_location.is_a?(Hash) ? ::AWSCDK::B2BI::CfnCapability::S3LocationProperty.new(**input_location.transform_keys(&:to_sym)) : input_location Jsii::Type.check_type(@input_location, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19iMmJpLkNmbkNhcGFiaWxpdHkuUzNMb2NhdGlvblByb3BlcnR5In1dfX0=")), "inputLocation") @output_location = output_location.is_a?(Hash) ? ::AWSCDK::B2BI::CfnCapability::S3LocationProperty.new(**output_location.transform_keys(&:to_sym)) : output_location Jsii::Type.check_type(@output_location, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19iMmJpLkNmbkNhcGFiaWxpdHkuUzNMb2NhdGlvblByb3BlcnR5In1dfX0=")), "outputLocation") @transformer_id = transformer_id Jsii::Type.check_type(@transformer_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "transformerId") @type = type.is_a?(Hash) ? ::AWSCDK::B2BI::CfnCapability::EdiTypeProperty.new(**type.transform_keys(&:to_sym)) : type Jsii::Type.check_type(@type, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19iMmJpLkNmbkNhcGFiaWxpdHkuRWRpVHlwZVByb3BlcnR5In1dfX0=")), "type") @capability_direction = capability_direction Jsii::Type.check_type(@capability_direction, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "capabilityDirection") unless @capability_direction.nil? end |
Instance Attribute Details
#capability_direction ⇒ String? (readonly)
Specifies whether this is capability is for inbound or outbound transformations.
674 675 676 |
# File 'b2_bi/cfn_capability.rb', line 674 def capability_direction @capability_direction end |
#input_location ⇒ AWSCDK::IResolvable, AWSCDK::B2BI::CfnCapability::S3LocationProperty (readonly)
Contains the Amazon S3 bucket and prefix for the location of the input file, which is contained in an S3Location object.
652 653 654 |
# File 'b2_bi/cfn_capability.rb', line 652 def input_location @input_location end |
#output_location ⇒ AWSCDK::IResolvable, AWSCDK::B2BI::CfnCapability::S3LocationProperty (readonly)
Contains the Amazon S3 bucket and prefix for the location of the output file, which is contained in an S3Location object.
657 658 659 |
# File 'b2_bi/cfn_capability.rb', line 657 def output_location @output_location end |
#transformer_id ⇒ String (readonly)
Returns the system-assigned unique identifier for the transformer.
662 663 664 |
# File 'b2_bi/cfn_capability.rb', line 662 def transformer_id @transformer_id end |
#type ⇒ AWSCDK::IResolvable, AWSCDK::B2BI::CfnCapability::EdiTypeProperty (readonly)
Returns the type of the capability.
Currently, only edi is supported.
669 670 671 |
# File 'b2_bi/cfn_capability.rb', line 669 def type @type end |
Class Method Details
.jsii_properties ⇒ Object
676 677 678 679 680 681 682 683 684 |
# File 'b2_bi/cfn_capability.rb', line 676 def self.jsii_properties { :input_location => "inputLocation", :output_location => "outputLocation", :transformer_id => "transformerId", :type => "type", :capability_direction => "capabilityDirection", } end |
Instance Method Details
#to_jsii ⇒ Object
686 687 688 689 690 691 692 693 694 695 696 |
# File 'b2_bi/cfn_capability.rb', line 686 def to_jsii result = {} result.merge!({ "inputLocation" => @input_location, "outputLocation" => @output_location, "transformerId" => @transformer_id, "type" => @type, "capabilityDirection" => @capability_direction, }) result.compact end |