We recommend new projects start with resources from the AWS provider.
published on Monday, Aug 24, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
published on Monday, Aug 24, 2026 by Pulumi
Specifies a virtual private cloud (VPC). A VPC must have an associated IPv4 CIDR block. You can specify an IPv4 CIDR block or an IPAM-allocated IPv4 CIDR block. To associate an IPv6 CIDR block with the VPC, see AWS::EC2::VPCCidrBlock. For more information, see Virtual private clouds (VPC) in the Amazon VPC User Guide.
Create Vpc Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Vpc(name: string, args?: VpcArgs, opts?: CustomResourceOptions);@overload
def Vpc(resource_name: str,
args: Optional[VpcArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Vpc(resource_name: str,
opts: Optional[ResourceOptions] = None,
cidr_block: Optional[str] = None,
enable_dns_hostnames: Optional[bool] = None,
enable_dns_support: Optional[bool] = None,
instance_tenancy: Optional[str] = None,
ipv4_ipam_pool_id: Optional[str] = None,
ipv4_netmask_length: Optional[int] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None,
vpc_encryption_control: Optional[VpcEncryptionControlArgs] = None)func NewVpc(ctx *Context, name string, args *VpcArgs, opts ...ResourceOption) (*Vpc, error)public Vpc(string name, VpcArgs? args = null, CustomResourceOptions? opts = null)type: aws-native:ec2:Vpc
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "aws-native_ec2_vpc" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args VpcArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args VpcArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args VpcArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args VpcArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args VpcArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Vpc Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Vpc resource accepts the following input properties:
- Cidr
Block string - The IPv4 network range for the VPC, in CIDR notation. For example,
10.0.0.0/16. We modify the specified CIDR block to its canonical form; for example, if you specify100.68.0.18/18, we modify it to100.68.0.0/18. You must specify eitherCidrBlockorIpv4IpamPoolId. - Enable
Dns boolHostnames - Indicates whether the instances launched in the VPC get DNS hostnames. If enabled, instances in the VPC get DNS hostnames; otherwise, they do not. Disabled by default for nondefault VPCs. For more information, see DNS attributes in your VPC. You can only enable DNS hostnames if you've enabled DNS support.
- Enable
Dns boolSupport - Indicates whether the DNS resolution is supported for the VPC. If enabled, queries to the Amazon provided DNS server at the 169.254.169.253 IP address, or the reserved IP address at the base of the VPC network range "plus two" succeed. If disabled, the Amazon provided DNS service in the VPC that resolves public DNS hostnames to IP addresses is not enabled. Enabled by default. For more information, see DNS attributes in your VPC.
- Instance
Tenancy string The allowed tenancy of instances launched into the VPC.
default: An instance launched into the VPC runs on shared hardware by default, unless you explicitly specify a different tenancy during instance launch.dedicated: An instance launched into the VPC runs on dedicated hardware by default, unless you explicitly specify a tenancy ofhostduring instance launch. You cannot specify a tenancy ofdefaultduring instance launch.
Updating
InstanceTenancyrequires no replacement only if you are updating its value fromdedicatedtodefault. UpdatingInstanceTenancyfromdefaulttodedicatedrequires replacement.- Ipv4Ipam
Pool stringId - The ID of an IPv4 IPAM pool you want to use for allocating this VPC's CIDR. For more information, see What is IPAM? in the Amazon VPC IPAM User Guide.
You must specify either
CidrBlockorIpv4IpamPoolId. - Ipv4Netmask
Length int - The netmask length of the IPv4 CIDR you want to allocate to this VPC from an Amazon VPC IP Address Manager (IPAM) pool. For more information about IPAM, see What is IPAM? in the Amazon VPC IPAM User Guide.
-
List<Pulumi.
Aws Native. Inputs. Tag> - The tags for the VPC.
- Vpc
Encryption Pulumi.Control Aws Native. Ec2. Inputs. Vpc Encryption Control - Describes the configuration and state of VPC encryption controls. For more information, see Enforce VPC encryption in transit in the Amazon VPC User Guide.
- Cidr
Block string - The IPv4 network range for the VPC, in CIDR notation. For example,
10.0.0.0/16. We modify the specified CIDR block to its canonical form; for example, if you specify100.68.0.18/18, we modify it to100.68.0.0/18. You must specify eitherCidrBlockorIpv4IpamPoolId. - Enable
Dns boolHostnames - Indicates whether the instances launched in the VPC get DNS hostnames. If enabled, instances in the VPC get DNS hostnames; otherwise, they do not. Disabled by default for nondefault VPCs. For more information, see DNS attributes in your VPC. You can only enable DNS hostnames if you've enabled DNS support.
- Enable
Dns boolSupport - Indicates whether the DNS resolution is supported for the VPC. If enabled, queries to the Amazon provided DNS server at the 169.254.169.253 IP address, or the reserved IP address at the base of the VPC network range "plus two" succeed. If disabled, the Amazon provided DNS service in the VPC that resolves public DNS hostnames to IP addresses is not enabled. Enabled by default. For more information, see DNS attributes in your VPC.
- Instance
Tenancy string The allowed tenancy of instances launched into the VPC.
default: An instance launched into the VPC runs on shared hardware by default, unless you explicitly specify a different tenancy during instance launch.dedicated: An instance launched into the VPC runs on dedicated hardware by default, unless you explicitly specify a tenancy ofhostduring instance launch. You cannot specify a tenancy ofdefaultduring instance launch.
Updating
InstanceTenancyrequires no replacement only if you are updating its value fromdedicatedtodefault. UpdatingInstanceTenancyfromdefaulttodedicatedrequires replacement.- Ipv4Ipam
Pool stringId - The ID of an IPv4 IPAM pool you want to use for allocating this VPC's CIDR. For more information, see What is IPAM? in the Amazon VPC IPAM User Guide.
You must specify either
CidrBlockorIpv4IpamPoolId. - Ipv4Netmask
Length int - The netmask length of the IPv4 CIDR you want to allocate to this VPC from an Amazon VPC IP Address Manager (IPAM) pool. For more information about IPAM, see What is IPAM? in the Amazon VPC IPAM User Guide.
-
Tag
Args - The tags for the VPC.
- Vpc
Encryption VpcControl Encryption Control Type Args - Describes the configuration and state of VPC encryption controls. For more information, see Enforce VPC encryption in transit in the Amazon VPC User Guide.
- cidr_
block string - The IPv4 network range for the VPC, in CIDR notation. For example,
10.0.0.0/16. We modify the specified CIDR block to its canonical form; for example, if you specify100.68.0.18/18, we modify it to100.68.0.0/18. You must specify eitherCidrBlockorIpv4IpamPoolId. - enable_
dns_ boolhostnames - Indicates whether the instances launched in the VPC get DNS hostnames. If enabled, instances in the VPC get DNS hostnames; otherwise, they do not. Disabled by default for nondefault VPCs. For more information, see DNS attributes in your VPC. You can only enable DNS hostnames if you've enabled DNS support.
- enable_
dns_ boolsupport - Indicates whether the DNS resolution is supported for the VPC. If enabled, queries to the Amazon provided DNS server at the 169.254.169.253 IP address, or the reserved IP address at the base of the VPC network range "plus two" succeed. If disabled, the Amazon provided DNS service in the VPC that resolves public DNS hostnames to IP addresses is not enabled. Enabled by default. For more information, see DNS attributes in your VPC.
- instance_
tenancy string The allowed tenancy of instances launched into the VPC.
default: An instance launched into the VPC runs on shared hardware by default, unless you explicitly specify a different tenancy during instance launch.dedicated: An instance launched into the VPC runs on dedicated hardware by default, unless you explicitly specify a tenancy ofhostduring instance launch. You cannot specify a tenancy ofdefaultduring instance launch.
Updating
InstanceTenancyrequires no replacement only if you are updating its value fromdedicatedtodefault. UpdatingInstanceTenancyfromdefaulttodedicatedrequires replacement.- ipv4_
ipam_ stringpool_ id - The ID of an IPv4 IPAM pool you want to use for allocating this VPC's CIDR. For more information, see What is IPAM? in the Amazon VPC IPAM User Guide.
You must specify either
CidrBlockorIpv4IpamPoolId. - ipv4_
netmask_ numberlength - The netmask length of the IPv4 CIDR you want to allocate to this VPC from an Amazon VPC IP Address Manager (IPAM) pool. For more information about IPAM, see What is IPAM? in the Amazon VPC IPAM User Guide.
- list(object)
- The tags for the VPC.
- vpc_
encryption_ objectcontrol - Describes the configuration and state of VPC encryption controls. For more information, see Enforce VPC encryption in transit in the Amazon VPC User Guide.
- cidr
Block String - The IPv4 network range for the VPC, in CIDR notation. For example,
10.0.0.0/16. We modify the specified CIDR block to its canonical form; for example, if you specify100.68.0.18/18, we modify it to100.68.0.0/18. You must specify eitherCidrBlockorIpv4IpamPoolId. - enable
Dns BooleanHostnames - Indicates whether the instances launched in the VPC get DNS hostnames. If enabled, instances in the VPC get DNS hostnames; otherwise, they do not. Disabled by default for nondefault VPCs. For more information, see DNS attributes in your VPC. You can only enable DNS hostnames if you've enabled DNS support.
- enable
Dns BooleanSupport - Indicates whether the DNS resolution is supported for the VPC. If enabled, queries to the Amazon provided DNS server at the 169.254.169.253 IP address, or the reserved IP address at the base of the VPC network range "plus two" succeed. If disabled, the Amazon provided DNS service in the VPC that resolves public DNS hostnames to IP addresses is not enabled. Enabled by default. For more information, see DNS attributes in your VPC.
- instance
Tenancy String The allowed tenancy of instances launched into the VPC.
default: An instance launched into the VPC runs on shared hardware by default, unless you explicitly specify a different tenancy during instance launch.dedicated: An instance launched into the VPC runs on dedicated hardware by default, unless you explicitly specify a tenancy ofhostduring instance launch. You cannot specify a tenancy ofdefaultduring instance launch.
Updating
InstanceTenancyrequires no replacement only if you are updating its value fromdedicatedtodefault. UpdatingInstanceTenancyfromdefaulttodedicatedrequires replacement.- ipv4Ipam
Pool StringId - The ID of an IPv4 IPAM pool you want to use for allocating this VPC's CIDR. For more information, see What is IPAM? in the Amazon VPC IPAM User Guide.
You must specify either
CidrBlockorIpv4IpamPoolId. - ipv4Netmask
Length Integer - The netmask length of the IPv4 CIDR you want to allocate to this VPC from an Amazon VPC IP Address Manager (IPAM) pool. For more information about IPAM, see What is IPAM? in the Amazon VPC IPAM User Guide.
- List<Tag>
- The tags for the VPC.
- vpc
Encryption VpcControl Encryption Control - Describes the configuration and state of VPC encryption controls. For more information, see Enforce VPC encryption in transit in the Amazon VPC User Guide.
- cidr
Block string - The IPv4 network range for the VPC, in CIDR notation. For example,
10.0.0.0/16. We modify the specified CIDR block to its canonical form; for example, if you specify100.68.0.18/18, we modify it to100.68.0.0/18. You must specify eitherCidrBlockorIpv4IpamPoolId. - enable
Dns booleanHostnames - Indicates whether the instances launched in the VPC get DNS hostnames. If enabled, instances in the VPC get DNS hostnames; otherwise, they do not. Disabled by default for nondefault VPCs. For more information, see DNS attributes in your VPC. You can only enable DNS hostnames if you've enabled DNS support.
- enable
Dns booleanSupport - Indicates whether the DNS resolution is supported for the VPC. If enabled, queries to the Amazon provided DNS server at the 169.254.169.253 IP address, or the reserved IP address at the base of the VPC network range "plus two" succeed. If disabled, the Amazon provided DNS service in the VPC that resolves public DNS hostnames to IP addresses is not enabled. Enabled by default. For more information, see DNS attributes in your VPC.
- instance
Tenancy string The allowed tenancy of instances launched into the VPC.
default: An instance launched into the VPC runs on shared hardware by default, unless you explicitly specify a different tenancy during instance launch.dedicated: An instance launched into the VPC runs on dedicated hardware by default, unless you explicitly specify a tenancy ofhostduring instance launch. You cannot specify a tenancy ofdefaultduring instance launch.
Updating
InstanceTenancyrequires no replacement only if you are updating its value fromdedicatedtodefault. UpdatingInstanceTenancyfromdefaulttodedicatedrequires replacement.- ipv4Ipam
Pool stringId - The ID of an IPv4 IPAM pool you want to use for allocating this VPC's CIDR. For more information, see What is IPAM? in the Amazon VPC IPAM User Guide.
You must specify either
CidrBlockorIpv4IpamPoolId. - ipv4Netmask
Length number - The netmask length of the IPv4 CIDR you want to allocate to this VPC from an Amazon VPC IP Address Manager (IPAM) pool. For more information about IPAM, see What is IPAM? in the Amazon VPC IPAM User Guide.
- Tag[]
- The tags for the VPC.
- vpc
Encryption VpcControl Encryption Control - Describes the configuration and state of VPC encryption controls. For more information, see Enforce VPC encryption in transit in the Amazon VPC User Guide.
- cidr_
block str - The IPv4 network range for the VPC, in CIDR notation. For example,
10.0.0.0/16. We modify the specified CIDR block to its canonical form; for example, if you specify100.68.0.18/18, we modify it to100.68.0.0/18. You must specify eitherCidrBlockorIpv4IpamPoolId. - enable_
dns_ boolhostnames - Indicates whether the instances launched in the VPC get DNS hostnames. If enabled, instances in the VPC get DNS hostnames; otherwise, they do not. Disabled by default for nondefault VPCs. For more information, see DNS attributes in your VPC. You can only enable DNS hostnames if you've enabled DNS support.
- enable_
dns_ boolsupport - Indicates whether the DNS resolution is supported for the VPC. If enabled, queries to the Amazon provided DNS server at the 169.254.169.253 IP address, or the reserved IP address at the base of the VPC network range "plus two" succeed. If disabled, the Amazon provided DNS service in the VPC that resolves public DNS hostnames to IP addresses is not enabled. Enabled by default. For more information, see DNS attributes in your VPC.
- instance_
tenancy str The allowed tenancy of instances launched into the VPC.
default: An instance launched into the VPC runs on shared hardware by default, unless you explicitly specify a different tenancy during instance launch.dedicated: An instance launched into the VPC runs on dedicated hardware by default, unless you explicitly specify a tenancy ofhostduring instance launch. You cannot specify a tenancy ofdefaultduring instance launch.
Updating
InstanceTenancyrequires no replacement only if you are updating its value fromdedicatedtodefault. UpdatingInstanceTenancyfromdefaulttodedicatedrequires replacement.- ipv4_
ipam_ strpool_ id - The ID of an IPv4 IPAM pool you want to use for allocating this VPC's CIDR. For more information, see What is IPAM? in the Amazon VPC IPAM User Guide.
You must specify either
CidrBlockorIpv4IpamPoolId. - ipv4_
netmask_ intlength - The netmask length of the IPv4 CIDR you want to allocate to this VPC from an Amazon VPC IP Address Manager (IPAM) pool. For more information about IPAM, see What is IPAM? in the Amazon VPC IPAM User Guide.
-
Sequence[Tag
Args] - The tags for the VPC.
- vpc_
encryption_ Vpccontrol Encryption Control Args - Describes the configuration and state of VPC encryption controls. For more information, see Enforce VPC encryption in transit in the Amazon VPC User Guide.
- cidr
Block String - The IPv4 network range for the VPC, in CIDR notation. For example,
10.0.0.0/16. We modify the specified CIDR block to its canonical form; for example, if you specify100.68.0.18/18, we modify it to100.68.0.0/18. You must specify eitherCidrBlockorIpv4IpamPoolId. - enable
Dns BooleanHostnames - Indicates whether the instances launched in the VPC get DNS hostnames. If enabled, instances in the VPC get DNS hostnames; otherwise, they do not. Disabled by default for nondefault VPCs. For more information, see DNS attributes in your VPC. You can only enable DNS hostnames if you've enabled DNS support.
- enable
Dns BooleanSupport - Indicates whether the DNS resolution is supported for the VPC. If enabled, queries to the Amazon provided DNS server at the 169.254.169.253 IP address, or the reserved IP address at the base of the VPC network range "plus two" succeed. If disabled, the Amazon provided DNS service in the VPC that resolves public DNS hostnames to IP addresses is not enabled. Enabled by default. For more information, see DNS attributes in your VPC.
- instance
Tenancy String The allowed tenancy of instances launched into the VPC.
default: An instance launched into the VPC runs on shared hardware by default, unless you explicitly specify a different tenancy during instance launch.dedicated: An instance launched into the VPC runs on dedicated hardware by default, unless you explicitly specify a tenancy ofhostduring instance launch. You cannot specify a tenancy ofdefaultduring instance launch.
Updating
InstanceTenancyrequires no replacement only if you are updating its value fromdedicatedtodefault. UpdatingInstanceTenancyfromdefaulttodedicatedrequires replacement.- ipv4Ipam
Pool StringId - The ID of an IPv4 IPAM pool you want to use for allocating this VPC's CIDR. For more information, see What is IPAM? in the Amazon VPC IPAM User Guide.
You must specify either
CidrBlockorIpv4IpamPoolId. - ipv4Netmask
Length Number - The netmask length of the IPv4 CIDR you want to allocate to this VPC from an Amazon VPC IP Address Manager (IPAM) pool. For more information about IPAM, see What is IPAM? in the Amazon VPC IPAM User Guide.
- List<Property Map>
- The tags for the VPC.
- vpc
Encryption Property MapControl - Describes the configuration and state of VPC encryption controls. For more information, see Enforce VPC encryption in transit in the Amazon VPC User Guide.
Outputs
All input properties are implicitly available as output properties. Additionally, the Vpc resource produces the following output properties:
- Cidr
Block List<string>Associations - The association IDs of the IPv4 CIDR blocks for the VPC. For example, [ vpc-cidr-assoc-0280ab6b ].
- Default
Network stringAcl - The ID of the default network ACL for the VPC. For example, acl-814dafe3.
- Default
Security stringGroup - The ID of the default security group for the VPC. For example, sg-b178e0d3.
- Id string
- The provider-assigned unique ID for this managed resource.
- Ipv6Cidr
Blocks List<string> - The IPv6 CIDR blocks for the VPC. For example, [ 2001:db8:1234:1a00::/56 ].
- Vpc
Id string - The ID of the VPC.
- Cidr
Block []stringAssociations - The association IDs of the IPv4 CIDR blocks for the VPC. For example, [ vpc-cidr-assoc-0280ab6b ].
- Default
Network stringAcl - The ID of the default network ACL for the VPC. For example, acl-814dafe3.
- Default
Security stringGroup - The ID of the default security group for the VPC. For example, sg-b178e0d3.
- Id string
- The provider-assigned unique ID for this managed resource.
- Ipv6Cidr
Blocks []string - The IPv6 CIDR blocks for the VPC. For example, [ 2001:db8:1234:1a00::/56 ].
- Vpc
Id string - The ID of the VPC.
- cidr_
block_ list(string)associations - The association IDs of the IPv4 CIDR blocks for the VPC. For example, [ vpc-cidr-assoc-0280ab6b ].
- default_
network_ stringacl - The ID of the default network ACL for the VPC. For example, acl-814dafe3.
- default_
security_ stringgroup - The ID of the default security group for the VPC. For example, sg-b178e0d3.
- id string
- The provider-assigned unique ID for this managed resource.
- ipv6_
cidr_ list(string)blocks - The IPv6 CIDR blocks for the VPC. For example, [ 2001:db8:1234:1a00::/56 ].
- vpc_
id string - The ID of the VPC.
- cidr
Block List<String>Associations - The association IDs of the IPv4 CIDR blocks for the VPC. For example, [ vpc-cidr-assoc-0280ab6b ].
- default
Network StringAcl - The ID of the default network ACL for the VPC. For example, acl-814dafe3.
- default
Security StringGroup - The ID of the default security group for the VPC. For example, sg-b178e0d3.
- id String
- The provider-assigned unique ID for this managed resource.
- ipv6Cidr
Blocks List<String> - The IPv6 CIDR blocks for the VPC. For example, [ 2001:db8:1234:1a00::/56 ].
- vpc
Id String - The ID of the VPC.
- cidr
Block string[]Associations - The association IDs of the IPv4 CIDR blocks for the VPC. For example, [ vpc-cidr-assoc-0280ab6b ].
- default
Network stringAcl - The ID of the default network ACL for the VPC. For example, acl-814dafe3.
- default
Security stringGroup - The ID of the default security group for the VPC. For example, sg-b178e0d3.
- id string
- The provider-assigned unique ID for this managed resource.
- ipv6Cidr
Blocks string[] - The IPv6 CIDR blocks for the VPC. For example, [ 2001:db8:1234:1a00::/56 ].
- vpc
Id string - The ID of the VPC.
- cidr_
block_ Sequence[str]associations - The association IDs of the IPv4 CIDR blocks for the VPC. For example, [ vpc-cidr-assoc-0280ab6b ].
- default_
network_ stracl - The ID of the default network ACL for the VPC. For example, acl-814dafe3.
- default_
security_ strgroup - The ID of the default security group for the VPC. For example, sg-b178e0d3.
- id str
- The provider-assigned unique ID for this managed resource.
- ipv6_
cidr_ Sequence[str]blocks - The IPv6 CIDR blocks for the VPC. For example, [ 2001:db8:1234:1a00::/56 ].
- vpc_
id str - The ID of the VPC.
- cidr
Block List<String>Associations - The association IDs of the IPv4 CIDR blocks for the VPC. For example, [ vpc-cidr-assoc-0280ab6b ].
- default
Network StringAcl - The ID of the default network ACL for the VPC. For example, acl-814dafe3.
- default
Security StringGroup - The ID of the default security group for the VPC. For example, sg-b178e0d3.
- id String
- The provider-assigned unique ID for this managed resource.
- ipv6Cidr
Blocks List<String> - The IPv6 CIDR blocks for the VPC. For example, [ 2001:db8:1234:1a00::/56 ].
- vpc
Id String - The ID of the VPC.
Supporting Types
Tag, TagArgs
A set of tags to apply to the resource.VpcEncryptionControl, VpcEncryptionControlArgs
Describes the configuration and state of VPC encryption controls.
For more information, see Enforce VPC encryption in transit in the Amazon VPC User Guide.- Egress
Only Pulumi.Internet Gateway Exclusion Aws Native. Ec2. Vpc Encryption Control Egress Only Internet Gateway Exclusion - Elastic
File Pulumi.System Exclusion Aws Native. Ec2. Vpc Encryption Control Elastic File System Exclusion - Internet
Gateway Pulumi.Exclusion Aws Native. Ec2. Vpc Encryption Control Internet Gateway Exclusion - Lambda
Exclusion Pulumi.Aws Native. Ec2. Vpc Encryption Control Lambda Exclusion - Mode
Pulumi.
Aws Native. Ec2. Vpc Encryption Control Mode - The encryption mode for the VPC Encryption Control configuration.
- Nat
Gateway Pulumi.Exclusion Aws Native. Ec2. Vpc Encryption Control Nat Gateway Exclusion - Resource
Exclusions Pulumi.Aws Native. Ec2. Inputs. Vpc Encryption Control Exclusions - Information about resource exclusions for the VPC Encryption Control configuration.
- State string
- The current state of the VPC Encryption Control configuration.
- State
Message string - A message providing additional information about the encryption control state.
- Virtual
Private Pulumi.Gateway Exclusion Aws Native. Ec2. Vpc Encryption Control Virtual Private Gateway Exclusion - Vpc
Encryption stringControl Id - The ID of the VPC Encryption Control configuration.
- Vpc
Id string - The ID of the VPC associated with the encryption control configuration.
- Vpc
Lattice Pulumi.Exclusion Aws Native. Ec2. Vpc Encryption Control Vpc Lattice Exclusion - Vpc
Peering Pulumi.Exclusion Aws Native. Ec2. Vpc Encryption Control Vpc Peering Exclusion
- Egress
Only VpcInternet Gateway Exclusion Encryption Control Egress Only Internet Gateway Exclusion - Elastic
File VpcSystem Exclusion Encryption Control Elastic File System Exclusion - Internet
Gateway VpcExclusion Encryption Control Internet Gateway Exclusion - Lambda
Exclusion VpcEncryption Control Lambda Exclusion - Mode
Vpc
Encryption Control Mode - The encryption mode for the VPC Encryption Control configuration.
- Nat
Gateway VpcExclusion Encryption Control Nat Gateway Exclusion - Resource
Exclusions VpcEncryption Control Exclusions - Information about resource exclusions for the VPC Encryption Control configuration.
- State string
- The current state of the VPC Encryption Control configuration.
- State
Message string - A message providing additional information about the encryption control state.
- Virtual
Private VpcGateway Exclusion Encryption Control Virtual Private Gateway Exclusion - Vpc
Encryption stringControl Id - The ID of the VPC Encryption Control configuration.
- Vpc
Id string - The ID of the VPC associated with the encryption control configuration.
- Vpc
Lattice VpcExclusion Encryption Control Vpc Lattice Exclusion - Vpc
Peering VpcExclusion Encryption Control Vpc Peering Exclusion
- egress_
only_ "enable" | "disable"internet_ gateway_ exclusion - elastic_
file_ "enable" | "disable"system_ exclusion - internet_
gateway_ "enable" | "disable"exclusion - lambda_
exclusion "enable" | "disable" - mode "monitor" | "enforce"
- The encryption mode for the VPC Encryption Control configuration.
- nat_
gateway_ "enable" | "disable"exclusion - resource_
exclusions object - Information about resource exclusions for the VPC Encryption Control configuration.
- state string
- The current state of the VPC Encryption Control configuration.
- state_
message string - A message providing additional information about the encryption control state.
- virtual_
private_ "enable" | "disable"gateway_ exclusion - vpc_
encryption_ stringcontrol_ id - The ID of the VPC Encryption Control configuration.
- vpc_
id string - The ID of the VPC associated with the encryption control configuration.
- vpc_
lattice_ "enable" | "disable"exclusion - vpc_
peering_ "enable" | "disable"exclusion
- egress
Only VpcInternet Gateway Exclusion Encryption Control Egress Only Internet Gateway Exclusion - elastic
File VpcSystem Exclusion Encryption Control Elastic File System Exclusion - internet
Gateway VpcExclusion Encryption Control Internet Gateway Exclusion - lambda
Exclusion VpcEncryption Control Lambda Exclusion - mode
Vpc
Encryption Control Mode - The encryption mode for the VPC Encryption Control configuration.
- nat
Gateway VpcExclusion Encryption Control Nat Gateway Exclusion - resource
Exclusions VpcEncryption Control Exclusions - Information about resource exclusions for the VPC Encryption Control configuration.
- state String
- The current state of the VPC Encryption Control configuration.
- state
Message String - A message providing additional information about the encryption control state.
- virtual
Private VpcGateway Exclusion Encryption Control Virtual Private Gateway Exclusion - vpc
Encryption StringControl Id - The ID of the VPC Encryption Control configuration.
- vpc
Id String - The ID of the VPC associated with the encryption control configuration.
- vpc
Lattice VpcExclusion Encryption Control Vpc Lattice Exclusion - vpc
Peering VpcExclusion Encryption Control Vpc Peering Exclusion
- egress
Only VpcInternet Gateway Exclusion Encryption Control Egress Only Internet Gateway Exclusion - elastic
File VpcSystem Exclusion Encryption Control Elastic File System Exclusion - internet
Gateway VpcExclusion Encryption Control Internet Gateway Exclusion - lambda
Exclusion VpcEncryption Control Lambda Exclusion - mode
Vpc
Encryption Control Mode - The encryption mode for the VPC Encryption Control configuration.
- nat
Gateway VpcExclusion Encryption Control Nat Gateway Exclusion - resource
Exclusions VpcEncryption Control Exclusions - Information about resource exclusions for the VPC Encryption Control configuration.
- state string
- The current state of the VPC Encryption Control configuration.
- state
Message string - A message providing additional information about the encryption control state.
- virtual
Private VpcGateway Exclusion Encryption Control Virtual Private Gateway Exclusion - vpc
Encryption stringControl Id - The ID of the VPC Encryption Control configuration.
- vpc
Id string - The ID of the VPC associated with the encryption control configuration.
- vpc
Lattice VpcExclusion Encryption Control Vpc Lattice Exclusion - vpc
Peering VpcExclusion Encryption Control Vpc Peering Exclusion
- egress_
only_ Vpcinternet_ gateway_ exclusion Encryption Control Egress Only Internet Gateway Exclusion - elastic_
file_ Vpcsystem_ exclusion Encryption Control Elastic File System Exclusion - internet_
gateway_ Vpcexclusion Encryption Control Internet Gateway Exclusion - lambda_
exclusion VpcEncryption Control Lambda Exclusion - mode
Vpc
Encryption Control Mode - The encryption mode for the VPC Encryption Control configuration.
- nat_
gateway_ Vpcexclusion Encryption Control Nat Gateway Exclusion - resource_
exclusions VpcEncryption Control Exclusions - Information about resource exclusions for the VPC Encryption Control configuration.
- state str
- The current state of the VPC Encryption Control configuration.
- state_
message str - A message providing additional information about the encryption control state.
- virtual_
private_ Vpcgateway_ exclusion Encryption Control Virtual Private Gateway Exclusion - vpc_
encryption_ strcontrol_ id - The ID of the VPC Encryption Control configuration.
- vpc_
id str - The ID of the VPC associated with the encryption control configuration.
- vpc_
lattice_ Vpcexclusion Encryption Control Vpc Lattice Exclusion - vpc_
peering_ Vpcexclusion Encryption Control Vpc Peering Exclusion
- egress
Only "enable" | "disable"Internet Gateway Exclusion - elastic
File "enable" | "disable"System Exclusion - internet
Gateway "enable" | "disable"Exclusion - lambda
Exclusion "enable" | "disable" - mode "monitor" | "enforce"
- The encryption mode for the VPC Encryption Control configuration.
- nat
Gateway "enable" | "disable"Exclusion - resource
Exclusions Property Map - Information about resource exclusions for the VPC Encryption Control configuration.
- state String
- The current state of the VPC Encryption Control configuration.
- state
Message String - A message providing additional information about the encryption control state.
- virtual
Private "enable" | "disable"Gateway Exclusion - vpc
Encryption StringControl Id - The ID of the VPC Encryption Control configuration.
- vpc
Id String - The ID of the VPC associated with the encryption control configuration.
- vpc
Lattice "enable" | "disable"Exclusion - vpc
Peering "enable" | "disable"Exclusion
VpcEncryptionControlEgressOnlyInternetGatewayExclusion, VpcEncryptionControlEgressOnlyInternetGatewayExclusionArgs
- Enable
enable- Disable
disable
- Vpc
Encryption Control Egress Only Internet Gateway Exclusion Enable enable- Vpc
Encryption Control Egress Only Internet Gateway Exclusion Disable disable
- "enable"
enable- "disable"
disable
- Enable
enable- Disable
disable
- Enable
enable- Disable
disable
- ENABLE
enable- DISABLE
disable
- "enable"
enable- "disable"
disable
VpcEncryptionControlElasticFileSystemExclusion, VpcEncryptionControlElasticFileSystemExclusionArgs
- Enable
enable- Disable
disable
- Vpc
Encryption Control Elastic File System Exclusion Enable enable- Vpc
Encryption Control Elastic File System Exclusion Disable disable
- "enable"
enable- "disable"
disable
- Enable
enable- Disable
disable
- Enable
enable- Disable
disable
- ENABLE
enable- DISABLE
disable
- "enable"
enable- "disable"
disable
VpcEncryptionControlExclusion, VpcEncryptionControlExclusionArgs
- State string
- The current state of the exclusion configuration.
- State
Message string - A message providing additional information about the exclusion state.
- State string
- The current state of the exclusion configuration.
- State
Message string - A message providing additional information about the exclusion state.
- state string
- The current state of the exclusion configuration.
- state_
message string - A message providing additional information about the exclusion state.
- state String
- The current state of the exclusion configuration.
- state
Message String - A message providing additional information about the exclusion state.
- state string
- The current state of the exclusion configuration.
- state
Message string - A message providing additional information about the exclusion state.
- state str
- The current state of the exclusion configuration.
- state_
message str - A message providing additional information about the exclusion state.
- state String
- The current state of the exclusion configuration.
- state
Message String - A message providing additional information about the exclusion state.
VpcEncryptionControlExclusions, VpcEncryptionControlExclusionsArgs
Describes the exclusion configurations for various resource types in VPC Encryption Control.
For more information, see Enforce VPC encryption in transit in the Amazon VPC User Guide.- Egress
Only Pulumi.Internet Gateway Aws Native. Ec2. Inputs. Vpc Encryption Control Exclusion - The exclusion configuration for egress-only internet gateway traffic.
- Elastic
File Pulumi.System Aws Native. Ec2. Inputs. Vpc Encryption Control Exclusion - The exclusion configuration for Elastic File System traffic.
- Internet
Gateway Pulumi.Aws Native. Ec2. Inputs. Vpc Encryption Control Exclusion - The exclusion configuration for internet gateway traffic.
- Lambda
Pulumi.
Aws Native. Ec2. Inputs. Vpc Encryption Control Exclusion - The exclusion configuration for Lambda function traffic.
- Nat
Gateway Pulumi.Aws Native. Ec2. Inputs. Vpc Encryption Control Exclusion - The exclusion configuration for NAT gateway traffic.
- Virtual
Private Pulumi.Gateway Aws Native. Ec2. Inputs. Vpc Encryption Control Exclusion - The exclusion configuration for virtual private gateway traffic.
- Vpc
Lattice Pulumi.Aws Native. Ec2. Inputs. Vpc Encryption Control Exclusion - The exclusion configuration for VPC Lattice traffic.
- Vpc
Peering Pulumi.Aws Native. Ec2. Inputs. Vpc Encryption Control Exclusion - The exclusion configuration for VPC peering connection traffic.
- Egress
Only VpcInternet Gateway Encryption Control Exclusion - The exclusion configuration for egress-only internet gateway traffic.
- Elastic
File VpcSystem Encryption Control Exclusion - The exclusion configuration for Elastic File System traffic.
- Internet
Gateway VpcEncryption Control Exclusion - The exclusion configuration for internet gateway traffic.
- Lambda
Vpc
Encryption Control Exclusion - The exclusion configuration for Lambda function traffic.
- Nat
Gateway VpcEncryption Control Exclusion - The exclusion configuration for NAT gateway traffic.
- Virtual
Private VpcGateway Encryption Control Exclusion - The exclusion configuration for virtual private gateway traffic.
- Vpc
Lattice VpcEncryption Control Exclusion - The exclusion configuration for VPC Lattice traffic.
- Vpc
Peering VpcEncryption Control Exclusion - The exclusion configuration for VPC peering connection traffic.
- egress_
only_ objectinternet_ gateway - The exclusion configuration for egress-only internet gateway traffic.
- elastic_
file_ objectsystem - The exclusion configuration for Elastic File System traffic.
- internet_
gateway object - The exclusion configuration for internet gateway traffic.
- lambda object
- The exclusion configuration for Lambda function traffic.
- nat_
gateway object - The exclusion configuration for NAT gateway traffic.
- virtual_
private_ objectgateway - The exclusion configuration for virtual private gateway traffic.
- vpc_
lattice object - The exclusion configuration for VPC Lattice traffic.
- vpc_
peering object - The exclusion configuration for VPC peering connection traffic.
- egress
Only VpcInternet Gateway Encryption Control Exclusion - The exclusion configuration for egress-only internet gateway traffic.
- elastic
File VpcSystem Encryption Control Exclusion - The exclusion configuration for Elastic File System traffic.
- internet
Gateway VpcEncryption Control Exclusion - The exclusion configuration for internet gateway traffic.
- lambda
Vpc
Encryption Control Exclusion - The exclusion configuration for Lambda function traffic.
- nat
Gateway VpcEncryption Control Exclusion - The exclusion configuration for NAT gateway traffic.
- virtual
Private VpcGateway Encryption Control Exclusion - The exclusion configuration for virtual private gateway traffic.
- vpc
Lattice VpcEncryption Control Exclusion - The exclusion configuration for VPC Lattice traffic.
- vpc
Peering VpcEncryption Control Exclusion - The exclusion configuration for VPC peering connection traffic.
- egress
Only VpcInternet Gateway Encryption Control Exclusion - The exclusion configuration for egress-only internet gateway traffic.
- elastic
File VpcSystem Encryption Control Exclusion - The exclusion configuration for Elastic File System traffic.
- internet
Gateway VpcEncryption Control Exclusion - The exclusion configuration for internet gateway traffic.
- lambda
Vpc
Encryption Control Exclusion - The exclusion configuration for Lambda function traffic.
- nat
Gateway VpcEncryption Control Exclusion - The exclusion configuration for NAT gateway traffic.
- virtual
Private VpcGateway Encryption Control Exclusion - The exclusion configuration for virtual private gateway traffic.
- vpc
Lattice VpcEncryption Control Exclusion - The exclusion configuration for VPC Lattice traffic.
- vpc
Peering VpcEncryption Control Exclusion - The exclusion configuration for VPC peering connection traffic.
- egress_
only_ Vpcinternet_ gateway Encryption Control Exclusion - The exclusion configuration for egress-only internet gateway traffic.
- elastic_
file_ Vpcsystem Encryption Control Exclusion - The exclusion configuration for Elastic File System traffic.
- internet_
gateway VpcEncryption Control Exclusion - The exclusion configuration for internet gateway traffic.
- lambda_
Vpc
Encryption Control Exclusion - The exclusion configuration for Lambda function traffic.
- nat_
gateway VpcEncryption Control Exclusion - The exclusion configuration for NAT gateway traffic.
- virtual_
private_ Vpcgateway Encryption Control Exclusion - The exclusion configuration for virtual private gateway traffic.
- vpc_
lattice VpcEncryption Control Exclusion - The exclusion configuration for VPC Lattice traffic.
- vpc_
peering VpcEncryption Control Exclusion - The exclusion configuration for VPC peering connection traffic.
- egress
Only Property MapInternet Gateway - The exclusion configuration for egress-only internet gateway traffic.
- elastic
File Property MapSystem - The exclusion configuration for Elastic File System traffic.
- internet
Gateway Property Map - The exclusion configuration for internet gateway traffic.
- lambda Property Map
- The exclusion configuration for Lambda function traffic.
- nat
Gateway Property Map - The exclusion configuration for NAT gateway traffic.
- virtual
Private Property MapGateway - The exclusion configuration for virtual private gateway traffic.
- vpc
Lattice Property Map - The exclusion configuration for VPC Lattice traffic.
- vpc
Peering Property Map - The exclusion configuration for VPC peering connection traffic.
VpcEncryptionControlInternetGatewayExclusion, VpcEncryptionControlInternetGatewayExclusionArgs
- Enable
enable- Disable
disable
- Vpc
Encryption Control Internet Gateway Exclusion Enable enable- Vpc
Encryption Control Internet Gateway Exclusion Disable disable
- "enable"
enable- "disable"
disable
- Enable
enable- Disable
disable
- Enable
enable- Disable
disable
- ENABLE
enable- DISABLE
disable
- "enable"
enable- "disable"
disable
VpcEncryptionControlLambdaExclusion, VpcEncryptionControlLambdaExclusionArgs
- Enable
enable- Disable
disable
- Vpc
Encryption Control Lambda Exclusion Enable enable- Vpc
Encryption Control Lambda Exclusion Disable disable
- "enable"
enable- "disable"
disable
- Enable
enable- Disable
disable
- Enable
enable- Disable
disable
- ENABLE
enable- DISABLE
disable
- "enable"
enable- "disable"
disable
VpcEncryptionControlMode, VpcEncryptionControlModeArgs
- Monitor
monitor- Enforce
enforce
- Vpc
Encryption Control Mode Monitor monitor- Vpc
Encryption Control Mode Enforce enforce
- "monitor"
monitor- "enforce"
enforce
- Monitor
monitor- Enforce
enforce
- Monitor
monitor- Enforce
enforce
- MONITOR
monitor- ENFORCE
enforce
- "monitor"
monitor- "enforce"
enforce
VpcEncryptionControlNatGatewayExclusion, VpcEncryptionControlNatGatewayExclusionArgs
- Enable
enable- Disable
disable
- Vpc
Encryption Control Nat Gateway Exclusion Enable enable- Vpc
Encryption Control Nat Gateway Exclusion Disable disable
- "enable"
enable- "disable"
disable
- Enable
enable- Disable
disable
- Enable
enable- Disable
disable
- ENABLE
enable- DISABLE
disable
- "enable"
enable- "disable"
disable
VpcEncryptionControlVirtualPrivateGatewayExclusion, VpcEncryptionControlVirtualPrivateGatewayExclusionArgs
- Enable
enable- Disable
disable
- Vpc
Encryption Control Virtual Private Gateway Exclusion Enable enable- Vpc
Encryption Control Virtual Private Gateway Exclusion Disable disable
- "enable"
enable- "disable"
disable
- Enable
enable- Disable
disable
- Enable
enable- Disable
disable
- ENABLE
enable- DISABLE
disable
- "enable"
enable- "disable"
disable
VpcEncryptionControlVpcLatticeExclusion, VpcEncryptionControlVpcLatticeExclusionArgs
- Enable
enable- Disable
disable
- Vpc
Encryption Control Vpc Lattice Exclusion Enable enable- Vpc
Encryption Control Vpc Lattice Exclusion Disable disable
- "enable"
enable- "disable"
disable
- Enable
enable- Disable
disable
- Enable
enable- Disable
disable
- ENABLE
enable- DISABLE
disable
- "enable"
enable- "disable"
disable
VpcEncryptionControlVpcPeeringExclusion, VpcEncryptionControlVpcPeeringExclusionArgs
- Enable
enable- Disable
disable
- Vpc
Encryption Control Vpc Peering Exclusion Enable enable- Vpc
Encryption Control Vpc Peering Exclusion Disable disable
- "enable"
enable- "disable"
disable
- Enable
enable- Disable
disable
- Enable
enable- Disable
disable
- ENABLE
enable- DISABLE
disable
- "enable"
enable- "disable"
disable
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
published on Monday, Aug 24, 2026 by Pulumi