Class InterfaceVpcEndpointAttributes
Construction properties for an ImportedInterfaceVpcEndpoint.
Inheritance
System.Object
InterfaceVpcEndpointAttributes
Implements
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class InterfaceVpcEndpointAttributes : Object, IInterfaceVpcEndpointAttributes
Syntax (vb)
Public Class InterfaceVpcEndpointAttributes
Inherits Object
Implements 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
Constructors
InterfaceVpcEndpointAttributes() |
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. |
Constructors
InterfaceVpcEndpointAttributes()
public InterfaceVpcEndpointAttributes()
Properties
Port
The port of the service of the interface VPC endpoint.
public double Port { get; set; }
Property Value
System.Double
SecurityGroups
The security groups associated with the interface VPC endpoint.
public ISecurityGroup[] SecurityGroups { get; set; }
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.
public string VpcEndpointId { get; set; }
Property Value
System.String