CfnTunnelProps

class aws_cdk.aws_iotsecuretunneling.CfnTunnelProps(*, description=None, destination_config=None, tags=None, timeout_config=None)

Bases: object

Properties for defining a CfnTunnel.

Parameters:
  • description (Optional[str]) – A short text description of the tunnel.

  • destination_config (Union[IResolvable, DestinationConfigProperty, Dict[str, Any], None]) – The destination configuration.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – A collection of tag metadata.

  • timeout_config (Union[IResolvable, TimeoutConfigProperty, Dict[str, Any], None]) – Tunnel timeout configuration.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsecuretunneling-tunnel.html

ExampleMetadata:

fixture=_generated

Example:

from aws_cdk import CfnTag
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_iotsecuretunneling as iotsecuretunneling

cfn_tunnel_props = iotsecuretunneling.CfnTunnelProps(
    description="description",
    destination_config=iotsecuretunneling.CfnTunnel.DestinationConfigProperty(
        services=["services"],

        # the properties below are optional
        thing_name="thingName"
    ),
    tags=[CfnTag(
        key="key",
        value="value"
    )],
    timeout_config=iotsecuretunneling.CfnTunnel.TimeoutConfigProperty(
        max_lifetime_timeout_minutes=123
    )
)

Attributes

description

A short text description of the tunnel.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsecuretunneling-tunnel.html#cfn-iotsecuretunneling-tunnel-description

destination_config

The destination configuration.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsecuretunneling-tunnel.html#cfn-iotsecuretunneling-tunnel-destinationconfig

tags

A collection of tag metadata.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsecuretunneling-tunnel.html#cfn-iotsecuretunneling-tunnel-tags

timeout_config

Tunnel timeout configuration.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsecuretunneling-tunnel.html#cfn-iotsecuretunneling-tunnel-timeoutconfig