Class VpcEndpoint
Inherited Members
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public abstract class VpcEndpoint : Resource, IVpcEndpoint, IResource
Syntax (vb)
Public MustInherit Class VpcEndpoint
Inherits Resource
Implements IVpcEndpoint, IResource
Synopsis
Constructors
VpcEndpoint(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
VpcEndpoint(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
VpcEndpoint(Construct, String, IResourceProps) |
Properties
PolicyDocument | |
VpcEndpointId | The VPC endpoint identifier. |
Methods
AddToPolicy(PolicyStatement) | Adds a statement to the policy document of the VPC endpoint. The statement must have a Principal. |
Constructors
VpcEndpoint(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected VpcEndpoint(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
VpcEndpoint(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected VpcEndpoint(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
VpcEndpoint(Construct, String, IResourceProps)
protected VpcEndpoint(Construct scope, string id, IResourceProps props = null)
Parameters
- scope Constructs.Construct
- id System.String
- props IResourceProps
Properties
PolicyDocument
VpcEndpointId
The VPC endpoint identifier.
public abstract string VpcEndpointId { get; }
Property Value
System.String
Methods
AddToPolicy(PolicyStatement)
Adds a statement to the policy document of the VPC endpoint. The statement must have a Principal.
public virtual void AddToPolicy(PolicyStatement statement)
Parameters
- statement PolicyStatement
the IAM statement to add.
Remarks
Not all interface VPC endpoints support policy. For more information see https://docs.aws.amazon.com/vpc/latest/userguide/vpce-interface.html