Interface CfnConnectionProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnConnectionProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.140.0 (build 79fd58c)",
date="2026-09-30T11:04:56.431Z")
@Stability(Stable)
public interface CfnConnectionProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnConnection.
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.networkmanager.*;
CfnConnectionProps cfnConnectionProps = CfnConnectionProps.builder()
.connectedDeviceId("connectedDeviceId")
.deviceId("deviceId")
.globalNetworkId("globalNetworkId")
// the properties below are optional
.connectedLinkId("connectedLinkId")
.description("description")
.linkId("linkId")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnConnectionPropsstatic final classAn implementation forCfnConnectionProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnConnectionProps.Builderbuilder()The ID of the second device in the connection.default StringThe ID of the link for the second device.default StringThe description of the connection.The ID of the first device in the connection.The ID of the global network that the connection belongs to.default StringThe ID of the link for the first device.getTags()The tags for the connection.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getConnectedDeviceId
The ID of the second device in the connection.- See Also:
-
getDeviceId
The ID of the first device in the connection.- See Also:
-
getGlobalNetworkId
The ID of the global network that the connection belongs to.- See Also:
-
getConnectedLinkId
The ID of the link for the second device.- See Also:
-
getDescription
The description of the connection.- See Also:
-
getLinkId
The ID of the link for the first device.- See Also:
-
getTags
The tags for the connection.- See Also:
-
builder
- Returns:
- a
CfnConnectionProps.BuilderofCfnConnectionProps
-