Class: AWSCDK::RTBFabric::CfnLinkProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::RTBFabric::CfnLinkProps
- Defined in:
- rtb_fabric/cfn_link_props.rb
Overview
Properties for defining a CfnLink.
Instance Attribute Summary collapse
-
#gateway_id ⇒ String
readonly
The unique identifier of the gateway.
-
#http_responder_allowed ⇒ Boolean, ...
readonly
Boolean to specify if an HTTP responder is allowed.
-
#link_attributes ⇒ AWSCDK::IResolvable, ...
readonly
Attributes of the link.
-
#link_log_settings ⇒ AWSCDK::IResolvable, AWSCDK::RTBFabric::CfnLink::LinkLogSettingsProperty
readonly
Settings for the application logs.
- #module_configuration_list ⇒ AWSCDK::IResolvable, ... readonly
-
#peer_gateway_id ⇒ String
readonly
The unique identifier of the peer gateway.
-
#tags ⇒ Array<AWSCDK::CfnTag>?
readonly
A map of the key-value pairs of the tag or tags to assign to the resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(gateway_id:, link_log_settings:, peer_gateway_id:, http_responder_allowed: nil, link_attributes: nil, module_configuration_list: nil, tags: nil) ⇒ CfnLinkProps
constructor
A new instance of CfnLinkProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(gateway_id:, link_log_settings:, peer_gateway_id:, http_responder_allowed: nil, link_attributes: nil, module_configuration_list: nil, tags: nil) ⇒ CfnLinkProps
Returns a new instance of CfnLinkProps.
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
# File 'rtb_fabric/cfn_link_props.rb', line 16 def initialize(gateway_id:, link_log_settings:, peer_gateway_id:, http_responder_allowed: nil, link_attributes: nil, module_configuration_list: 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::CfnLink::LinkLogSettingsProperty.new(**link_log_settings.transform_keys(&:to_sym)) : link_log_settings Jsii::Type.check_type(@link_log_settings, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19ydGJmYWJyaWMuQ2ZuTGluay5MaW5rTG9nU2V0dGluZ3NQcm9wZXJ0eSJ9XX19")), "linkLogSettings") @peer_gateway_id = peer_gateway_id Jsii::Type.check_type(@peer_gateway_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "peerGatewayId") @http_responder_allowed = http_responder_allowed Jsii::Type.check_type(@http_responder_allowed, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "httpResponderAllowed") unless @http_responder_allowed.nil? @link_attributes = link_attributes.is_a?(Hash) ? ::AWSCDK::RTBFabric::CfnLink::LinkAttributesProperty.new(**link_attributes.transform_keys(&:to_sym)) : link_attributes Jsii::Type.check_type(@link_attributes, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19ydGJmYWJyaWMuQ2ZuTGluay5MaW5rQXR0cmlidXRlc1Byb3BlcnR5In1dfX0=")), "linkAttributes") unless @link_attributes.nil? @module_configuration_list = module_configuration_list Jsii::Type.check_type(@module_configuration_list, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfcnRiZmFicmljLkNmbkxpbmsuTW9kdWxlQ29uZmlndXJhdGlvblByb3BlcnR5In1dfX0sImtpbmQiOiJhcnJheSJ9fV19fQ==")), "moduleConfigurationList") unless @module_configuration_list.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)
The unique identifier of the gateway.
37 38 39 |
# File 'rtb_fabric/cfn_link_props.rb', line 37 def gateway_id @gateway_id end |
#http_responder_allowed ⇒ Boolean, ... (readonly)
Boolean to specify if an HTTP responder is allowed.
52 53 54 |
# File 'rtb_fabric/cfn_link_props.rb', line 52 def http_responder_allowed @http_responder_allowed end |
#link_attributes ⇒ AWSCDK::IResolvable, ... (readonly)
Attributes of the link.
57 58 59 |
# File 'rtb_fabric/cfn_link_props.rb', line 57 def link_attributes @link_attributes end |
#link_log_settings ⇒ AWSCDK::IResolvable, AWSCDK::RTBFabric::CfnLink::LinkLogSettingsProperty (readonly)
Settings for the application logs.
42 43 44 |
# File 'rtb_fabric/cfn_link_props.rb', line 42 def link_log_settings @link_log_settings end |
#module_configuration_list ⇒ AWSCDK::IResolvable, ... (readonly)
60 61 62 |
# File 'rtb_fabric/cfn_link_props.rb', line 60 def module_configuration_list @module_configuration_list end |
#peer_gateway_id ⇒ String (readonly)
The unique identifier of the peer gateway.
47 48 49 |
# File 'rtb_fabric/cfn_link_props.rb', line 47 def peer_gateway_id @peer_gateway_id end |
#tags ⇒ Array<AWSCDK::CfnTag>? (readonly)
A map of the key-value pairs of the tag or tags to assign to the resource.
65 66 67 |
# File 'rtb_fabric/cfn_link_props.rb', line 65 def @tags end |
Class Method Details
.jsii_properties ⇒ Object
67 68 69 70 71 72 73 74 75 76 77 |
# File 'rtb_fabric/cfn_link_props.rb', line 67 def self.jsii_properties { :gateway_id => "gatewayId", :link_log_settings => "linkLogSettings", :peer_gateway_id => "peerGatewayId", :http_responder_allowed => "httpResponderAllowed", :link_attributes => "linkAttributes", :module_configuration_list => "moduleConfigurationList", :tags => "tags", } end |
Instance Method Details
#to_jsii ⇒ Object
79 80 81 82 83 84 85 86 87 88 89 90 91 |
# File 'rtb_fabric/cfn_link_props.rb', line 79 def to_jsii result = {} result.merge!({ "gatewayId" => @gateway_id, "linkLogSettings" => @link_log_settings, "peerGatewayId" => @peer_gateway_id, "httpResponderAllowed" => @http_responder_allowed, "linkAttributes" => @link_attributes, "moduleConfigurationList" => @module_configuration_list, "tags" => @tags, }) result.compact end |