Class: AWSCDK::EVS::CfnEnvironment::InitialVlanInfoProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::EVS::CfnEnvironment::InitialVlanInfoProperty
- Defined in:
- evs/cfn_environment.rb
Overview
An object that represents an initial VLAN subnet for the Amazon EVS environment.
Amazon EVS creates initial VLAN subnets when you first create the environment. Amazon EVS creates the following 10 VLAN subnets: host management VLAN, vMotion VLAN, vSAN VLAN, VTEP VLAN, Edge VTEP VLAN, Management VM VLAN, HCX uplink VLAN, NSX uplink VLAN, expansion VLAN 1, expansion VLAN 2.
For each Amazon EVS VLAN subnet, you must specify a non-overlapping CIDR block. Amazon EVS VLAN subnets have a minimum CIDR block size of /28 and a maximum size of /24.
Instance Attribute Summary collapse
-
#cidr ⇒ String
readonly
The CIDR block that you provide to create an Amazon EVS VLAN subnet.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(cidr:) ⇒ InitialVlanInfoProperty
constructor
A new instance of InitialVlanInfoProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(cidr:) ⇒ InitialVlanInfoProperty
Returns a new instance of InitialVlanInfoProperty.
947 948 949 950 |
# File 'evs/cfn_environment.rb', line 947 def initialize(cidr:) @cidr = cidr Jsii::Type.check_type(@cidr, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "cidr") end |
Instance Attribute Details
#cidr ⇒ String (readonly)
The CIDR block that you provide to create an Amazon EVS VLAN subnet.
Amazon EVS VLAN subnets have a minimum CIDR block size of /28 and a maximum size of /24. Amazon EVS VLAN subnet CIDR blocks must not overlap with other subnets in the VPC.
958 959 960 |
# File 'evs/cfn_environment.rb', line 958 def cidr @cidr end |
Class Method Details
.jsii_properties ⇒ Object
960 961 962 963 964 |
# File 'evs/cfn_environment.rb', line 960 def self.jsii_properties { :cidr => "cidr", } end |
Instance Method Details
#to_jsii ⇒ Object
966 967 968 969 970 971 972 |
# File 'evs/cfn_environment.rb', line 966 def to_jsii result = {} result.merge!({ "cidr" => @cidr, }) result.compact end |