VpcState class
Input properties used for looking up and filtering Vpc resources.
Constructors
-
VpcState({Input<
String?> ? arn, Input<bool?> ? assignGeneratedIpv6CidrBlock, Input<String?> ? cidrBlock, Input<String?> ? defaultNetworkAclId, Input<String?> ? defaultRouteTableId, Input<String?> ? defaultSecurityGroupId, Input<String?> ? dhcpOptionsId, Input<bool?> ? enableDnsHostnames, Input<bool?> ? enableDnsSupport, Input<bool?> ? enableNetworkAddressUsageMetrics, Input<String?> ? instanceTenancy, Input<String?> ? ipv4IpamPoolId, Input<int?> ? ipv4NetmaskLength, Input<String?> ? ipv6AssociationId, Input<String?> ? ipv6CidrBlock, Input<String?> ? ipv6CidrBlockNetworkBorderGroup, Input<String?> ? ipv6IpamPoolId, Input<int?> ? ipv6NetmaskLength, Input<String?> ? mainRouteTableId, Input<String?> ? ownerId, Input<String?> ? region, Input<Map< ? tags, Input<String, String> ?>Map< ? tagsAll})String, String> ?> -
Creates a new VpcState.
arnARN of VPC.assignGeneratedIpv6CidrBlockRequests an Amazon-provided IPv6 CIDR block with a /56 prefix length for the VPC. You cannot specify the range of IP addresses, or the size of the CIDR block. Default isfalse. Conflicts withipv6IpamPoolId.cidrBlockIPv4 CIDR block for the VPC. CIDR can be explicitly set or it can be derived from IPAM usingipv4NetmaskLength.defaultNetworkAclIdID of the network ACL created by default on VPC creation.defaultRouteTableIdID of the route table created by default on VPC creation.defaultSecurityGroupIdID of the security group created by default on VPC creation.dhcpOptionsIdDHCP options id of the desired VPC.enableDnsHostnamesWhether to enable DNS hostnames in the VPC. Defaults tofalse.enableDnsSupportWhether to enable DNS support in the VPC. Defaults totrue.enableNetworkAddressUsageMetricsWhether to enable Network Address Usage metrics for your VPC. Defaults tofalse.instanceTenancyTenancy option for instances launched into the VPC. Default isdefault, which ensures that EC2 instances launched in this VPC use the EC2 instance tenancy attribute specified when the EC2 instance is launched. The only other option isdedicated, which ensures that EC2 instances launched in this VPC are run on dedicated tenancy instances regardless of the tenancy attribute specified at launch. This has a dedicated per region fee of $2 per hour, plus an hourly per instance usage fee.ipv4IpamPoolIdID of an IPv4 IPAM pool you want to use for allocating this VPC's CIDR. IPAM is a VPC feature that you can use to automate your IP address management workflows including assigning, tracking, troubleshooting, and auditing IP addresses across AWS Regions and accounts. Using IPAM you can monitor IP address usage throughout your AWS Organization.ipv4NetmaskLengthNetmask length of the IPv4 CIDR you want to allocate to this VPC. Requires specifying aipv4IpamPoolId.ipv6AssociationIdAssociation ID for the IPv6 CIDR block.ipv6CidrBlockIPv6 CIDR block to request from an IPAM Pool. Can be set explicitly or derived from IPAM usingipv6NetmaskLength.ipv6CidrBlockNetworkBorderGroupBy default when an IPv6 CIDR is assigned to a VPC a default ipv6CidrBlockNetworkBorderGroup will be set to the region of the VPC. This can be changed to restrict advertisement of public addresses to specific Network Border Groups such as LocalZones.ipv6IpamPoolIdIPAM Pool ID for a IPv6 pool. Conflicts withassignGeneratedIpv6CidrBlock.ipv6NetmaskLengthNetmask length to request from IPAM Pool. Conflicts withipv6CidrBlock. This can be omitted if IPAM pool as aallocationDefaultNetmaskLengthset. Valid values are from44to60in increments of 4.mainRouteTableIdID of the main route table associated with this VPC. Note that you can change a VPC's main route table by using anaws.ec2.MainRouteTableAssociation.ownerIdID of the AWS account that owns the VPC.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.tagsMap of tags to assign to the resource. If configured with a providerdefaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.tagsAllMap of tags assigned to the resource, including those inherited from the providerdefaultTagsconfiguration block.const -
VpcState.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
arn
→ Input<
String?> ? -
ARN of VPC.
final
-
assignGeneratedIpv6CidrBlock
→ Input<
bool?> ? -
Requests an Amazon-provided IPv6 CIDR block with a /56 prefix length for the VPC. You cannot specify the range of IP addresses, or the size of the CIDR block. Default is
false. Conflicts withipv6IpamPoolId.final -
cidrBlock
→ Input<
String?> ? -
IPv4 CIDR block for the VPC. CIDR can be explicitly set or it can be derived from IPAM using
ipv4NetmaskLength.final -
defaultNetworkAclId
→ Input<
String?> ? -
ID of the network ACL created by default on VPC creation.
final
-
defaultRouteTableId
→ Input<
String?> ? -
ID of the route table created by default on VPC creation.
final
-
defaultSecurityGroupId
→ Input<
String?> ? -
ID of the security group created by default on VPC creation.
final
-
dhcpOptionsId
→ Input<
String?> ? -
DHCP options id of the desired VPC.
final
-
enableDnsHostnames
→ Input<
bool?> ? -
Whether to enable DNS hostnames in the VPC. Defaults to
false.final -
enableDnsSupport
→ Input<
bool?> ? -
Whether to enable DNS support in the VPC. Defaults to
true.final -
enableNetworkAddressUsageMetrics
→ Input<
bool?> ? -
Whether to enable Network Address Usage metrics for your VPC. Defaults to
false.final - hashCode → int
-
The hash code for this object.
no setterinherited
-
instanceTenancy
→ Input<
String?> ? -
Tenancy option for instances launched into the VPC. Default is
default, which ensures that EC2 instances launched in this VPC use the EC2 instance tenancy attribute specified when the EC2 instance is launched. The only other option isdedicated, which ensures that EC2 instances launched in this VPC are run on dedicated tenancy instances regardless of the tenancy attribute specified at launch. This has a dedicated per region fee of $2 per hour, plus an hourly per instance usage fee.final -
ipv4IpamPoolId
→ Input<
String?> ? -
ID of an IPv4 IPAM pool you want to use for allocating this VPC's CIDR. IPAM is a VPC feature that you can use to automate your IP address management workflows including assigning, tracking, troubleshooting, and auditing IP addresses across AWS Regions and accounts. Using IPAM you can monitor IP address usage throughout your AWS Organization.
final
-
ipv4NetmaskLength
→ Input<
int?> ? -
Netmask length of the IPv4 CIDR you want to allocate to this VPC. Requires specifying a
ipv4IpamPoolId.final -
ipv6AssociationId
→ Input<
String?> ? -
Association ID for the IPv6 CIDR block.
final
-
ipv6CidrBlock
→ Input<
String?> ? -
IPv6 CIDR block to request from an IPAM Pool. Can be set explicitly or derived from IPAM using
ipv6NetmaskLength.final -
ipv6CidrBlockNetworkBorderGroup
→ Input<
String?> ? -
By default when an IPv6 CIDR is assigned to a VPC a default ipv6CidrBlockNetworkBorderGroup will be set to the region of the VPC. This can be changed to restrict advertisement of public addresses to specific Network Border Groups such as LocalZones.
final
-
ipv6IpamPoolId
→ Input<
String?> ? -
IPAM Pool ID for a IPv6 pool. Conflicts with
assignGeneratedIpv6CidrBlock.final -
ipv6NetmaskLength
→ Input<
int?> ? -
Netmask length to request from IPAM Pool. Conflicts with
ipv6CidrBlock. This can be omitted if IPAM pool as aallocationDefaultNetmaskLengthset. Valid values are from44to60in increments of 4.final -
mainRouteTableId
→ Input<
String?> ? -
ID of the main route table associated with this VPC. Note that you can change a VPC's main route table by using an
aws.ec2.MainRouteTableAssociation.final -
ownerId
→ Input<
String?> ? -
ID of the AWS account that owns the VPC.
final
-
region
→ Input<
String?> ? -
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
Map of tags to assign to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.final -
Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited