interface VpcEncryptionControlProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.EC2.CfnVPC.VpcEncryptionControlProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsec2#CfnVPC_VpcEncryptionControlProperty |
Java | software.amazon.awscdk.services.ec2.CfnVPC.VpcEncryptionControlProperty |
Python | aws_cdk.aws_ec2.CfnVPC.VpcEncryptionControlProperty |
TypeScript | aws-cdk-lib » aws_ec2 » CfnVPC » VpcEncryptionControlProperty |
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ec2 as ec2 } from 'aws-cdk-lib';
const vpcEncryptionControlProperty: ec2.CfnVPC.VpcEncryptionControlProperty = {
egressOnlyInternetGatewayExclusion: 'egressOnlyInternetGatewayExclusion',
elasticFileSystemExclusion: 'elasticFileSystemExclusion',
internetGatewayExclusion: 'internetGatewayExclusion',
lambdaExclusion: 'lambdaExclusion',
mode: 'mode',
natGatewayExclusion: 'natGatewayExclusion',
resourceExclusions: {
egressOnlyInternetGateway: {
state: 'state',
stateMessage: 'stateMessage',
},
elasticFileSystem: {
state: 'state',
stateMessage: 'stateMessage',
},
internetGateway: {
state: 'state',
stateMessage: 'stateMessage',
},
lambda: {
state: 'state',
stateMessage: 'stateMessage',
},
natGateway: {
state: 'state',
stateMessage: 'stateMessage',
},
virtualPrivateGateway: {
state: 'state',
stateMessage: 'stateMessage',
},
vpcLattice: {
state: 'state',
stateMessage: 'stateMessage',
},
vpcPeering: {
state: 'state',
stateMessage: 'stateMessage',
},
},
state: 'state',
stateMessage: 'stateMessage',
virtualPrivateGatewayExclusion: 'virtualPrivateGatewayExclusion',
vpcEncryptionControlId: 'vpcEncryptionControlId',
vpcId: 'vpcId',
vpcLatticeExclusion: 'vpcLatticeExclusion',
vpcPeeringExclusion: 'vpcPeeringExclusion',
};
Properties
| Name | Type | Description |
|---|---|---|
| egress | string | The desired exclusion mode for Egress-Only Internet Gateways. |
| elastic | string | The desired exclusion mode for Elastic File System. |
| internet | string | The desired exclusion mode for Internet Gateways. |
| lambda | string | The desired exclusion mode for Lambda. |
| mode? | string | The mode of the VPC encryption control. |
| nat | string | The desired exclusion mode for NAT Gateways. |
| resource | IResolvable | Vpc | |
| state? | string | The state of the VPC encryption control. |
| state | string | A message describing the state of the VPC encryption control. |
| virtual | string | The desired exclusion mode for Virtual Private Gateways. |
| vpc | string | The ID of the VPC encryption control. |
| vpc | string | The ID of the VPC. |
| vpc | string | The desired exclusion mode for VPC Lattice. |
| vpc | string | The desired exclusion mode for VPC Peering. |
egressOnlyInternetGatewayExclusion?
Type:
string
(optional)
The desired exclusion mode for Egress-Only Internet Gateways.
elasticFileSystemExclusion?
Type:
string
(optional)
The desired exclusion mode for Elastic File System.
internetGatewayExclusion?
Type:
string
(optional)
The desired exclusion mode for Internet Gateways.
lambdaExclusion?
Type:
string
(optional)
The desired exclusion mode for Lambda.
mode?
Type:
string
(optional)
The mode of the VPC encryption control.
natGatewayExclusion?
Type:
string
(optional)
The desired exclusion mode for NAT Gateways.
resourceExclusions?
Type:
IResolvable | Vpc
(optional)
state?
Type:
string
(optional)
The state of the VPC encryption control.
stateMessage?
Type:
string
(optional)
A message describing the state of the VPC encryption control.
virtualPrivateGatewayExclusion?
Type:
string
(optional)
The desired exclusion mode for Virtual Private Gateways.
vpcEncryptionControlId?
Type:
string
(optional)
The ID of the VPC encryption control.
vpcId?
Type:
string
(optional)
The ID of the VPC.
vpcLatticeExclusion?
Type:
string
(optional)
The desired exclusion mode for VPC Lattice.
vpcPeeringExclusion?
Type:
string
(optional)
The desired exclusion mode for VPC Peering.

.NET
Go
Java
Python
TypeScript