class InterfaceVpcEndpoint (construct)
A interface VPC endpoint.
new InterfaceVpcEndpoint(scope: Construct, id: string, props: InterfaceVpcEndpointProps)
|service||The service to use for this interface VPC endpoint.|
|vpc||The VPC network in which the interface endpoint will be used.|
|private||Whether to associate a private hosted zone with the specified VPC.|
|security||The security groups to associate with this interface VPC endpoint.|
|subnets?||The subnets in which to create an endpoint network interface.|
The service to use for this interface VPC endpoint.
The VPC network in which the interface endpoint will be used.
(optional, default: true)
Whether to associate a private hosted zone with the specified VPC.
This allows you to make requests to the service using its default DNS hostname.
(optional, default: a new security group is created)
The security groups to associate with this interface VPC endpoint.
(optional, default: private subnets)
The subnets in which to create an endpoint network interface.
At most one per availability zone.
|connections||Access to network connections.|
|node||Construct tree node which offers APIs for interacting with the construct tree.|
|security||The identifier of the first security group associated with this interface VPC endpoint.|
|stack||The stack in which this resource is defined.|
|vpc||The date and time the interface VPC endpoint was created.|
|vpc||The DNS entries for the interface VPC endpoint.|
|vpc||The interface VPC endpoint identifier.|
|vpc||One or more network interfaces for the interface VPC endpoint.|
Access to network connections.
Construct tree node which offers APIs for interacting with the construct tree.
The identifier of the first security group associated with this interface VPC endpoint.
The stack in which this resource is defined.
The date and time the interface VPC endpoint was created.
The DNS entries for the interface VPC endpoint.
The interface VPC endpoint identifier.
One or more network interfaces for the interface VPC endpoint.
|add||Adds a statement to the policy document of the VPC endpoint. The statement must have a Principal.|
|to||Returns a string representation of this construct.|
|static from||Imports an existing interface VPC endpoint.|
public addToPolicy(statement: PolicyStatement): void
Policy— the IAM statement to add.
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
public toString(): string
Returns a string representation of this construct.
Interface Vpc Endpoint Attributes(scope, id, attrs)
public static fromInterfaceVpcEndpointAttributes(scope: Construct, id: string, attrs: InterfaceVpcEndpointAttributes): IInterfaceVpcEndpoint
Imports an existing interface VPC endpoint.