pub struct VpcArgs {Show 13 fields
pub assign_generated_ipv6_cidr_block: Output<Option<bool>>,
pub cidr_block: Output<Option<String>>,
pub enable_dns_hostnames: Output<Option<bool>>,
pub enable_dns_support: Output<Option<bool>>,
pub enable_network_address_usage_metrics: Output<Option<bool>>,
pub instance_tenancy: Output<Option<String>>,
pub ipv4_ipam_pool_id: Output<Option<String>>,
pub ipv4_netmask_length: Output<Option<i32>>,
pub ipv6_cidr_block: Output<Option<String>>,
pub ipv6_cidr_block_network_border_group: Output<Option<String>>,
pub ipv6_ipam_pool_id: Output<Option<String>>,
pub ipv6_netmask_length: Output<Option<i32>>,
pub tags: Output<Option<HashMap<String, String>>>,
}
Fields§
§assign_generated_ipv6_cidr_block: Output<Option<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 with ipv6_ipam_pool_id
cidr_block: Output<Option<String>>
The IPv4 CIDR block for the VPC. CIDR can be explicitly set or it can be derived from IPAM using ipv4_netmask_length
.
enable_dns_hostnames: Output<Option<bool>>
A boolean flag to enable/disable DNS hostnames in the VPC. Defaults false.
enable_dns_support: Output<Option<bool>>
A boolean flag to enable/disable DNS support in the VPC. Defaults to true.
enable_network_address_usage_metrics: Output<Option<bool>>
Indicates whether Network Address Usage metrics are enabled for your VPC. Defaults to false.
instance_tenancy: Output<Option<String>>
A 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 is dedicated
, 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.
ipv4_ipam_pool_id: Output<Option<String>>
The 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.
ipv4_netmask_length: Output<Option<i32>>
The netmask length of the IPv4 CIDR you want to allocate to this VPC. Requires specifying a ipv4_ipam_pool_id
.
ipv6_cidr_block: Output<Option<String>>
IPv6 CIDR block to request from an IPAM Pool. Can be set explicitly or derived from IPAM using ipv6_netmask_length
.
ipv6_cidr_block_network_border_group: Output<Option<String>>
By default when an IPv6 CIDR is assigned to a VPC a default ipv6_cidr_block_network_border_group 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.
ipv6_ipam_pool_id: Output<Option<String>>
IPAM Pool ID for a IPv6 pool. Conflicts with assign_generated_ipv6_cidr_block
.
ipv6_netmask_length: Output<Option<i32>>
Netmask length to request from IPAM Pool. Conflicts with ipv6_cidr_block
. This can be omitted if IPAM pool as a allocation_default_netmask_length
set. Valid values are from 44
to 60
in increments of 4.
A map of tags to assign to the resource. If configured with a provider default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for VpcArgs
impl RefUnwindSafe for VpcArgs
impl Send for VpcArgs
impl Sync for VpcArgs
impl Unpin for VpcArgs
impl UnwindSafe for VpcArgs
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)