Class: AWSCDK::NetworkManager::CfnConnectAttachmentProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::NetworkManager::CfnConnectAttachmentProps
- Defined in:
- network_manager/cfn_connect_attachment_props.rb
Overview
Properties for defining a CfnConnectAttachment.
Instance Attribute Summary collapse
-
#core_network_id ⇒ String
readonly
The ID of the core network where the Connect attachment is located.
-
#edge_location ⇒ String
readonly
The Region where the edge is located.
-
#network_function_group_name ⇒ String?
readonly
The name of the network function group.
-
#options ⇒ AWSCDK::IResolvable, AWSCDK::NetworkManager::CfnConnectAttachment::ConnectAttachmentOptionsProperty
readonly
Options for connecting an attachment.
-
#proposed_network_function_group_change ⇒ AWSCDK::IResolvable, ...
readonly
Describes proposed changes to a network function group.
-
#proposed_segment_change ⇒ AWSCDK::IResolvable, ...
readonly
Describes a proposed segment change.
-
#routing_policy_label ⇒ String?
readonly
Routing policy label.
-
#tags ⇒ Array<AWSCDK::CfnTag>?
readonly
The tags associated with the Connect attachment.
-
#transport_attachment_id ⇒ String
readonly
The ID of the transport attachment.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(core_network_id:, edge_location:, options:, transport_attachment_id:, network_function_group_name: nil, proposed_network_function_group_change: nil, proposed_segment_change: nil, routing_policy_label: nil, tags: nil) ⇒ CfnConnectAttachmentProps
constructor
A new instance of CfnConnectAttachmentProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(core_network_id:, edge_location:, options:, transport_attachment_id:, network_function_group_name: nil, proposed_network_function_group_change: nil, proposed_segment_change: nil, routing_policy_label: nil, tags: nil) ⇒ CfnConnectAttachmentProps
Returns a new instance of CfnConnectAttachmentProps.
18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 |
# File 'network_manager/cfn_connect_attachment_props.rb', line 18 def initialize(core_network_id:, edge_location:, options:, transport_attachment_id:, network_function_group_name: nil, proposed_network_function_group_change: nil, proposed_segment_change: nil, routing_policy_label: nil, tags: nil) @core_network_id = core_network_id Jsii::Type.check_type(@core_network_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "coreNetworkId") @edge_location = edge_location Jsii::Type.check_type(@edge_location, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "edgeLocation") @options = .is_a?(Hash) ? ::AWSCDK::NetworkManager::CfnConnectAttachment::ConnectAttachmentOptionsProperty.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(@options, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19uZXR3b3JrbWFuYWdlci5DZm5Db25uZWN0QXR0YWNobWVudC5Db25uZWN0QXR0YWNobWVudE9wdGlvbnNQcm9wZXJ0eSJ9XX19")), "options") @transport_attachment_id = Jsii::Type.check_type(@transport_attachment_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "transportAttachmentId") @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::CfnConnectAttachment::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("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19uZXR3b3JrbWFuYWdlci5DZm5Db25uZWN0QXR0YWNobWVudC5Qcm9wb3NlZE5ldHdvcmtGdW5jdGlvbkdyb3VwQ2hhbmdlUHJvcGVydHkifV19fQ==")), "proposedNetworkFunctionGroupChange") unless @proposed_network_function_group_change.nil? @proposed_segment_change = proposed_segment_change.is_a?(Hash) ? ::AWSCDK::NetworkManager::CfnConnectAttachment::ProposedSegmentChangeProperty.new(**proposed_segment_change.transform_keys(&:to_sym)) : proposed_segment_change Jsii::Type.check_type(@proposed_segment_change, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19uZXR3b3JrbWFuYWdlci5DZm5Db25uZWN0QXR0YWNobWVudC5Qcm9wb3NlZFNlZ21lbnRDaGFuZ2VQcm9wZXJ0eSJ9XX19")), "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
#core_network_id ⇒ String (readonly)
The ID of the core network where the Connect attachment is located.
43 44 45 |
# File 'network_manager/cfn_connect_attachment_props.rb', line 43 def core_network_id @core_network_id end |
#edge_location ⇒ String (readonly)
The Region where the edge is located.
48 49 50 |
# File 'network_manager/cfn_connect_attachment_props.rb', line 48 def edge_location @edge_location end |
#network_function_group_name ⇒ String? (readonly)
The name of the network function group.
63 64 65 |
# File 'network_manager/cfn_connect_attachment_props.rb', line 63 def network_function_group_name @network_function_group_name end |
#options ⇒ AWSCDK::IResolvable, AWSCDK::NetworkManager::CfnConnectAttachment::ConnectAttachmentOptionsProperty (readonly)
Options for connecting an attachment.
53 54 55 |
# File 'network_manager/cfn_connect_attachment_props.rb', line 53 def @options end |
#proposed_network_function_group_change ⇒ AWSCDK::IResolvable, ... (readonly)
Describes proposed changes to a network function group.
68 69 70 |
# File 'network_manager/cfn_connect_attachment_props.rb', line 68 def proposed_network_function_group_change @proposed_network_function_group_change end |
#proposed_segment_change ⇒ AWSCDK::IResolvable, ... (readonly)
Describes a proposed segment change.
In some cases, the segment change must first be evaluated and accepted.
75 76 77 |
# File 'network_manager/cfn_connect_attachment_props.rb', line 75 def proposed_segment_change @proposed_segment_change end |
#routing_policy_label ⇒ String? (readonly)
Routing policy label.
80 81 82 |
# File 'network_manager/cfn_connect_attachment_props.rb', line 80 def routing_policy_label @routing_policy_label end |
#tags ⇒ Array<AWSCDK::CfnTag>? (readonly)
The tags associated with the Connect attachment.
85 86 87 |
# File 'network_manager/cfn_connect_attachment_props.rb', line 85 def @tags end |
#transport_attachment_id ⇒ String (readonly)
The ID of the transport attachment.
58 59 60 |
# File 'network_manager/cfn_connect_attachment_props.rb', line 58 def @transport_attachment_id end |
Class Method Details
.jsii_properties ⇒ Object
87 88 89 90 91 92 93 94 95 96 97 98 99 |
# File 'network_manager/cfn_connect_attachment_props.rb', line 87 def self.jsii_properties { :core_network_id => "coreNetworkId", :edge_location => "edgeLocation", :options => "options", :transport_attachment_id => "transportAttachmentId", :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
101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 |
# File 'network_manager/cfn_connect_attachment_props.rb', line 101 def to_jsii result = {} result.merge!({ "coreNetworkId" => @core_network_id, "edgeLocation" => @edge_location, "options" => @options, "transportAttachmentId" => @transport_attachment_id, "networkFunctionGroupName" => @network_function_group_name, "proposedNetworkFunctionGroupChange" => @proposed_network_function_group_change, "proposedSegmentChange" => @proposed_segment_change, "routingPolicyLabel" => @routing_policy_label, "tags" => @tags, }) result.compact end |