Class VpcEndpoint

All Implemented Interfaces:
IConstruct, IDependable, IResource, IVpcEndpoint,, 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
  • Constructor Details

    • VpcEndpoint

      protected VpcEndpoint( objRef)
    • VpcEndpoint

      protected VpcEndpoint( initializationMode)
    • VpcEndpoint

      @Stability(Stable) protected VpcEndpoint(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable ResourceProps props)
      scope - This parameter is required.
      id - This parameter is required.
      props -
    • VpcEndpoint

      @Stability(Stable) protected VpcEndpoint(@NotNull software.constructs.Construct scope, @NotNull String id)
      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

      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)