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-03-11T13:19:41.936Z")
@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.directconnect.*;
CfnConnectionProps cfnConnectionProps = CfnConnectionProps.builder()
.bandwidth("bandwidth")
.connectionName("connectionName")
.location("location")
// the properties below are optional
.lagId("lagId")
.providerName("providerName")
.requestMacSec(false)
.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 bandwidth of the connection.The name of the connection.default ObjectgetLagId()The location of the connection.default StringThe name of the service provider associated with the requested connection.default ObjectIndicates whether you want the connection to support MAC Security (MACsec).getTags()The tags associated with the connection.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getBandwidth
The bandwidth of the connection.- See Also:
-
getConnectionName
The name of the connection.- See Also:
-
getLocation
The location of the connection.- See Also:
-
getLagId
- See Also:
-
getProviderName
The name of the service provider associated with the requested connection.- See Also:
-
getRequestMacSec
Indicates whether you want the connection to support MAC Security (MACsec).Returns union: either
BooleanorIResolvable- See Also:
-
getTags
The tags associated with the connection.- See Also:
-
builder
- Returns:
- a
CfnConnectionProps.BuilderofCfnConnectionProps
-