Interface CfnServer.IEndpointDetailsProperty
The virtual private cloud (VPC) endpoint settings that are configured for your server.
Namespace: Amazon.CDK.AWS.Transfer
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IEndpointDetailsProperty
Syntax (vb)
Public Interface IEndpointDetailsProperty
Remarks
When you host your endpoint within your VPC, you can make your endpoint accessible only to resources within your VPC, or you can attach Elastic IP addresses and make your endpoint accessible to clients over the internet. Your VPC's default security groups are automatically assigned to your endpoint.
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.Transfer;
var endpointDetailsProperty = new EndpointDetailsProperty {
AddressAllocationIds = new [] { "addressAllocationIds" },
SecurityGroupIds = new [] { "securityGroupIds" },
SubnetIds = new [] { "subnetIds" },
VpcEndpointId = "vpcEndpointId",
VpcId = "vpcId"
};
Synopsis
Properties
Address |
A list of address allocation IDs that are required to attach an Elastic IP address to your server's endpoint. |
Security |
A list of security groups IDs that are available to attach to your server's endpoint. |
Subnet |
A list of subnet IDs that are required to host your server endpoint in your VPC. |
Vpc |
The ID of the VPC endpoint. |
Vpc |
The VPC ID of the virtual private cloud in which the server's endpoint will be hosted. |
Properties
AddressAllocationIds
A list of address allocation IDs that are required to attach an Elastic IP address to your server's endpoint.
virtual string[] AddressAllocationIds { get; }
Property Value
System.
Remarks
An address allocation ID corresponds to the allocation ID of an Elastic IP address. This value can be retrieved from the allocationId
field from the Amazon EC2 Address data type. One way to retrieve this value is by calling the EC2 DescribeAddresses API.
This parameter is optional. Set this parameter if you want to make your VPC endpoint public-facing. For details, see Create an internet-facing endpoint for your server .
This property can only be set as follows:
SecurityGroupIds
A list of security groups IDs that are available to attach to your server's endpoint.
virtual string[] SecurityGroupIds { get; }
Property Value
System.
Remarks
This property can only be set when EndpointType
is set to VPC
.
You can edit the SecurityGroupIds
property in the UpdateServer API only if you are changing the EndpointType
from PUBLIC
or VPC_ENDPOINT
to VPC
. To change security groups associated with your server's VPC endpoint after creation, use the Amazon EC2 ModifyVpcEndpoint API.
SubnetIds
A list of subnet IDs that are required to host your server endpoint in your VPC.
virtual string[] SubnetIds { get; }
Property Value
System.
Remarks
This property can only be set when EndpointType
is set to VPC
.
VpcEndpointId
The ID of the VPC endpoint.
virtual string VpcEndpointId { get; }
Property Value
System.
Remarks
This property can only be set when EndpointType
is set to VPC_ENDPOINT
.
VpcId
The VPC ID of the virtual private cloud in which the server's endpoint will be hosted.
virtual string VpcId { get; }
Property Value
System.
Remarks
This property can only be set when EndpointType
is set to VPC
.