Class: AWSCDK::NetworkManager::CfnTransitGatewayRouteTableAttachment::ProposedNetworkFunctionGroupChangeProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::NetworkManager::CfnTransitGatewayRouteTableAttachment::ProposedNetworkFunctionGroupChangeProperty
- Defined in:
- network_manager/cfn_transit_gateway_route_table_attachment.rb
Overview
Describes proposed changes to a network function group.
Instance Attribute Summary collapse
-
#attachment_policy_rule_number ⇒ Numeric?
readonly
The proposed new attachment policy rule number for the network function group.
-
#network_function_group_name ⇒ String?
readonly
The proposed name change for the network function group name.
-
#tags ⇒ Array<AWSCDK::CfnTag>?
readonly
The list of proposed changes to the key-value tags associated with the network function group.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(attachment_policy_rule_number: nil, network_function_group_name: nil, tags: nil) ⇒ ProposedNetworkFunctionGroupChangeProperty
constructor
A new instance of ProposedNetworkFunctionGroupChangeProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(attachment_policy_rule_number: nil, network_function_group_name: nil, tags: nil) ⇒ ProposedNetworkFunctionGroupChangeProperty
Returns a new instance of ProposedNetworkFunctionGroupChangeProperty.
692 693 694 695 696 697 698 699 |
# File 'network_manager/cfn_transit_gateway_route_table_attachment.rb', line 692 def initialize(attachment_policy_rule_number: nil, network_function_group_name: nil, tags: nil) @attachment_policy_rule_number = Jsii::Type.check_type(@attachment_policy_rule_number, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "attachmentPolicyRuleNumber") unless @attachment_policy_rule_number.nil? @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? @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
#attachment_policy_rule_number ⇒ Numeric? (readonly)
The proposed new attachment policy rule number for the network function group.
705 706 707 |
# File 'network_manager/cfn_transit_gateway_route_table_attachment.rb', line 705 def @attachment_policy_rule_number end |
#network_function_group_name ⇒ String? (readonly)
The proposed name change for the network function group name.
710 711 712 |
# File 'network_manager/cfn_transit_gateway_route_table_attachment.rb', line 710 def network_function_group_name @network_function_group_name end |
#tags ⇒ Array<AWSCDK::CfnTag>? (readonly)
The list of proposed changes to the key-value tags associated with the network function group.
715 716 717 |
# File 'network_manager/cfn_transit_gateway_route_table_attachment.rb', line 715 def @tags end |
Class Method Details
.jsii_properties ⇒ Object
717 718 719 720 721 722 723 |
# File 'network_manager/cfn_transit_gateway_route_table_attachment.rb', line 717 def self.jsii_properties { :attachment_policy_rule_number => "attachmentPolicyRuleNumber", :network_function_group_name => "networkFunctionGroupName", :tags => "tags", } end |
Instance Method Details
#to_jsii ⇒ Object
725 726 727 728 729 730 731 732 733 |
# File 'network_manager/cfn_transit_gateway_route_table_attachment.rb', line 725 def to_jsii result = {} result.merge!({ "attachmentPolicyRuleNumber" => @attachment_policy_rule_number, "networkFunctionGroupName" => @network_function_group_name, "tags" => @tags, }) result.compact end |