Class VpcEndpoint
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.core.Construct
software.amazon.awscdk.core.Resource
software.amazon.awscdk.services.ec2.VpcEndpoint
- All Implemented Interfaces:
IConstruct,IDependable,IResource,IVpcEndpoint,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct
- Direct Known Subclasses:
GatewayVpcEndpoint,InterfaceVpcEndpoint
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:39.559Z")
@Stability(Stable)
public abstract class VpcEndpoint
extends Resource
implements IVpcEndpoint
-
Nested Class Summary
Nested classes/interfaces inherited from class software.constructs.Construct
software.constructs.Construct.BuilderNested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstruct
IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.core.IResource
IResource.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.services.ec2.IVpcEndpoint
IVpcEndpoint.Jsii$Default -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedVpcEndpoint(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedVpcEndpoint(software.amazon.jsii.JsiiObjectRef objRef) protectedVpcEndpoint(software.constructs.Construct scope, String id) protectedVpcEndpoint(software.constructs.Construct scope, String id, ResourceProps props) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddToPolicy(PolicyStatement statement) Adds a statement to the policy document of the VPC endpoint.protected PolicyDocumentabstract StringThe VPC endpoint identifier.protected voidsetPolicyDocument(PolicyDocument value) Methods inherited from class software.amazon.awscdk.core.Resource
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isResourceMethods inherited from class software.amazon.awscdk.core.Construct
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validateMethods inherited from class software.constructs.Construct
toStringMethods 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.amazon.awscdk.core.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.core.IResource
applyRemovalPolicy, getEnv, getStackMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
VpcEndpoint
protected VpcEndpoint(software.amazon.jsii.JsiiObjectRef objRef) -
VpcEndpoint
protected VpcEndpoint(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
VpcEndpoint
@Stability(Stable) protected VpcEndpoint(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable ResourceProps props) - Parameters:
scope- This parameter is required.id- This parameter is required.props-
-
VpcEndpoint
@Stability(Stable) protected VpcEndpoint(@NotNull software.constructs.Construct scope, @NotNull String id) - Parameters:
scope- This parameter is required.id- This parameter is required.
-
-
Method Details
-
addToPolicy
Adds a statement to the policy document of the VPC endpoint. The statement must have a Principal.Not all interface VPC endpoints support policy. For more information see https://docs.aws.amazon.com/vpc/latest/userguide/vpce-interface.html
- Parameters:
statement- the IAM statement to add. This parameter is required.
-
getVpcEndpointId
The VPC endpoint identifier.- Specified by:
getVpcEndpointIdin interfaceIVpcEndpoint
-
getPolicyDocument
-
setPolicyDocument
-