We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.44.0 published on Friday, Dec 19, 2025 by Pulumi
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.44.0 published on Friday, Dec 19, 2025 by Pulumi
Resource Type definition for AWS::EC2::VPCEncryptionControl
Using getVpcEncryptionControl
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getVpcEncryptionControl(args: GetVpcEncryptionControlArgs, opts?: InvokeOptions): Promise<GetVpcEncryptionControlResult>
function getVpcEncryptionControlOutput(args: GetVpcEncryptionControlOutputArgs, opts?: InvokeOptions): Output<GetVpcEncryptionControlResult>def get_vpc_encryption_control(vpc_encryption_control_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetVpcEncryptionControlResult
def get_vpc_encryption_control_output(vpc_encryption_control_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetVpcEncryptionControlResult]func LookupVpcEncryptionControl(ctx *Context, args *LookupVpcEncryptionControlArgs, opts ...InvokeOption) (*LookupVpcEncryptionControlResult, error)
func LookupVpcEncryptionControlOutput(ctx *Context, args *LookupVpcEncryptionControlOutputArgs, opts ...InvokeOption) LookupVpcEncryptionControlResultOutput> Note: This function is named LookupVpcEncryptionControl in the Go SDK.
public static class GetVpcEncryptionControl
{
public static Task<GetVpcEncryptionControlResult> InvokeAsync(GetVpcEncryptionControlArgs args, InvokeOptions? opts = null)
public static Output<GetVpcEncryptionControlResult> Invoke(GetVpcEncryptionControlInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetVpcEncryptionControlResult> getVpcEncryptionControl(GetVpcEncryptionControlArgs args, InvokeOptions options)
public static Output<GetVpcEncryptionControlResult> getVpcEncryptionControl(GetVpcEncryptionControlArgs args, InvokeOptions options)
fn::invoke:
function: aws-native:ec2:getVpcEncryptionControl
arguments:
# arguments dictionaryThe following arguments are supported:
- Vpc
Encryption stringControl Id - The VPC encryption control resource id.
- Vpc
Encryption stringControl Id - The VPC encryption control resource id.
- vpc
Encryption StringControl Id - The VPC encryption control resource id.
- vpc
Encryption stringControl Id - The VPC encryption control resource id.
- vpc_
encryption_ strcontrol_ id - The VPC encryption control resource id.
- vpc
Encryption StringControl Id - The VPC encryption control resource id.
getVpcEncryptionControl Result
The following output properties are available:
- Mode
Pulumi.
Aws Native. Ec2. Vpc Encryption Control Mode - The VPC encryption control mode, either monitor or enforce.
- Resource
Exclusions Pulumi.Aws Native. Ec2. Outputs. Vpc Encryption Control Resource Exclusions - Enumerates the states of all the VPC encryption control resource exclusions
- State
Pulumi.
Aws Native. Ec2. Vpc Encryption Control State - The current state of the VPC encryption control.
- State
Message string - Provides additional context on the state of the VPC encryption control.
-
List<Pulumi.
Aws Native. Outputs. Tag> - The tags to assign to the VPC encryption control.
- Vpc
Encryption stringControl Id - The VPC encryption control resource id.
- Mode
Vpc
Encryption Control Mode - The VPC encryption control mode, either monitor or enforce.
- Resource
Exclusions VpcEncryption Control Resource Exclusions - Enumerates the states of all the VPC encryption control resource exclusions
- State
Vpc
Encryption Control State Enum - The current state of the VPC encryption control.
- State
Message string - Provides additional context on the state of the VPC encryption control.
- Tag
- The tags to assign to the VPC encryption control.
- Vpc
Encryption stringControl Id - The VPC encryption control resource id.
- mode
Vpc
Encryption Control Mode - The VPC encryption control mode, either monitor or enforce.
- resource
Exclusions VpcEncryption Control Resource Exclusions - Enumerates the states of all the VPC encryption control resource exclusions
- state
Vpc
Encryption Control State - The current state of the VPC encryption control.
- state
Message String - Provides additional context on the state of the VPC encryption control.
- List<Tag>
- The tags to assign to the VPC encryption control.
- vpc
Encryption StringControl Id - The VPC encryption control resource id.
- mode
Vpc
Encryption Control Mode - The VPC encryption control mode, either monitor or enforce.
- resource
Exclusions VpcEncryption Control Resource Exclusions - Enumerates the states of all the VPC encryption control resource exclusions
- state
Vpc
Encryption Control State - The current state of the VPC encryption control.
- state
Message string - Provides additional context on the state of the VPC encryption control.
- Tag[]
- The tags to assign to the VPC encryption control.
- vpc
Encryption stringControl Id - The VPC encryption control resource id.
- mode
Vpc
Encryption Control Mode - The VPC encryption control mode, either monitor or enforce.
- resource_
exclusions VpcEncryption Control Resource Exclusions - Enumerates the states of all the VPC encryption control resource exclusions
- state
Vpc
Encryption Control State - The current state of the VPC encryption control.
- state_
message str - Provides additional context on the state of the VPC encryption control.
- Sequence[root_Tag]
- The tags to assign to the VPC encryption control.
- vpc_
encryption_ strcontrol_ id - The VPC encryption control resource id.
- mode "monitor" | "enforce"
- The VPC encryption control mode, either monitor or enforce.
- resource
Exclusions Property Map - Enumerates the states of all the VPC encryption control resource exclusions
- state "creating" | "available" | "monitor-in-progress" | "enforce-in-progress" | "monitor-failed" | "enforce-failed" | "deleting" | "deleted" | "delete-failed"
- The current state of the VPC encryption control.
- state
Message String - Provides additional context on the state of the VPC encryption control.
- List<Property Map>
- The tags to assign to the VPC encryption control.
- vpc
Encryption StringControl Id - The VPC encryption control resource id.
Supporting Types
Tag
VpcEncryptionControlExclusion
- 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.
VpcEncryptionControlMode
VpcEncryptionControlResourceExclusions
- Egress
Only Pulumi.Internet Gateway Aws Native. Ec2. Inputs. Vpc Encryption Control Exclusion - Specifies whether to exclude egress-only internet gateway traffic from encryption enforcement.
- Elastic
File Pulumi.System Aws Native. Ec2. Inputs. Vpc Encryption Control Exclusion - Specifies whether to exclude Elastic File System traffic from encryption enforcement.
- Internet
Gateway Pulumi.Aws Native. Ec2. Inputs. Vpc Encryption Control Exclusion - Specifies whether to exclude internet gateway traffic from encryption enforcement.
- Lambda
Pulumi.
Aws Native. Ec2. Inputs. Vpc Encryption Control Exclusion - Specifies whether to exclude Lambda function traffic from encryption enforcement.
- Nat
Gateway Pulumi.Aws Native. Ec2. Inputs. Vpc Encryption Control Exclusion - Specifies whether to exclude NAT gateway traffic from encryption enforcement.
- Virtual
Private Pulumi.Gateway Aws Native. Ec2. Inputs. Vpc Encryption Control Exclusion - Specifies whether to exclude virtual private gateway traffic from encryption enforcement.
- Vpc
Lattice Pulumi.Aws Native. Ec2. Inputs. Vpc Encryption Control Exclusion - Specifies whether to exclude VPC Lattice traffic from encryption enforcement.
- Vpc
Peering Pulumi.Aws Native. Ec2. Inputs. Vpc Encryption Control Exclusion - Specifies whether to exclude VPC peering connection traffic from encryption enforcement.
- Egress
Only VpcInternet Gateway Encryption Control Exclusion - Specifies whether to exclude egress-only internet gateway traffic from encryption enforcement.
- Elastic
File VpcSystem Encryption Control Exclusion - Specifies whether to exclude Elastic File System traffic from encryption enforcement.
- Internet
Gateway VpcEncryption Control Exclusion - Specifies whether to exclude internet gateway traffic from encryption enforcement.
- Lambda
Vpc
Encryption Control Exclusion - Specifies whether to exclude Lambda function traffic from encryption enforcement.
- Nat
Gateway VpcEncryption Control Exclusion - Specifies whether to exclude NAT gateway traffic from encryption enforcement.
- Virtual
Private VpcGateway Encryption Control Exclusion - Specifies whether to exclude virtual private gateway traffic from encryption enforcement.
- Vpc
Lattice VpcEncryption Control Exclusion - Specifies whether to exclude VPC Lattice traffic from encryption enforcement.
- Vpc
Peering VpcEncryption Control Exclusion - Specifies whether to exclude VPC peering connection traffic from encryption enforcement.
- egress
Only VpcInternet Gateway Encryption Control Exclusion - Specifies whether to exclude egress-only internet gateway traffic from encryption enforcement.
- elastic
File VpcSystem Encryption Control Exclusion - Specifies whether to exclude Elastic File System traffic from encryption enforcement.
- internet
Gateway VpcEncryption Control Exclusion - Specifies whether to exclude internet gateway traffic from encryption enforcement.
- lambda
Vpc
Encryption Control Exclusion - Specifies whether to exclude Lambda function traffic from encryption enforcement.
- nat
Gateway VpcEncryption Control Exclusion - Specifies whether to exclude NAT gateway traffic from encryption enforcement.
- virtual
Private VpcGateway Encryption Control Exclusion - Specifies whether to exclude virtual private gateway traffic from encryption enforcement.
- vpc
Lattice VpcEncryption Control Exclusion - Specifies whether to exclude VPC Lattice traffic from encryption enforcement.
- vpc
Peering VpcEncryption Control Exclusion - Specifies whether to exclude VPC peering connection traffic from encryption enforcement.
- egress
Only VpcInternet Gateway Encryption Control Exclusion - Specifies whether to exclude egress-only internet gateway traffic from encryption enforcement.
- elastic
File VpcSystem Encryption Control Exclusion - Specifies whether to exclude Elastic File System traffic from encryption enforcement.
- internet
Gateway VpcEncryption Control Exclusion - Specifies whether to exclude internet gateway traffic from encryption enforcement.
- lambda
Vpc
Encryption Control Exclusion - Specifies whether to exclude Lambda function traffic from encryption enforcement.
- nat
Gateway VpcEncryption Control Exclusion - Specifies whether to exclude NAT gateway traffic from encryption enforcement.
- virtual
Private VpcGateway Encryption Control Exclusion - Specifies whether to exclude virtual private gateway traffic from encryption enforcement.
- vpc
Lattice VpcEncryption Control Exclusion - Specifies whether to exclude VPC Lattice traffic from encryption enforcement.
- vpc
Peering VpcEncryption Control Exclusion - Specifies whether to exclude VPC peering connection traffic from encryption enforcement.
- egress_
only_ Vpcinternet_ gateway Encryption Control Exclusion - Specifies whether to exclude egress-only internet gateway traffic from encryption enforcement.
- elastic_
file_ Vpcsystem Encryption Control Exclusion - Specifies whether to exclude Elastic File System traffic from encryption enforcement.
- internet_
gateway VpcEncryption Control Exclusion - Specifies whether to exclude internet gateway traffic from encryption enforcement.
- lambda_
Vpc
Encryption Control Exclusion - Specifies whether to exclude Lambda function traffic from encryption enforcement.
- nat_
gateway VpcEncryption Control Exclusion - Specifies whether to exclude NAT gateway traffic from encryption enforcement.
- virtual_
private_ Vpcgateway Encryption Control Exclusion - Specifies whether to exclude virtual private gateway traffic from encryption enforcement.
- vpc_
lattice VpcEncryption Control Exclusion - Specifies whether to exclude VPC Lattice traffic from encryption enforcement.
- vpc_
peering VpcEncryption Control Exclusion - Specifies whether to exclude VPC peering connection traffic from encryption enforcement.
- egress
Only Property MapInternet Gateway - Specifies whether to exclude egress-only internet gateway traffic from encryption enforcement.
- elastic
File Property MapSystem - Specifies whether to exclude Elastic File System traffic from encryption enforcement.
- internet
Gateway Property Map - Specifies whether to exclude internet gateway traffic from encryption enforcement.
- lambda Property Map
- Specifies whether to exclude Lambda function traffic from encryption enforcement.
- nat
Gateway Property Map - Specifies whether to exclude NAT gateway traffic from encryption enforcement.
- virtual
Private Property MapGateway - Specifies whether to exclude virtual private gateway traffic from encryption enforcement.
- vpc
Lattice Property Map - Specifies whether to exclude VPC Lattice traffic from encryption enforcement.
- vpc
Peering Property Map - Specifies whether to exclude VPC peering connection traffic from encryption enforcement.
VpcEncryptionControlState
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.44.0 published on Friday, Dec 19, 2025 by Pulumi
