Class CfnVPCEncryptionControl
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.ec2.CfnVPCEncryptionControl
- All Implemented Interfaces:
IInspectable,IVPCEncryptionControlRef,IEnvironmentAware,ITaggableV2,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-12-01T16:02:19.266Z")
@Stability(Stable)
public class CfnVPCEncryptionControl
extends CfnResource
implements IInspectable, IVPCEncryptionControlRef, ITaggableV2
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 software.amazon.awscdk.services.ec2.*;
CfnVPCEncryptionControl cfnVPCEncryptionControl = CfnVPCEncryptionControl.Builder.create(this, "MyCfnVPCEncryptionControl")
.egressOnlyInternetGatewayExclusionInput("egressOnlyInternetGatewayExclusionInput")
.elasticFileSystemExclusionInput("elasticFileSystemExclusionInput")
.internetGatewayExclusionInput("internetGatewayExclusionInput")
.lambdaExclusionInput("lambdaExclusionInput")
.mode("mode")
.natGatewayExclusionInput("natGatewayExclusionInput")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.virtualPrivateGatewayExclusionInput("virtualPrivateGatewayExclusionInput")
.vpcId("vpcId")
.vpcLatticeExclusionInput("vpcLatticeExclusionInput")
.vpcPeeringExclusionInput("vpcPeeringExclusionInput")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnVPCEncryptionControl.static interfaceInformation about resource exclusions for the VPC Encryption Control configuration.static interfaceDescribes an exclusion configuration for VPC Encryption Control.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.ec2.IVPCEncryptionControlRef
IVPCEncryptionControlRef.Jsii$Default, IVPCEncryptionControlRef.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnVPCEncryptionControl(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnVPCEncryptionControl(software.amazon.jsii.JsiiObjectRef objRef) CfnVPCEncryptionControl(software.constructs.Construct scope, String id) Create a newAWS::EC2::VPCEncryptionControl.CfnVPCEncryptionControl(software.constructs.Construct scope, String id, CfnVPCEncryptionControlProps props) Create a newAWS::EC2::VPCEncryptionControl. -
Method Summary
Modifier and TypeMethodDescriptionSpecifies whether to exclude egress-only internet gateway traffic from encryption enforcement.The current state of the exclusion configuration.A message providing additional information about the exclusion state.Specifies whether to exclude Elastic File System traffic from encryption enforcement.The current state of the exclusion configuration.A message providing additional information about the exclusion state.Specifies whether to exclude internet gateway traffic from encryption enforcement.The current state of the exclusion configuration.A message providing additional information about the exclusion state.Specifies whether to exclude Lambda function traffic from encryption enforcement.The current state of the exclusion configuration.A message providing additional information about the exclusion state.Specifies whether to exclude NAT gateway traffic from encryption enforcement.The current state of the exclusion configuration.A message providing additional information about the exclusion state.Specifies whether to exclude virtual private gateway traffic from encryption enforcement.The current state of the exclusion configuration.A message providing additional information about the exclusion state.Specifies whether to exclude VPC Lattice traffic from encryption enforcement.The current state of the exclusion configuration.A message providing additional information about the exclusion state.Specifies whether to exclude VPC peering connection traffic from encryption enforcement.The current state of the exclusion configuration.A message providing additional information about the exclusion state.The current state of the VPC Encryption Control configuration.A message providing additional information about the encryption control state.The ID of the VPC Encryption Control configuration.Tag Manager which manages the tags for this resource.Specifies whether to exclude egress-only internet gateway traffic from encryption enforcement.Specifies whether to exclude Elastic File System traffic from encryption enforcement.Specifies whether to exclude internet gateway traffic from encryption enforcement.Specifies whether to exclude Lambda function traffic from encryption enforcement.getMode()The encryption mode for the VPC Encryption Control configuration.Specifies whether to exclude NAT gateway traffic from encryption enforcement.getTags()The tags assigned to the VPC Encryption Control configuration.Specifies whether to exclude virtual private gateway traffic from encryption enforcement.A reference to a VPCEncryptionControl resource.getVpcId()The ID of the VPC for which to create the encryption control configuration.Specifies whether to exclude VPC Lattice traffic from encryption enforcement.Specifies whether to exclude VPC peering connection traffic from encryption enforcement.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnVPCEncryptionControl.renderProperties(Map<String, Object> props) voidSpecifies whether to exclude egress-only internet gateway traffic from encryption enforcement.voidSpecifies whether to exclude Elastic File System traffic from encryption enforcement.voidSpecifies whether to exclude internet gateway traffic from encryption enforcement.voidsetLambdaExclusionInput(String value) Specifies whether to exclude Lambda function traffic from encryption enforcement.voidThe encryption mode for the VPC Encryption Control configuration.voidSpecifies whether to exclude NAT gateway traffic from encryption enforcement.voidThe tags assigned to the VPC Encryption Control configuration.voidSpecifies whether to exclude virtual private gateway traffic from encryption enforcement.voidThe ID of the VPC for which to create the encryption control configuration.voidSpecifies whether to exclude VPC Lattice traffic from encryption enforcement.voidSpecifies whether to exclude VPC peering connection traffic from encryption enforcement.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnVPCEncryptionControl
protected CfnVPCEncryptionControl(software.amazon.jsii.JsiiObjectRef objRef) -
CfnVPCEncryptionControl
protected CfnVPCEncryptionControl(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnVPCEncryptionControl
@Stability(Stable) public CfnVPCEncryptionControl(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable CfnVPCEncryptionControlProps props) Create a newAWS::EC2::VPCEncryptionControl.- 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.props- Resource properties.
-
CfnVPCEncryptionControl
@Stability(Stable) public CfnVPCEncryptionControl(@NotNull software.constructs.Construct scope, @NotNull String id) Create a newAWS::EC2::VPCEncryptionControl.- 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.
-
-
Method Details
-
isCfnVPCEncryptionControl
Checks whether the given object is a CfnVPCEncryptionControl.- Parameters:
x- This parameter is required.
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrResourceExclusions
-
getAttrResourceExclusionsEgressOnlyInternetGateway
Specifies whether to exclude egress-only internet gateway traffic from encryption enforcement. -
getAttrResourceExclusionsEgressOnlyInternetGatewayState
The current state of the exclusion configuration. -
getAttrResourceExclusionsEgressOnlyInternetGatewayStateMessage
@Stability(Stable) @NotNull public String getAttrResourceExclusionsEgressOnlyInternetGatewayStateMessage()A message providing additional information about the exclusion state. -
getAttrResourceExclusionsElasticFileSystem
Specifies whether to exclude Elastic File System traffic from encryption enforcement. -
getAttrResourceExclusionsElasticFileSystemState
The current state of the exclusion configuration. -
getAttrResourceExclusionsElasticFileSystemStateMessage
A message providing additional information about the exclusion state. -
getAttrResourceExclusionsInternetGateway
Specifies whether to exclude internet gateway traffic from encryption enforcement. -
getAttrResourceExclusionsInternetGatewayState
The current state of the exclusion configuration. -
getAttrResourceExclusionsInternetGatewayStateMessage
A message providing additional information about the exclusion state. -
getAttrResourceExclusionsLambda
Specifies whether to exclude Lambda function traffic from encryption enforcement. -
getAttrResourceExclusionsLambdaState
The current state of the exclusion configuration. -
getAttrResourceExclusionsLambdaStateMessage
A message providing additional information about the exclusion state. -
getAttrResourceExclusionsNatGateway
Specifies whether to exclude NAT gateway traffic from encryption enforcement. -
getAttrResourceExclusionsNatGatewayState
The current state of the exclusion configuration. -
getAttrResourceExclusionsNatGatewayStateMessage
A message providing additional information about the exclusion state. -
getAttrResourceExclusionsVirtualPrivateGateway
Specifies whether to exclude virtual private gateway traffic from encryption enforcement. -
getAttrResourceExclusionsVirtualPrivateGatewayState
The current state of the exclusion configuration. -
getAttrResourceExclusionsVirtualPrivateGatewayStateMessage
@Stability(Stable) @NotNull public String getAttrResourceExclusionsVirtualPrivateGatewayStateMessage()A message providing additional information about the exclusion state. -
getAttrResourceExclusionsVpcLattice
Specifies whether to exclude VPC Lattice traffic from encryption enforcement. -
getAttrResourceExclusionsVpcLatticeState
The current state of the exclusion configuration. -
getAttrResourceExclusionsVpcLatticeStateMessage
A message providing additional information about the exclusion state. -
getAttrResourceExclusionsVpcPeering
Specifies whether to exclude VPC peering connection traffic from encryption enforcement. -
getAttrResourceExclusionsVpcPeeringState
The current state of the exclusion configuration. -
getAttrResourceExclusionsVpcPeeringStateMessage
A message providing additional information about the exclusion state. -
getAttrState
The current state of the VPC Encryption Control configuration. -
getAttrStateMessage
A message providing additional information about the encryption control state. -
getAttrVpcEncryptionControlId
The ID of the VPC Encryption Control configuration. -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getVpcEncryptionControlRef
A reference to a VPCEncryptionControl resource.- Specified by:
getVpcEncryptionControlRefin interfaceIVPCEncryptionControlRef
-
getEgressOnlyInternetGatewayExclusionInput
Specifies whether to exclude egress-only internet gateway traffic from encryption enforcement. -
setEgressOnlyInternetGatewayExclusionInput
Specifies whether to exclude egress-only internet gateway traffic from encryption enforcement. -
getElasticFileSystemExclusionInput
Specifies whether to exclude Elastic File System traffic from encryption enforcement. -
setElasticFileSystemExclusionInput
Specifies whether to exclude Elastic File System traffic from encryption enforcement. -
getInternetGatewayExclusionInput
Specifies whether to exclude internet gateway traffic from encryption enforcement. -
setInternetGatewayExclusionInput
Specifies whether to exclude internet gateway traffic from encryption enforcement. -
getLambdaExclusionInput
Specifies whether to exclude Lambda function traffic from encryption enforcement. -
setLambdaExclusionInput
Specifies whether to exclude Lambda function traffic from encryption enforcement. -
getMode
The encryption mode for the VPC Encryption Control configuration. -
setMode
The encryption mode for the VPC Encryption Control configuration. -
getNatGatewayExclusionInput
Specifies whether to exclude NAT gateway traffic from encryption enforcement. -
setNatGatewayExclusionInput
Specifies whether to exclude NAT gateway traffic from encryption enforcement. -
getTags
The tags assigned to the VPC Encryption Control configuration. -
setTags
The tags assigned to the VPC Encryption Control configuration. -
getVirtualPrivateGatewayExclusionInput
Specifies whether to exclude virtual private gateway traffic from encryption enforcement. -
setVirtualPrivateGatewayExclusionInput
Specifies whether to exclude virtual private gateway traffic from encryption enforcement. -
getVpcId
The ID of the VPC for which to create the encryption control configuration. -
setVpcId
The ID of the VPC for which to create the encryption control configuration. -
getVpcLatticeExclusionInput
Specifies whether to exclude VPC Lattice traffic from encryption enforcement. -
setVpcLatticeExclusionInput
Specifies whether to exclude VPC Lattice traffic from encryption enforcement. -
getVpcPeeringExclusionInput
Specifies whether to exclude VPC peering connection traffic from encryption enforcement. -
setVpcPeeringExclusionInput
Specifies whether to exclude VPC peering connection traffic from encryption enforcement.
-