AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::EC2::VPCEncryptionControl

CfnVPCEncryptionControl

Describes the configuration and state of VPC encryption controls. For more information, see [Enforce VPC encryption in transit](https://docs.aws.amazon.com/vpc/latest/userguide/vpc-encryption-controls.html) in the *Amazon VPC User Guide* .

Import

import { CfnVPCEncryptionControl } from 'aws-cdk-lib/aws-ec2';

Or use the module namespace:

import * as ec2 from 'aws-cdk-lib/aws-ec2';
// ec2.CfnVPCEncryptionControl

Properties

Configuration passed to the constructor as CfnVPCEncryptionControlProps.

egressOnlyInternetGatewayExclusionInputOptional
string

Specifies whether to exclude egress-only internet gateway traffic from encryption enforcement.

elasticFileSystemExclusionInputOptional
string

Specifies whether to exclude Elastic File System traffic from encryption enforcement.

internetGatewayExclusionInputOptional
string

Specifies whether to exclude internet gateway traffic from encryption enforcement.

lambdaExclusionInputOptional
string

Specifies whether to exclude Lambda function traffic from encryption enforcement.

modeOptional
string

The encryption mode for the VPC Encryption Control configuration.

natGatewayExclusionInputOptional
string

Specifies whether to exclude NAT gateway traffic from encryption enforcement.

tagsOptional
CfnTag[]

The tags assigned to the VPC Encryption Control configuration.

virtualPrivateGatewayExclusionInputOptional
string

Specifies whether to exclude virtual private gateway traffic from encryption enforcement.

vpcIdOptional
string

The ID of the VPC for which to create the encryption control configuration.

vpcLatticeExclusionInputOptional
string

Specifies whether to exclude VPC Lattice traffic from encryption enforcement.

vpcPeeringExclusionInputOptional
string

Specifies whether to exclude VPC peering connection traffic from encryption enforcement.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Get the Amazon EC2 Cheat Sheet

Everything you need to know about Amazon EC2 on one page. HD quality, print-friendly.

Download Free Infographic