Class: AWSCDK::RTBFabric::CfnInboundExternalLinkProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::RTBFabric::CfnInboundExternalLinkProps
- Defined in:
- rtb_fabric/cfn_inbound_external_link_props.rb
Overview
Properties for defining a CfnInboundExternalLink.
Instance Attribute Summary collapse
- #gateway_id ⇒ String readonly
- #link_attributes ⇒ AWSCDK::IResolvable, ... readonly
- #link_log_settings ⇒ AWSCDK::IResolvable, AWSCDK::RTBFabric::CfnInboundExternalLink::LinkLogSettingsProperty readonly
-
#tags ⇒ Array<AWSCDK::CfnTag>?
readonly
Tags to assign to the Link.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(gateway_id:, link_log_settings:, link_attributes: nil, tags: nil) ⇒ CfnInboundExternalLinkProps
constructor
A new instance of CfnInboundExternalLinkProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(gateway_id:, link_log_settings:, link_attributes: nil, tags: nil) ⇒ CfnInboundExternalLinkProps
Returns a new instance of CfnInboundExternalLinkProps.
13 14 15 16 17 18 19 20 21 22 |
# File 'rtb_fabric/cfn_inbound_external_link_props.rb', line 13 def initialize(gateway_id:, link_log_settings:, link_attributes: nil, tags: nil) @gateway_id = gateway_id Jsii::Type.check_type(@gateway_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "gatewayId") @link_log_settings = link_log_settings.is_a?(Hash) ? ::AWSCDK::RTBFabric::CfnInboundExternalLink::LinkLogSettingsProperty.new(**link_log_settings.transform_keys(&:to_sym)) : link_log_settings Jsii::Type.check_type(@link_log_settings, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19ydGJmYWJyaWMuQ2ZuSW5ib3VuZEV4dGVybmFsTGluay5MaW5rTG9nU2V0dGluZ3NQcm9wZXJ0eSJ9XX19")), "linkLogSettings") @link_attributes = link_attributes.is_a?(Hash) ? ::AWSCDK::RTBFabric::CfnInboundExternalLink::LinkAttributesProperty.new(**link_attributes.transform_keys(&:to_sym)) : link_attributes Jsii::Type.check_type(@link_attributes, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19ydGJmYWJyaWMuQ2ZuSW5ib3VuZEV4dGVybmFsTGluay5MaW5rQXR0cmlidXRlc1Byb3BlcnR5In1dfX0=")), "linkAttributes") unless @link_attributes.nil? @tags = .is_a?(Array) ? .map { |jsii_v0| jsii_v0.is_a?(Hash) ? ::AWSCDK::CfnTag.new(**jsii_v0.transform_keys(&:to_sym)) : jsii_v0 } : Jsii::Type.check_type(@tags, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7ImZxbiI6ImF3cy1jZGstbGliLkNmblRhZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "tags") unless @tags.nil? end |
Instance Attribute Details
#gateway_id ⇒ String (readonly)
26 27 28 |
# File 'rtb_fabric/cfn_inbound_external_link_props.rb', line 26 def gateway_id @gateway_id end |
#link_attributes ⇒ AWSCDK::IResolvable, ... (readonly)
32 33 34 |
# File 'rtb_fabric/cfn_inbound_external_link_props.rb', line 32 def link_attributes @link_attributes end |
#link_log_settings ⇒ AWSCDK::IResolvable, AWSCDK::RTBFabric::CfnInboundExternalLink::LinkLogSettingsProperty (readonly)
29 30 31 |
# File 'rtb_fabric/cfn_inbound_external_link_props.rb', line 29 def link_log_settings @link_log_settings end |
#tags ⇒ Array<AWSCDK::CfnTag>? (readonly)
Tags to assign to the Link.
37 38 39 |
# File 'rtb_fabric/cfn_inbound_external_link_props.rb', line 37 def @tags end |
Class Method Details
.jsii_properties ⇒ Object
39 40 41 42 43 44 45 46 |
# File 'rtb_fabric/cfn_inbound_external_link_props.rb', line 39 def self.jsii_properties { :gateway_id => "gatewayId", :link_log_settings => "linkLogSettings", :link_attributes => "linkAttributes", :tags => "tags", } end |
Instance Method Details
#to_jsii ⇒ Object
48 49 50 51 52 53 54 55 56 57 |
# File 'rtb_fabric/cfn_inbound_external_link_props.rb', line 48 def to_jsii result = {} result.merge!({ "gatewayId" => @gateway_id, "linkLogSettings" => @link_log_settings, "linkAttributes" => @link_attributes, "tags" => @tags, }) result.compact end |