Class CfnVPCEncryptionControl.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.CfnVPCEncryptionControl.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVPCEncryptionControl>
- Enclosing class:
CfnVPCEncryptionControl
@Stability(Stable)
public static final class CfnVPCEncryptionControl.Builder
extends Object
implements software.amazon.jsii.Builder<CfnVPCEncryptionControl>
A fluent builder for
CfnVPCEncryptionControl.-
Method Summary
Modifier and TypeMethodDescriptionbuild()egressOnlyInternetGatewayExclusionInput(String egressOnlyInternetGatewayExclusionInput) Specifies whether to exclude egress-only internet gateway traffic from encryption enforcement.elasticFileSystemExclusionInput(String elasticFileSystemExclusionInput) Specifies whether to exclude Elastic File System traffic from encryption enforcement.internetGatewayExclusionInput(String internetGatewayExclusionInput) Specifies whether to exclude internet gateway traffic from encryption enforcement.lambdaExclusionInput(String lambdaExclusionInput) Specifies whether to exclude Lambda function traffic from encryption enforcement.The encryption mode for the VPC Encryption Control configuration.natGatewayExclusionInput(String natGatewayExclusionInput) Specifies whether to exclude NAT gateway traffic from encryption enforcement.The tags assigned to the VPC Encryption Control configuration.virtualPrivateGatewayExclusionInput(String virtualPrivateGatewayExclusionInput) Specifies whether to exclude virtual private gateway traffic from encryption enforcement.The ID of the VPC for which to create the encryption control configuration.vpcLatticeExclusionInput(String vpcLatticeExclusionInput) Specifies whether to exclude VPC Lattice traffic from encryption enforcement.vpcPeeringExclusionInput(String vpcPeeringExclusionInput) Specifies whether to exclude VPC peering connection traffic from encryption enforcement.
-
Method Details
-
create
@Stability(Stable) public static CfnVPCEncryptionControl.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnVPCEncryptionControl.Builder.
-
egressOnlyInternetGatewayExclusionInput
@Stability(Stable) public CfnVPCEncryptionControl.Builder egressOnlyInternetGatewayExclusionInput(String egressOnlyInternetGatewayExclusionInput) Specifies whether to exclude egress-only internet gateway traffic from encryption enforcement.- Parameters:
egressOnlyInternetGatewayExclusionInput- Specifies whether to exclude egress-only internet gateway traffic from encryption enforcement. This parameter is required.- Returns:
this- See Also:
-
elasticFileSystemExclusionInput
@Stability(Stable) public CfnVPCEncryptionControl.Builder elasticFileSystemExclusionInput(String elasticFileSystemExclusionInput) Specifies whether to exclude Elastic File System traffic from encryption enforcement.- Parameters:
elasticFileSystemExclusionInput- Specifies whether to exclude Elastic File System traffic from encryption enforcement. This parameter is required.- Returns:
this- See Also:
-
internetGatewayExclusionInput
@Stability(Stable) public CfnVPCEncryptionControl.Builder internetGatewayExclusionInput(String internetGatewayExclusionInput) Specifies whether to exclude internet gateway traffic from encryption enforcement.- Parameters:
internetGatewayExclusionInput- Specifies whether to exclude internet gateway traffic from encryption enforcement. This parameter is required.- Returns:
this- See Also:
-
lambdaExclusionInput
@Stability(Stable) public CfnVPCEncryptionControl.Builder lambdaExclusionInput(String lambdaExclusionInput) Specifies whether to exclude Lambda function traffic from encryption enforcement.- Parameters:
lambdaExclusionInput- Specifies whether to exclude Lambda function traffic from encryption enforcement. This parameter is required.- Returns:
this- See Also:
-
mode
The encryption mode for the VPC Encryption Control configuration.- Parameters:
mode- The encryption mode for the VPC Encryption Control configuration. This parameter is required.- Returns:
this- See Also:
-
natGatewayExclusionInput
@Stability(Stable) public CfnVPCEncryptionControl.Builder natGatewayExclusionInput(String natGatewayExclusionInput) Specifies whether to exclude NAT gateway traffic from encryption enforcement.- Parameters:
natGatewayExclusionInput- Specifies whether to exclude NAT gateway traffic from encryption enforcement. This parameter is required.- Returns:
this- See Also:
-
tags
The tags assigned to the VPC Encryption Control configuration.- Parameters:
tags- The tags assigned to the VPC Encryption Control configuration. This parameter is required.- Returns:
this- See Also:
-
virtualPrivateGatewayExclusionInput
@Stability(Stable) public CfnVPCEncryptionControl.Builder virtualPrivateGatewayExclusionInput(String virtualPrivateGatewayExclusionInput) Specifies whether to exclude virtual private gateway traffic from encryption enforcement.- Parameters:
virtualPrivateGatewayExclusionInput- Specifies whether to exclude virtual private gateway traffic from encryption enforcement. This parameter is required.- Returns:
this- See Also:
-
vpcId
The ID of the VPC for which to create the encryption control configuration.- Parameters:
vpcId- The ID of the VPC for which to create the encryption control configuration. This parameter is required.- Returns:
this- See Also:
-
vpcLatticeExclusionInput
@Stability(Stable) public CfnVPCEncryptionControl.Builder vpcLatticeExclusionInput(String vpcLatticeExclusionInput) Specifies whether to exclude VPC Lattice traffic from encryption enforcement.- Parameters:
vpcLatticeExclusionInput- Specifies whether to exclude VPC Lattice traffic from encryption enforcement. This parameter is required.- Returns:
this- See Also:
-
vpcPeeringExclusionInput
@Stability(Stable) public CfnVPCEncryptionControl.Builder vpcPeeringExclusionInput(String vpcPeeringExclusionInput) Specifies whether to exclude VPC peering connection traffic from encryption enforcement.- Parameters:
vpcPeeringExclusionInput- Specifies whether to exclude VPC peering connection traffic from encryption enforcement. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnVPCEncryptionControl>- Returns:
- a newly built instance of
CfnVPCEncryptionControl.
-