@Generated(value="jsii-pacmak/1.58.0 (build f8ba112)", date="2022-05-13T01:13:33.030Z") public abstract class VpcEndpoint extends Resource implements IVpcEndpoint
IVpcEndpoint.Jsii$Default
Modifier | Constructor and Description |
---|---|
protected |
VpcEndpoint(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
VpcEndpoint(software.amazon.jsii.JsiiObjectRef objRef) |
protected |
VpcEndpoint(software.constructs.Construct scope,
java.lang.String id) |
protected |
VpcEndpoint(software.constructs.Construct scope,
java.lang.String id,
ResourceProps props) |
Modifier and Type | Method and Description |
---|---|
void |
addToPolicy(PolicyStatement statement)
Adds a statement to the policy document of the VPC endpoint.
|
protected PolicyDocument |
getPolicyDocument() |
abstract java.lang.String |
getVpcEndpointId()
The VPC endpoint identifier.
|
protected void |
setPolicyDocument(PolicyDocument value) |
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isResource
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
applyRemovalPolicy, getEnv, getStack
getNode
protected VpcEndpoint(software.amazon.jsii.JsiiObjectRef objRef)
protected VpcEndpoint(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
protected VpcEndpoint(software.constructs.Construct scope, java.lang.String id, ResourceProps props)
scope
- This parameter is required.id
- This parameter is required.props
- protected VpcEndpoint(software.constructs.Construct scope, java.lang.String id)
scope
- This parameter is required.id
- This parameter is required.public void addToPolicy(PolicyStatement statement)
Not all interface VPC endpoints support policy. For more information see https://docs.aws.amazon.com/vpc/latest/userguide/vpce-interface.html
statement
- the IAM statement to add. This parameter is required.public abstract java.lang.String getVpcEndpointId()
getVpcEndpointId
in interface IVpcEndpoint
protected PolicyDocument getPolicyDocument()
protected void setPolicyDocument(PolicyDocument value)