Class: AWSCDK::RTBFabric::CfnOutboundExternalLinkProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::RTBFabric::CfnOutboundExternalLinkProps
- Defined in:
- rtb_fabric/cfn_outbound_external_link_props.rb
Overview
Properties for defining a CfnOutboundExternalLink.
Instance Attribute Summary collapse
- #gateway_id ⇒ String readonly
- #link_attributes ⇒ AWSCDK::IResolvable, ... readonly
- #link_log_settings ⇒ AWSCDK::IResolvable, AWSCDK::RTBFabric::CfnOutboundExternalLink::LinkLogSettingsProperty readonly
- #public_endpoint ⇒ String 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:, public_endpoint:, link_attributes: nil, tags: nil) ⇒ CfnOutboundExternalLinkProps
constructor
A new instance of CfnOutboundExternalLinkProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(gateway_id:, link_log_settings:, public_endpoint:, link_attributes: nil, tags: nil) ⇒ CfnOutboundExternalLinkProps
Returns a new instance of CfnOutboundExternalLinkProps.
14 15 16 17 18 19 20 21 22 23 24 25 |
# File 'rtb_fabric/cfn_outbound_external_link_props.rb', line 14 def initialize(gateway_id:, link_log_settings:, public_endpoint:, 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::CfnOutboundExternalLink::LinkLogSettingsProperty.new(**link_log_settings.transform_keys(&:to_sym)) : link_log_settings Jsii::Type.check_type(@link_log_settings, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19ydGJmYWJyaWMuQ2ZuT3V0Ym91bmRFeHRlcm5hbExpbmsuTGlua0xvZ1NldHRpbmdzUHJvcGVydHkifV19fQ==")), "linkLogSettings") @public_endpoint = public_endpoint Jsii::Type.check_type(@public_endpoint, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "publicEndpoint") @link_attributes = link_attributes.is_a?(Hash) ? ::AWSCDK::RTBFabric::CfnOutboundExternalLink::LinkAttributesProperty.new(**link_attributes.transform_keys(&:to_sym)) : link_attributes Jsii::Type.check_type(@link_attributes, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19ydGJmYWJyaWMuQ2ZuT3V0Ym91bmRFeHRlcm5hbExpbmsuTGlua0F0dHJpYnV0ZXNQcm9wZXJ0eSJ9XX19")), "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)
29 30 31 |
# File 'rtb_fabric/cfn_outbound_external_link_props.rb', line 29 def gateway_id @gateway_id end |
#link_attributes ⇒ AWSCDK::IResolvable, ... (readonly)
38 39 40 |
# File 'rtb_fabric/cfn_outbound_external_link_props.rb', line 38 def link_attributes @link_attributes end |
#link_log_settings ⇒ AWSCDK::IResolvable, AWSCDK::RTBFabric::CfnOutboundExternalLink::LinkLogSettingsProperty (readonly)
32 33 34 |
# File 'rtb_fabric/cfn_outbound_external_link_props.rb', line 32 def link_log_settings @link_log_settings end |
#public_endpoint ⇒ String (readonly)
35 36 37 |
# File 'rtb_fabric/cfn_outbound_external_link_props.rb', line 35 def public_endpoint @public_endpoint end |
#tags ⇒ Array<AWSCDK::CfnTag>? (readonly)
Tags to assign to the Link.
43 44 45 |
# File 'rtb_fabric/cfn_outbound_external_link_props.rb', line 43 def @tags end |
Class Method Details
.jsii_properties ⇒ Object
45 46 47 48 49 50 51 52 53 |
# File 'rtb_fabric/cfn_outbound_external_link_props.rb', line 45 def self.jsii_properties { :gateway_id => "gatewayId", :link_log_settings => "linkLogSettings", :public_endpoint => "publicEndpoint", :link_attributes => "linkAttributes", :tags => "tags", } end |
Instance Method Details
#to_jsii ⇒ Object
55 56 57 58 59 60 61 62 63 64 65 |
# File 'rtb_fabric/cfn_outbound_external_link_props.rb', line 55 def to_jsii result = {} result.merge!({ "gatewayId" => @gateway_id, "linkLogSettings" => @link_log_settings, "publicEndpoint" => @public_endpoint, "linkAttributes" => @link_attributes, "tags" => @tags, }) result.compact end |