Interface IInterfaceVpcEndpointAttributes
Construction properties for an ImportedInterfaceVpcEndpoint.
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IInterfaceVpcEndpointAttributes
Syntax (vb)
Public Interface IInterfaceVpcEndpointAttributes
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.EC2;
SecurityGroup securityGroup;
var interfaceVpcEndpointAttributes = new InterfaceVpcEndpointAttributes {
Port = 123,
VpcEndpointId = "vpcEndpointId",
// the properties below are optional
SecurityGroups = new [] { securityGroup }
};
Synopsis
Properties
Port | The port of the service of the interface VPC endpoint. |
SecurityGroups | The security groups associated with the interface VPC endpoint. |
VpcEndpointId | The interface VPC endpoint identifier. |
Properties
Port
The port of the service of the interface VPC endpoint.
double Port { get; }
Property Value
System.Double
SecurityGroups
The security groups associated with the interface VPC endpoint.
virtual ISecurityGroup[] SecurityGroups { get; }
Property Value
Remarks
If you wish to manage the network connections associated with this endpoint, you will need to specify its security groups.
VpcEndpointId
The interface VPC endpoint identifier.
string VpcEndpointId { get; }
Property Value
System.String