interface ResourceExclusionsProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.EC2.CfnVPCEncryptionControl.ResourceExclusionsProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsec2#CfnVPCEncryptionControl_ResourceExclusionsProperty |
Java | software.amazon.awscdk.services.ec2.CfnVPCEncryptionControl.ResourceExclusionsProperty |
Python | aws_cdk.aws_ec2.CfnVPCEncryptionControl.ResourceExclusionsProperty |
TypeScript | aws-cdk-lib » aws_ec2 » CfnVPCEncryptionControl » ResourceExclusionsProperty |
Information about resource exclusions for the VPC Encryption Control configuration.
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 resourceExclusionsProperty: ec2.CfnVPCEncryptionControl.ResourceExclusionsProperty = {
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',
},
};
Properties
| Name | Type | Description |
|---|---|---|
| egress | IResolvable | Vpc | Specifies whether to exclude egress-only internet gateway traffic from encryption enforcement. |
| elastic | IResolvable | Vpc | Specifies whether to exclude Elastic File System traffic from encryption enforcement. |
| internet | IResolvable | Vpc | Specifies whether to exclude internet gateway traffic from encryption enforcement. |
| lambda? | IResolvable | Vpc | Specifies whether to exclude Lambda function traffic from encryption enforcement. |
| nat | IResolvable | Vpc | Specifies whether to exclude NAT gateway traffic from encryption enforcement. |
| virtual | IResolvable | Vpc | Specifies whether to exclude virtual private gateway traffic from encryption enforcement. |
| vpc | IResolvable | Vpc | Specifies whether to exclude VPC Lattice traffic from encryption enforcement. |
| vpc | IResolvable | Vpc | Specifies whether to exclude VPC peering connection traffic from encryption enforcement. |
egressOnlyInternetGateway?
Type:
IResolvable | Vpc
(optional)
Specifies whether to exclude egress-only internet gateway traffic from encryption enforcement.
elasticFileSystem?
Type:
IResolvable | Vpc
(optional)
Specifies whether to exclude Elastic File System traffic from encryption enforcement.
internetGateway?
Type:
IResolvable | Vpc
(optional)
Specifies whether to exclude internet gateway traffic from encryption enforcement.
lambda?
Type:
IResolvable | Vpc
(optional)
Specifies whether to exclude Lambda function traffic from encryption enforcement.
natGateway?
Type:
IResolvable | Vpc
(optional)
Specifies whether to exclude NAT gateway traffic from encryption enforcement.
virtualPrivateGateway?
Type:
IResolvable | Vpc
(optional)
Specifies whether to exclude virtual private gateway traffic from encryption enforcement.
vpcLattice?
Type:
IResolvable | Vpc
(optional)
Specifies whether to exclude VPC Lattice traffic from encryption enforcement.
vpcPeering?
Type:
IResolvable | Vpc
(optional)
Specifies whether to exclude VPC peering connection traffic from encryption enforcement.

.NET
Go
Java
Python
TypeScript