AWS SDK Version 4 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 a VPC endpoint.

Inheritance Hierarchy

System.Object
  Amazon.EC2.Model.VpcEndpoint

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

Syntax

C#
public class VpcEndpoint

The VpcEndpoint type exposes the following members

Constructors

NameDescription
Public Method VpcEndpoint()

Properties

NameTypeDescription
Public Property CreationTimestamp System.Nullable<System.DateTime>

Gets and sets the property CreationTimestamp.

The date and time that the endpoint was created.

Public Property DnsEntries System.Collections.Generic.List<Amazon.EC2.Model.DnsEntry>

Gets and sets the property DnsEntries.

(Interface endpoint) The DNS entries for the endpoint.

Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true.

Public Property DnsOptions Amazon.EC2.Model.DnsOptions

Gets and sets the property DnsOptions.

The DNS options for the endpoint.

Public Property FailureReason System.String

Gets and sets the property FailureReason.

Reason for the failure.

Public Property Groups System.Collections.Generic.List<Amazon.EC2.Model.SecurityGroupIdentifier>

Gets and sets the property Groups.

(Interface endpoint) Information about the security groups that are associated with the network interface.

Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true.

Public Property IpAddressType Amazon.EC2.IpAddressType

Gets and sets the property IpAddressType.

The IP address type for the endpoint.

Public Property Ipv4Prefixes System.Collections.Generic.List<Amazon.EC2.Model.SubnetIpPrefixes>

Gets and sets the property Ipv4Prefixes.

Array of IPv4 prefixes.

Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true.

Public Property Ipv6Prefixes System.Collections.Generic.List<Amazon.EC2.Model.SubnetIpPrefixes>

Gets and sets the property Ipv6Prefixes.

Array of IPv6 prefixes.

Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true.

Public Property LastError Amazon.EC2.Model.LastError

Gets and sets the property LastError.

The last error that occurred for endpoint.

Public Property NetworkInterfaceIds System.Collections.Generic.List<System.String>

Gets and sets the property NetworkInterfaceIds.

(Interface endpoint) The network interfaces for the endpoint.

Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true.

Public Property OwnerId System.String

Gets and sets the property OwnerId.

The ID of the Amazon Web Services account that owns the endpoint.

Public Property PolicyDocument System.String

Gets and sets the property PolicyDocument.

The policy document associated with the endpoint, if applicable.

Public Property PrivateDnsEnabled System.Nullable<System.Boolean>

Gets and sets the property PrivateDnsEnabled.

(Interface endpoint) Indicates whether the VPC is associated with a private hosted zone.

Public Property RequesterManaged System.Nullable<System.Boolean>

Gets and sets the property RequesterManaged.

Indicates whether the endpoint is being managed by its service.

Public Property ResourceConfigurationArn System.String

Gets and sets the property ResourceConfigurationArn.

The Amazon Resource Name (ARN) of the resource configuration.

Public Property RouteTableIds System.Collections.Generic.List<System.String>

Gets and sets the property RouteTableIds.

(Gateway endpoint) The IDs of the route tables associated with the endpoint.

Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true.

Public Property ServiceName System.String

Gets and sets the property ServiceName.

The name of the service to which the endpoint is associated.

Public Property ServiceNetworkArn System.String

Gets and sets the property ServiceNetworkArn.

The Amazon Resource Name (ARN) of the service network.

Public Property ServiceRegion System.String

Gets and sets the property ServiceRegion.

The Region where the service is hosted.

Public Property State Amazon.EC2.State

Gets and sets the property State.

The state of the endpoint.

Public Property SubnetIds System.Collections.Generic.List<System.String>

Gets and sets the property SubnetIds.

(Interface endpoint) The subnets for the endpoint.

Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true.

Public Property Tags System.Collections.Generic.List<Amazon.EC2.Model.Tag>

Gets and sets the property Tags.

The tags assigned to the endpoint.

Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true.

Public Property VpcEndpointId System.String

Gets and sets the property VpcEndpointId.

The ID of the endpoint.

Public Property VpcEndpointType Amazon.EC2.VpcEndpointType

Gets and sets the property VpcEndpointType.

The type of endpoint.

Public Property VpcId System.String

Gets and sets the property VpcId.

The ID of the VPC to which the endpoint is associated.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.7.2 and newer