Class: AWSCDK::NetworkManager::CfnTransitGatewayRouteTableAttachmentProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::NetworkManager::CfnTransitGatewayRouteTableAttachmentProps
- Defined in:
- network_manager/cfn_transit_gateway_route_table_attachment_props.rb
Overview
Properties for defining a CfnTransitGatewayRouteTableAttachment.
Instance Attribute Summary collapse
-
#network_function_group_name ⇒ String?
readonly
The name of the network function group.
-
#peering_id ⇒ String
readonly
The ID of the transit gateway peering.
-
#proposed_network_function_group_change ⇒ AWSCDK::IResolvable, ...
readonly
Describes proposed changes to a network function group.
-
#proposed_segment_change ⇒ AWSCDK::IResolvable, ...
readonly
This property is read-only.
-
#routing_policy_label ⇒ String?
readonly
Routing policy label.
-
#tags ⇒ Array<AWSCDK::CfnTag>?
readonly
The list of key-value pairs associated with the transit gateway route table attachment.
-
#transit_gateway_route_table_arn ⇒ String
readonly
The ARN of the transit gateway attachment route table.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(peering_id:, transit_gateway_route_table_arn:, network_function_group_name: nil, proposed_network_function_group_change: nil, proposed_segment_change: nil, routing_policy_label: nil, tags: nil) ⇒ CfnTransitGatewayRouteTableAttachmentProps
constructor
A new instance of CfnTransitGatewayRouteTableAttachmentProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(peering_id:, transit_gateway_route_table_arn:, network_function_group_name: nil, proposed_network_function_group_change: nil, proposed_segment_change: nil, routing_policy_label: nil, tags: nil) ⇒ CfnTransitGatewayRouteTableAttachmentProps
Returns a new instance of CfnTransitGatewayRouteTableAttachmentProps.
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
# File 'network_manager/cfn_transit_gateway_route_table_attachment_props.rb', line 16 def initialize(peering_id:, transit_gateway_route_table_arn:, network_function_group_name: nil, proposed_network_function_group_change: nil, proposed_segment_change: nil, routing_policy_label: nil, tags: nil) @peering_id = peering_id Jsii::Type.check_type(@peering_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "peeringId") @transit_gateway_route_table_arn = transit_gateway_route_table_arn Jsii::Type.check_type(@transit_gateway_route_table_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "transitGatewayRouteTableArn") @network_function_group_name = network_function_group_name Jsii::Type.check_type(@network_function_group_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "networkFunctionGroupName") unless @network_function_group_name.nil? @proposed_network_function_group_change = proposed_network_function_group_change.is_a?(Hash) ? ::AWSCDK::NetworkManager::CfnTransitGatewayRouteTableAttachment::ProposedNetworkFunctionGroupChangeProperty.new(**proposed_network_function_group_change.transform_keys(&:to_sym)) : proposed_network_function_group_change Jsii::Type.check_type(@proposed_network_function_group_change, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19uZXR3b3JrbWFuYWdlci5DZm5UcmFuc2l0R2F0ZXdheVJvdXRlVGFibGVBdHRhY2htZW50LlByb3Bvc2VkTmV0d29ya0Z1bmN0aW9uR3JvdXBDaGFuZ2VQcm9wZXJ0eSJ9XX19")), "proposedNetworkFunctionGroupChange") unless @proposed_network_function_group_change.nil? @proposed_segment_change = proposed_segment_change.is_a?(Hash) ? ::AWSCDK::NetworkManager::CfnTransitGatewayRouteTableAttachment::ProposedSegmentChangeProperty.new(**proposed_segment_change.transform_keys(&:to_sym)) : proposed_segment_change Jsii::Type.check_type(@proposed_segment_change, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19uZXR3b3JrbWFuYWdlci5DZm5UcmFuc2l0R2F0ZXdheVJvdXRlVGFibGVBdHRhY2htZW50LlByb3Bvc2VkU2VnbWVudENoYW5nZVByb3BlcnR5In1dfX0=")), "proposedSegmentChange") unless @proposed_segment_change.nil? @routing_policy_label = routing_policy_label Jsii::Type.check_type(@routing_policy_label, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "routingPolicyLabel") unless @routing_policy_label.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
#network_function_group_name ⇒ String? (readonly)
The name of the network function group.
49 50 51 |
# File 'network_manager/cfn_transit_gateway_route_table_attachment_props.rb', line 49 def network_function_group_name @network_function_group_name end |
#peering_id ⇒ String (readonly)
The ID of the transit gateway peering.
37 38 39 |
# File 'network_manager/cfn_transit_gateway_route_table_attachment_props.rb', line 37 def peering_id @peering_id end |
#proposed_network_function_group_change ⇒ AWSCDK::IResolvable, ... (readonly)
Describes proposed changes to a network function group.
54 55 56 |
# File 'network_manager/cfn_transit_gateway_route_table_attachment_props.rb', line 54 def proposed_network_function_group_change @proposed_network_function_group_change end |
#proposed_segment_change ⇒ AWSCDK::IResolvable, ... (readonly)
This property is read-only.
Values can't be assigned to it.
61 62 63 |
# File 'network_manager/cfn_transit_gateway_route_table_attachment_props.rb', line 61 def proposed_segment_change @proposed_segment_change end |
#routing_policy_label ⇒ String? (readonly)
Routing policy label.
66 67 68 |
# File 'network_manager/cfn_transit_gateway_route_table_attachment_props.rb', line 66 def routing_policy_label @routing_policy_label end |
#tags ⇒ Array<AWSCDK::CfnTag>? (readonly)
The list of key-value pairs associated with the transit gateway route table attachment.
71 72 73 |
# File 'network_manager/cfn_transit_gateway_route_table_attachment_props.rb', line 71 def @tags end |
#transit_gateway_route_table_arn ⇒ String (readonly)
The ARN of the transit gateway attachment route table.
For example, "TransitGatewayRouteTableArn": "arn:aws:ec2:us-west-2:123456789012:transit-gateway-route-table/tgw-rtb-9876543210123456" .
44 45 46 |
# File 'network_manager/cfn_transit_gateway_route_table_attachment_props.rb', line 44 def transit_gateway_route_table_arn @transit_gateway_route_table_arn end |
Class Method Details
.jsii_properties ⇒ Object
73 74 75 76 77 78 79 80 81 82 83 |
# File 'network_manager/cfn_transit_gateway_route_table_attachment_props.rb', line 73 def self.jsii_properties { :peering_id => "peeringId", :transit_gateway_route_table_arn => "transitGatewayRouteTableArn", :network_function_group_name => "networkFunctionGroupName", :proposed_network_function_group_change => "proposedNetworkFunctionGroupChange", :proposed_segment_change => "proposedSegmentChange", :routing_policy_label => "routingPolicyLabel", :tags => "tags", } end |
Instance Method Details
#to_jsii ⇒ Object
85 86 87 88 89 90 91 92 93 94 95 96 97 |
# File 'network_manager/cfn_transit_gateway_route_table_attachment_props.rb', line 85 def to_jsii result = {} result.merge!({ "peeringId" => @peering_id, "transitGatewayRouteTableArn" => @transit_gateway_route_table_arn, "networkFunctionGroupName" => @network_function_group_name, "proposedNetworkFunctionGroupChange" => @proposed_network_function_group_change, "proposedSegmentChange" => @proposed_segment_change, "routingPolicyLabel" => @routing_policy_label, "tags" => @tags, }) result.compact end |