Class: AWSCDK::NetworkManager::CfnVPCAttachment::VPCOptionsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::NetworkManager::CfnVPCAttachment::VPCOptionsProperty
- Defined in:
- network_manager/cfn_vpc_attachment.rb
Overview
Describes the VPC options.
Instance Attribute Summary collapse
-
#appliance_mode_support ⇒ Boolean, ...
readonly
Indicates whether appliance mode is supported.
-
#dns_support ⇒ Boolean, ...
readonly
Indicates whether DNS is supported.
-
#ipv6_support ⇒ Boolean, ...
readonly
Indicates whether IPv6 is supported.
-
#security_group_referencing_support ⇒ Boolean, ...
readonly
Indicates whether security group referencing is enabled for this VPC attachment.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(appliance_mode_support: nil, dns_support: nil, ipv6_support: nil, security_group_referencing_support: nil) ⇒ VPCOptionsProperty
constructor
A new instance of VPCOptionsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(appliance_mode_support: nil, dns_support: nil, ipv6_support: nil, security_group_referencing_support: nil) ⇒ VPCOptionsProperty
Returns a new instance of VPCOptionsProperty.
835 836 837 838 839 840 841 842 843 844 |
# File 'network_manager/cfn_vpc_attachment.rb', line 835 def initialize(appliance_mode_support: nil, dns_support: nil, ipv6_support: nil, security_group_referencing_support: nil) @appliance_mode_support = appliance_mode_support Jsii::Type.check_type(@appliance_mode_support, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "applianceModeSupport") unless @appliance_mode_support.nil? @dns_support = dns_support Jsii::Type.check_type(@dns_support, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "dnsSupport") unless @dns_support.nil? @ipv6_support = ipv6_support Jsii::Type.check_type(@ipv6_support, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "ipv6Support") unless @ipv6_support.nil? @security_group_referencing_support = security_group_referencing_support Jsii::Type.check_type(@security_group_referencing_support, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "securityGroupReferencingSupport") unless @security_group_referencing_support.nil? end |
Instance Attribute Details
#appliance_mode_support ⇒ Boolean, ... (readonly)
Default: - false
Indicates whether appliance mode is supported.
If enabled, traffic flow between a source and destination use the same Availability Zone for the VPC attachment for the lifetime of that flow. The default value is false .
853 854 855 |
# File 'network_manager/cfn_vpc_attachment.rb', line 853 def appliance_mode_support @appliance_mode_support end |
#dns_support ⇒ Boolean, ... (readonly)
Default: - true
Indicates whether DNS is supported.
859 860 861 |
# File 'network_manager/cfn_vpc_attachment.rb', line 859 def dns_support @dns_support end |
#ipv6_support ⇒ Boolean, ... (readonly)
Default: - false
Indicates whether IPv6 is supported.
865 866 867 |
# File 'network_manager/cfn_vpc_attachment.rb', line 865 def ipv6_support @ipv6_support end |
#security_group_referencing_support ⇒ Boolean, ... (readonly)
Default: - true
Indicates whether security group referencing is enabled for this VPC attachment.
The default is true . However, at the core network policy-level the default is set to false .
873 874 875 |
# File 'network_manager/cfn_vpc_attachment.rb', line 873 def security_group_referencing_support @security_group_referencing_support end |
Class Method Details
.jsii_properties ⇒ Object
875 876 877 878 879 880 881 882 |
# File 'network_manager/cfn_vpc_attachment.rb', line 875 def self.jsii_properties { :appliance_mode_support => "applianceModeSupport", :dns_support => "dnsSupport", :ipv6_support => "ipv6Support", :security_group_referencing_support => "securityGroupReferencingSupport", } end |
Instance Method Details
#to_jsii ⇒ Object
884 885 886 887 888 889 890 891 892 893 |
# File 'network_manager/cfn_vpc_attachment.rb', line 884 def to_jsii result = {} result.merge!({ "applianceModeSupport" => @appliance_mode_support, "dnsSupport" => @dns_support, "ipv6Support" => @ipv6_support, "securityGroupReferencingSupport" => @security_group_referencing_support, }) result.compact end |