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.

Container for the parameters to the ModifyVpcEndpoint operation. Modifies attributes of a specified VPC endpoint. The attributes that you can modify depend on the type of VPC endpoint (interface, gateway, or Gateway Load Balancer). For more information, see the Amazon Web Services PrivateLink Guide.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.EC2.AmazonEC2Request
      Amazon.EC2.Model.ModifyVpcEndpointRequest

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

Syntax

C#
public class ModifyVpcEndpointRequest : AmazonEC2Request
         IAmazonWebServiceRequest

The ModifyVpcEndpointRequest type exposes the following members

Constructors

NameDescription
Public Method ModifyVpcEndpointRequest()

Properties

NameTypeDescription
Public Property AddRouteTableIds System.Collections.Generic.List<System.String>

Gets and sets the property AddRouteTableIds.

(Gateway endpoint) The IDs of the route tables to associate 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 AddSecurityGroupIds System.Collections.Generic.List<System.String>

Gets and sets the property AddSecurityGroupIds.

(Interface endpoint) The IDs of the security groups to associate with the endpoint network interfaces.

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 AddSubnetIds System.Collections.Generic.List<System.String>

Gets and sets the property AddSubnetIds.

(Interface and Gateway Load Balancer endpoints) The IDs of the subnets in which to serve the endpoint. For a Gateway Load Balancer endpoint, you can specify only one subnet.

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.DnsOptionsSpecification

Gets and sets the property DnsOptions.

The DNS options for the endpoint.

Public Property DryRun System.Nullable<System.Boolean>

Gets and sets the property DryRun.

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

Public Property IpAddressType Amazon.EC2.IpAddressType

Gets and sets the property IpAddressType.

The IP address type for the endpoint.

Public Property PolicyDocument System.String

Gets and sets the property PolicyDocument.

(Interface and gateway endpoints) A policy to attach to the endpoint that controls access to the service. The policy must be in valid JSON format.

Public Property PrivateDnsEnabled System.Nullable<System.Boolean>

Gets and sets the property PrivateDnsEnabled.

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

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

Gets and sets the property RemoveRouteTableIds.

(Gateway endpoint) The IDs of the route tables to disassociate from 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 RemoveSecurityGroupIds System.Collections.Generic.List<System.String>

Gets and sets the property RemoveSecurityGroupIds.

(Interface endpoint) The IDs of the security groups to disassociate from the endpoint network interfaces.

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 RemoveSubnetIds System.Collections.Generic.List<System.String>

Gets and sets the property RemoveSubnetIds.

(Interface endpoint) The IDs of the subnets from which to remove 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 ResetPolicy System.Nullable<System.Boolean>

Gets and sets the property ResetPolicy.

(Gateway endpoint) Specify true to reset the policy document to the default policy. The default policy allows full access to the service.

Public Property SubnetConfigurations System.Collections.Generic.List<Amazon.EC2.Model.SubnetConfiguration>

Gets and sets the property SubnetConfigurations.

The subnet configurations 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 VpcEndpointId System.String

Gets and sets the property VpcEndpointId.

The ID of the endpoint.

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