We recommend new projects start with resources from the AWS provider.
published on Monday, Sep 14, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
published on Monday, Sep 14, 2026 by Pulumi
A connection between a source computer and a destination device using AWS IoT Secure Tunneling.
Create Tunnel Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Tunnel(name: string, args?: TunnelArgs, opts?: CustomResourceOptions);@overload
def Tunnel(resource_name: str,
args: Optional[TunnelArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Tunnel(resource_name: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
destination_config: Optional[TunnelDestinationConfigArgs] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None,
timeout_config: Optional[TunnelTimeoutConfigArgs] = None)func NewTunnel(ctx *Context, name string, args *TunnelArgs, opts ...ResourceOption) (*Tunnel, error)public Tunnel(string name, TunnelArgs? args = null, CustomResourceOptions? opts = null)
public Tunnel(String name, TunnelArgs args)
public Tunnel(String name, TunnelArgs args, CustomResourceOptions options)
type: aws-native:iotsecuretunneling:Tunnel
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "aws-native_iotsecuretunneling_tunnel" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args TunnelArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args TunnelArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args TunnelArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TunnelArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args TunnelArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Tunnel Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Tunnel resource accepts the following input properties:
- Description string
- A short text description of the tunnel.
- Destination
Config Pulumi.Aws Native. Io TSecure Tunneling. Inputs. Tunnel Destination Config - The destination configuration for the tunnel.
-
List<Pulumi.
Aws Native. Inputs. Tag> - A collection of tag metadata.
- Timeout
Config Pulumi.Aws Native. Io TSecure Tunneling. Inputs. Tunnel Timeout Config - Timeout configuration for the tunnel.
- Description string
- A short text description of the tunnel.
- Destination
Config TunnelDestination Config Args - The destination configuration for the tunnel.
-
Tag
Args - A collection of tag metadata.
- Timeout
Config TunnelTimeout Config Args - Timeout configuration for the tunnel.
- description string
- A short text description of the tunnel.
- destination_
config object - The destination configuration for the tunnel.
- list(object)
- A collection of tag metadata.
- timeout_
config object - Timeout configuration for the tunnel.
- description String
- A short text description of the tunnel.
- destination
Config TunnelDestination Config - The destination configuration for the tunnel.
- List<Tag>
- A collection of tag metadata.
- timeout
Config TunnelTimeout Config - Timeout configuration for the tunnel.
- description string
- A short text description of the tunnel.
- destination
Config TunnelDestination Config - The destination configuration for the tunnel.
- Tag[]
- A collection of tag metadata.
- timeout
Config TunnelTimeout Config - Timeout configuration for the tunnel.
- description str
- A short text description of the tunnel.
- destination_
config TunnelDestination Config Args - The destination configuration for the tunnel.
-
Sequence[Tag
Args] - A collection of tag metadata.
- timeout_
config TunnelTimeout Config Args - Timeout configuration for the tunnel.
- description String
- A short text description of the tunnel.
- destination
Config Property Map - The destination configuration for the tunnel.
- List<Property Map>
- A collection of tag metadata.
- timeout
Config Property Map - Timeout configuration for the tunnel.
Outputs
All input properties are implicitly available as output properties. Additionally, the Tunnel resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Status
Pulumi.
Aws Native. Io TSecure Tunneling. Tunnel Status - The status of the tunnel. Valid values are OPEN and CLOSED.
- Tunnel
Arn string - The Amazon Resource Name (ARN) of the tunnel.
- Tunnel
Id string - A unique alpha-numeric tunnel ID.
- Id string
- The provider-assigned unique ID for this managed resource.
- Status
Tunnel
Status - The status of the tunnel. Valid values are OPEN and CLOSED.
- Tunnel
Arn string - The Amazon Resource Name (ARN) of the tunnel.
- Tunnel
Id string - A unique alpha-numeric tunnel ID.
- id string
- The provider-assigned unique ID for this managed resource.
- status "OPEN" | "CLOSED"
- The status of the tunnel. Valid values are OPEN and CLOSED.
- tunnel_
arn string - The Amazon Resource Name (ARN) of the tunnel.
- tunnel_
id string - A unique alpha-numeric tunnel ID.
- id String
- The provider-assigned unique ID for this managed resource.
- status
Tunnel
Status - The status of the tunnel. Valid values are OPEN and CLOSED.
- tunnel
Arn String - The Amazon Resource Name (ARN) of the tunnel.
- tunnel
Id String - A unique alpha-numeric tunnel ID.
- id string
- The provider-assigned unique ID for this managed resource.
- status
Tunnel
Status - The status of the tunnel. Valid values are OPEN and CLOSED.
- tunnel
Arn string - The Amazon Resource Name (ARN) of the tunnel.
- tunnel
Id string - A unique alpha-numeric tunnel ID.
- id str
- The provider-assigned unique ID for this managed resource.
- status
Tunnel
Status - The status of the tunnel. Valid values are OPEN and CLOSED.
- tunnel_
arn str - The Amazon Resource Name (ARN) of the tunnel.
- tunnel_
id str - A unique alpha-numeric tunnel ID.
- id String
- The provider-assigned unique ID for this managed resource.
- status "OPEN" | "CLOSED"
- The status of the tunnel. Valid values are OPEN and CLOSED.
- tunnel
Arn String - The Amazon Resource Name (ARN) of the tunnel.
- tunnel
Id String - A unique alpha-numeric tunnel ID.
Supporting Types
Tag, TagArgs
A set of tags to apply to the resource.TunnelDestinationConfig, TunnelDestinationConfigArgs
The destination configuration.- services list(string)
- A list of service names that identify the target application.
- thing_
name string - The name of the IoT thing to which you want to connect.
- services Sequence[str]
- A list of service names that identify the target application.
- thing_
name str - The name of the IoT thing to which you want to connect.
TunnelStatus, TunnelStatusArgs
- Open
OPEN- Closed
CLOSED
- Tunnel
Status Open OPEN- Tunnel
Status Closed CLOSED
- "OPEN"
OPEN- "CLOSED"
CLOSED
- Open
OPEN- Closed
CLOSED
- Open
OPEN- Closed
CLOSED
- OPEN
OPEN- CLOSED
CLOSED
- "OPEN"
OPEN- "CLOSED"
CLOSED
TunnelTimeoutConfig, TunnelTimeoutConfigArgs
Tunnel timeout configuration.- Max
Lifetime intTimeout Minutes - The maximum amount of time (in minutes) a tunnel can remain open.
- Max
Lifetime intTimeout Minutes - The maximum amount of time (in minutes) a tunnel can remain open.
- max_
lifetime_ numbertimeout_ minutes - The maximum amount of time (in minutes) a tunnel can remain open.
- max
Lifetime IntegerTimeout Minutes - The maximum amount of time (in minutes) a tunnel can remain open.
- max
Lifetime numberTimeout Minutes - The maximum amount of time (in minutes) a tunnel can remain open.
- max_
lifetime_ inttimeout_ minutes - The maximum amount of time (in minutes) a tunnel can remain open.
- max
Lifetime NumberTimeout Minutes - The maximum amount of time (in minutes) a tunnel can remain open.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
published on Monday, Sep 14, 2026 by Pulumi