Interface CfnConnectionProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnConnectionProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-04-02T21:55:12.483Z")
@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.interconnect.*;
CfnConnectionProps cfnConnectionProps = CfnConnectionProps.builder()
.attachPoint(AttachPointProperty.builder()
.arn("arn")
.directConnectGateway("directConnectGateway")
.build())
// the properties below are optional
.activationKey("activationKey")
.bandwidth("bandwidth")
.description("description")
.environmentId("environmentId")
.remoteOwnerAccount("remoteOwnerAccount")
.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()default StringThe activation key for accepting a connection proposal from a partner CSP.The logical attachment point in your AWS network where the managed connection will be connected.default StringThe bandwidth of the connection (e.g., 50Mbps, 1Gbps).default StringA description of the connection.default StringThe ID of the environment for the connection.default StringThe account ID of the remote owner.getTags()An array of key-value pairs to apply to this resource.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAttachPoint
The logical attachment point in your AWS network where the managed connection will be connected.Returns union: either
IResolvableorCfnConnection.AttachPointProperty- See Also:
-
getActivationKey
The activation key for accepting a connection proposal from a partner CSP.Mutually exclusive with EnvironmentId.
- See Also:
-
getBandwidth
The bandwidth of the connection (e.g., 50Mbps, 1Gbps). Required when creating a connection through AWS.- See Also:
-
getDescription
A description of the connection.- See Also:
-
getEnvironmentId
The ID of the environment for the connection.Required when creating a connection through AWS. Mutually exclusive with ActivationKey.
- See Also:
-
getRemoteOwnerAccount
The account ID of the remote owner.Required when creating a connection through AWS.
- See Also:
-
getTags
An array of key-value pairs to apply to this resource.- See Also:
-
builder
- Returns:
- a
CfnConnectionProps.BuilderofCfnConnectionProps
-