Class: AWSCDK::B2BI::CfnPartnership::CapabilityOptionsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::B2BI::CfnPartnership::CapabilityOptionsProperty
- Defined in:
- b2_bi/cfn_partnership.rb
Overview
Contains the details for an Outbound EDI capability.
Instance Attribute Summary collapse
-
#inbound_edi ⇒ AWSCDK::IResolvable, ...
readonly
A structure that contains the inbound EDI options for the capability.
-
#outbound_edi ⇒ AWSCDK::IResolvable, ...
readonly
A structure that contains the outbound EDI options.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(inbound_edi: nil, outbound_edi: nil) ⇒ CapabilityOptionsProperty
constructor
A new instance of CapabilityOptionsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(inbound_edi: nil, outbound_edi: nil) ⇒ CapabilityOptionsProperty
Returns a new instance of CapabilityOptionsProperty.
631 632 633 634 635 636 |
# File 'b2_bi/cfn_partnership.rb', line 631 def initialize(inbound_edi: nil, outbound_edi: nil) @inbound_edi = inbound_edi.is_a?(Hash) ? ::AWSCDK::B2BI::CfnPartnership::InboundEdiOptionsProperty.new(**inbound_edi.transform_keys(&:to_sym)) : inbound_edi Jsii::Type.check_type(@inbound_edi, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19iMmJpLkNmblBhcnRuZXJzaGlwLkluYm91bmRFZGlPcHRpb25zUHJvcGVydHkifV19fQ==")), "inboundEdi") unless @inbound_edi.nil? @outbound_edi = outbound_edi.is_a?(Hash) ? ::AWSCDK::B2BI::CfnPartnership::OutboundEdiOptionsProperty.new(**outbound_edi.transform_keys(&:to_sym)) : outbound_edi Jsii::Type.check_type(@outbound_edi, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19iMmJpLkNmblBhcnRuZXJzaGlwLk91dGJvdW5kRWRpT3B0aW9uc1Byb3BlcnR5In1dfX0=")), "outboundEdi") unless @outbound_edi.nil? end |
Instance Attribute Details
#inbound_edi ⇒ AWSCDK::IResolvable, ... (readonly)
A structure that contains the inbound EDI options for the capability.
642 643 644 |
# File 'b2_bi/cfn_partnership.rb', line 642 def inbound_edi @inbound_edi end |
#outbound_edi ⇒ AWSCDK::IResolvable, ... (readonly)
A structure that contains the outbound EDI options.
647 648 649 |
# File 'b2_bi/cfn_partnership.rb', line 647 def outbound_edi @outbound_edi end |
Class Method Details
.jsii_properties ⇒ Object
649 650 651 652 653 654 |
# File 'b2_bi/cfn_partnership.rb', line 649 def self.jsii_properties { :inbound_edi => "inboundEdi", :outbound_edi => "outboundEdi", } end |
Instance Method Details
#to_jsii ⇒ Object
656 657 658 659 660 661 662 663 |
# File 'b2_bi/cfn_partnership.rb', line 656 def to_jsii result = {} result.merge!({ "inboundEdi" => @inbound_edi, "outboundEdi" => @outbound_edi, }) result.compact end |