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.

Container for the parameters to the CloseTunnel operation. Closes a tunnel identified by the unique tunnel id. When a CloseTunnel request is received, we close the WebSocket connections between the client and proxy server so no data can be transmitted.

Requires permission to access the CloseTunnel action.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.IoTSecureTunneling.AmazonIoTSecureTunnelingRequest
      Amazon.IoTSecureTunneling.Model.CloseTunnelRequest

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

Syntax

C#
public class CloseTunnelRequest : AmazonIoTSecureTunnelingRequest
         IAmazonWebServiceRequest

The CloseTunnelRequest type exposes the following members

Constructors

NameDescription
Public Method CloseTunnelRequest()

Properties

NameTypeDescription
Public Property Delete System.Boolean

Gets and sets the property Delete.

When set to true, IoT Secure Tunneling deletes the tunnel data immediately.

Public Property TunnelId System.String

Gets and sets the property TunnelId.

The ID of the tunnel to close.

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