Class: AWSCDK::EC2::AllocateVPCIpv6CIDRRequest
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::EC2::AllocateVPCIpv6CIDRRequest
- Defined in:
- ec2/allocate_vpc_ipv6_cidr_request.rb
Overview
Request for allocation of the VPC IPv6 CIDR.
Instance Attribute Summary collapse
-
#scope ⇒ Constructs::Construct
readonly
The VPC construct to attach to.
-
#vpc_id ⇒ String
readonly
The id of the VPC.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(scope:, vpc_id:) ⇒ AllocateVPCIpv6CIDRRequest
constructor
A new instance of AllocateVPCIpv6CIDRRequest.
- #to_jsii ⇒ Object
Constructor Details
#initialize(scope:, vpc_id:) ⇒ AllocateVPCIpv6CIDRRequest
Returns a new instance of AllocateVPCIpv6CIDRRequest.
9 10 11 12 13 14 |
# File 'ec2/allocate_vpc_ipv6_cidr_request.rb', line 9 def initialize(scope:, vpc_id:) @scope = scope Jsii::Type.check_type(@scope, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJjb25zdHJ1Y3RzLkNvbnN0cnVjdCJ9")), "scope") @vpc_id = vpc_id Jsii::Type.check_type(@vpc_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "vpcId") end |
Instance Attribute Details
#scope ⇒ Constructs::Construct (readonly)
The VPC construct to attach to.
19 20 21 |
# File 'ec2/allocate_vpc_ipv6_cidr_request.rb', line 19 def scope @scope end |
#vpc_id ⇒ String (readonly)
The id of the VPC.
23 24 25 |
# File 'ec2/allocate_vpc_ipv6_cidr_request.rb', line 23 def vpc_id @vpc_id end |
Class Method Details
.jsii_properties ⇒ Object
25 26 27 28 29 30 |
# File 'ec2/allocate_vpc_ipv6_cidr_request.rb', line 25 def self.jsii_properties { :scope => "scope", :vpc_id => "vpcId", } end |
Instance Method Details
#to_jsii ⇒ Object
32 33 34 35 36 37 38 39 |
# File 'ec2/allocate_vpc_ipv6_cidr_request.rb', line 32 def to_jsii result = {} result.merge!({ "scope" => @scope, "vpcId" => @vpc_id, }) result.compact end |