Class: AWSCDK::NetworkManager::CfnSiteToSiteVpnAttachment::ProposedNetworkFunctionGroupChangeProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::NetworkManager::CfnSiteToSiteVpnAttachment::ProposedNetworkFunctionGroupChangeProperty
- Defined in:
- network_manager/cfn_site_to_site_vpn_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.
684 685 686 687 688 689 690 691 |
# File 'network_manager/cfn_site_to_site_vpn_attachment.rb', line 684 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.
697 698 699 |
# File 'network_manager/cfn_site_to_site_vpn_attachment.rb', line 697 def @attachment_policy_rule_number end |
#network_function_group_name ⇒ String? (readonly)
The proposed name change for the network function group name.
702 703 704 |
# File 'network_manager/cfn_site_to_site_vpn_attachment.rb', line 702 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.
707 708 709 |
# File 'network_manager/cfn_site_to_site_vpn_attachment.rb', line 707 def @tags end |
Class Method Details
.jsii_properties ⇒ Object
709 710 711 712 713 714 715 |
# File 'network_manager/cfn_site_to_site_vpn_attachment.rb', line 709 def self.jsii_properties { :attachment_policy_rule_number => "attachmentPolicyRuleNumber", :network_function_group_name => "networkFunctionGroupName", :tags => "tags", } end |
Instance Method Details
#to_jsii ⇒ Object
717 718 719 720 721 722 723 724 725 |
# File 'network_manager/cfn_site_to_site_vpn_attachment.rb', line 717 def to_jsii result = {} result.merge!({ "attachmentPolicyRuleNumber" => @attachment_policy_rule_number, "networkFunctionGroupName" => @network_function_group_name, "tags" => @tags, }) result.compact end |