Class CfnConnection.Builder
java.lang.Object
software.amazon.awscdk.services.interconnect.CfnConnection.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConnection>
- Enclosing class:
CfnConnection
@Stability(Stable)
public static final class CfnConnection.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConnection>
A fluent builder for
CfnConnection.-
Method Summary
Modifier and TypeMethodDescriptionactivationKey(String activationKey) The activation key for accepting a connection proposal from a partner CSP.attachPoint(IResolvable attachPoint) The logical attachment point in your AWS network where the managed connection will be connected.attachPoint(CfnConnection.AttachPointProperty attachPoint) The logical attachment point in your AWS network where the managed connection will be connected.The bandwidth of the connection (e.g., 50Mbps, 1Gbps).build()static CfnConnection.Builderdescription(String description) A description of the connection.environmentId(String environmentId) The ID of the environment for the connection.remoteOwnerAccount(String remoteOwnerAccount) The account ID of the remote owner.An array of key-value pairs to apply to this resource.
-
Method Details
-
create
@Stability(Stable) public static CfnConnection.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnConnection.Builder.
-
attachPoint
The logical attachment point in your AWS network where the managed connection will be connected.- Parameters:
attachPoint- The logical attachment point in your AWS network where the managed connection will be connected. This parameter is required.- Returns:
this- See Also:
-
attachPoint
@Stability(Stable) public CfnConnection.Builder attachPoint(CfnConnection.AttachPointProperty attachPoint) The logical attachment point in your AWS network where the managed connection will be connected.- Parameters:
attachPoint- The logical attachment point in your AWS network where the managed connection will be connected. This parameter is required.- Returns:
this- See Also:
-
activationKey
The activation key for accepting a connection proposal from a partner CSP.Mutually exclusive with EnvironmentId.
- Parameters:
activationKey- The activation key for accepting a connection proposal from a partner CSP. This parameter is required.- Returns:
this- See Also:
-
bandwidth
The bandwidth of the connection (e.g., 50Mbps, 1Gbps). Required when creating a connection through AWS.- Parameters:
bandwidth- The bandwidth of the connection (e.g., 50Mbps, 1Gbps). Required when creating a connection through AWS. This parameter is required.- Returns:
this- See Also:
-
description
A description of the connection.- Parameters:
description- A description of the connection. This parameter is required.- Returns:
this- See Also:
-
environmentId
The ID of the environment for the connection.Required when creating a connection through AWS. Mutually exclusive with ActivationKey.
- Parameters:
environmentId- The ID of the environment for the connection. This parameter is required.- Returns:
this- See Also:
-
remoteOwnerAccount
The account ID of the remote owner.Required when creating a connection through AWS.
- Parameters:
remoteOwnerAccount- The account ID of the remote owner. This parameter is required.- Returns:
this- See Also:
-
tags
An array of key-value pairs to apply to this resource.- Parameters:
tags- An array of key-value pairs to apply to this resource. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnConnection>- Returns:
- a newly built instance of
CfnConnection.
-