Interface CfnTunnelProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTunnelProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)",
date="2026-09-02T11:03:12.053Z")
@Stability(Stable)
public interface CfnTunnelProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnTunnel.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.iotsecuretunneling.*;
CfnTunnelProps cfnTunnelProps = CfnTunnelProps.builder()
.description("description")
.destinationConfig(DestinationConfigProperty.builder()
.services(List.of("services"))
// the properties below are optional
.thingName("thingName")
.build())
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.timeoutConfig(TimeoutConfigProperty.builder()
.maxLifetimeTimeoutMinutes(123)
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnTunnelPropsstatic final classAn implementation forCfnTunnelProps -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDescription
A short text description of the tunnel.- See Also:
-
getDestinationConfig
The destination configuration.Returns union: either
IResolvableorCfnTunnel.DestinationConfigProperty- See Also:
-
getTags
A collection of tag metadata.- See Also:
-
getTimeoutConfig
Tunnel timeout configuration.Returns union: either
IResolvableorCfnTunnel.TimeoutConfigProperty- See Also:
-
builder
- Returns:
- a
CfnTunnelProps.BuilderofCfnTunnelProps
-