interface VpcEncryptionControlProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.EC2.CfnVPCPropsMixin.VpcEncryptionControlProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsec2#CfnVPCPropsMixin_VpcEncryptionControlProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnVPCPropsMixin.VpcEncryptionControlProperty |
Python | aws_cdk.cfn_property_mixins.aws_ec2.CfnVPCPropsMixin.VpcEncryptionControlProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_ec2 » CfnVPCPropsMixin » VpcEncryptionControlProperty |
Describes the configuration and state of VPC encryption controls.
For more information, see Enforce VPC encryption in transit in the Amazon VPC User Guide.
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/cfn-property-mixins';
const vpcEncryptionControlProperty: ec2.CfnVPCPropsMixin.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 | |
| elastic | string | |
| internet | string | |
| lambda | string | |
| mode? | string | The encryption mode for the VPC Encryption Control configuration. |
| nat | string | |
| resource | IResolvable | Vpc | Describes the exclusion configurations for various resource types in VPC Encryption Control. |
| state? | string | The current state of the VPC Encryption Control configuration. |
| state | string | A message providing additional information about the encryption control state. |
| virtual | string | |
| vpc | string | The ID of the VPC Encryption Control configuration. |
| vpc | string | The ID of the VPC associated with the encryption control configuration. |
| vpc | string | |
| vpc | string |
egressOnlyInternetGatewayExclusion?
Type:
string
(optional)
elasticFileSystemExclusion?
Type:
string
(optional)
internetGatewayExclusion?
Type:
string
(optional)
lambdaExclusion?
Type:
string
(optional)
mode?
Type:
string
(optional)
The encryption mode for the VPC Encryption Control configuration.
natGatewayExclusion?
Type:
string
(optional)
resourceExclusions?
Type:
IResolvable | Vpc
(optional)
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.
state?
Type:
string
(optional)
The current state of the VPC Encryption Control configuration.
stateMessage?
Type:
string
(optional)
A message providing additional information about the encryption control state.
virtualPrivateGatewayExclusion?
Type:
string
(optional)
vpcEncryptionControlId?
Type:
string
(optional)
The ID of the VPC Encryption Control configuration.
vpcId?
Type:
string
(optional)
The ID of the VPC associated with the encryption control configuration.
vpcLatticeExclusion?
Type:
string
(optional)
vpcPeeringExclusion?
Type:
string
(optional)

.NET
Go
Java
Python
TypeScript