Class VpcEndpoint

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.Resource
software.amazon.awscdk.services.ec2.VpcEndpoint
All Implemented Interfaces:
IResource, IVpcEndpoint, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable
Direct Known Subclasses:
GatewayVpcEndpoint, InterfaceVpcEndpoint

@Generated(value="jsii-pacmak/1.101.0 (build b95fe5d)", date="2024-07-12T19:34:01.044Z") @Stability(Stable) public abstract class VpcEndpoint extends Resource implements IVpcEndpoint
  • 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

      @Stability(Stable) public void addToPolicy(@NotNull PolicyStatement statement)
      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

      @Stability(Stable) @NotNull public abstract String getVpcEndpointId()
      The VPC endpoint identifier.
      Specified by:
      getVpcEndpointId in interface IVpcEndpoint
    • getPolicyDocument

      @Stability(Stable) @Nullable protected PolicyDocument getPolicyDocument()
    • setPolicyDocument

      @Stability(Stable) protected void setPolicyDocument(@Nullable PolicyDocument value)