AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Describes the configuration of a subnet for a VPC endpoint.

Inheritance Hierarchy

System.Object
  Amazon.EC2.Model.SubnetConfiguration

Namespace: Amazon.EC2.Model
Assembly: AWSSDK.EC2.dll
Version: 3.x.y.z

Syntax

C#
public class SubnetConfiguration

The SubnetConfiguration type exposes the following members

Constructors

NameDescription
Public Method SubnetConfiguration()

Properties

NameTypeDescription
Public Property Ipv4 System.String

Gets and sets the property Ipv4.

The IPv4 address to assign to the endpoint network interface in the subnet. You must provide an IPv4 address if the VPC endpoint supports IPv4.

If you specify an IPv4 address when modifying a VPC endpoint, we replace the existing endpoint network interface with a new endpoint network interface with this IP address. This process temporarily disconnects the subnet and the VPC endpoint.

Public Property Ipv6 System.String

Gets and sets the property Ipv6.

The IPv6 address to assign to the endpoint network interface in the subnet. You must provide an IPv6 address if the VPC endpoint supports IPv6.

If you specify an IPv6 address when modifying a VPC endpoint, we replace the existing endpoint network interface with a new endpoint network interface with this IP address. This process temporarily disconnects the subnet and the VPC endpoint.

Public Property SubnetId System.String

Gets and sets the property SubnetId.

The ID of the subnet.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5