CfnConnectionProps

class aws_cdk.aws_interconnect.CfnConnectionProps(*, attach_point, activation_key=None, bandwidth=None, description=None, environment_id=None, remote_account=None, remote_owner_account=None, tags=None)

Bases: object

Properties for defining a CfnConnection.

Parameters:
  • attach_point (Union[IResolvable, AttachPointProperty, Dict[str, Any]]) – The logical attachment point in your AWS network where the managed connection will be connected.

  • activation_key (Optional[str]) – The activation key for accepting a connection proposal from a partner CSP. Mutually exclusive with EnvironmentId.

  • bandwidth (Optional[str]) – The bandwidth of the connection (e.g., 50Mbps, 1Gbps). Required when creating a connection through AWS.

  • description (Optional[str]) – A description of the connection.

  • environment_id (Optional[str]) – The ID of the environment for the connection. Required when creating a connection through AWS. Mutually exclusive with ActivationKey.

  • remote_account (Union[IResolvable, RemoteAccountProperty, Dict[str, Any], None]) – The remote account identifier for the connection. Required when creating a connection through AWS. Replaces RemoteOwnerAccount.

  • remote_owner_account (Optional[str]) – Deprecated. Use RemoteAccount instead. The account ID of the remote owner. Required when creating a connection through AWS.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – An array of key-value pairs to apply to this resource.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-interconnect-connection.html

ExampleMetadata:

fixture=_generated

Example:

from aws_cdk import CfnTag
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_interconnect as interconnect

cfn_connection_props = interconnect.CfnConnectionProps(
    attach_point=interconnect.CfnConnection.AttachPointProperty(
        arn="arn",
        direct_connect_gateway="directConnectGateway"
    ),

    # the properties below are optional
    activation_key="activationKey",
    bandwidth="bandwidth",
    description="description",
    environment_id="environmentId",
    remote_account=interconnect.CfnConnection.RemoteAccountProperty(
        identifier="identifier"
    ),
    remote_owner_account="remoteOwnerAccount",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

activation_key

The activation key for accepting a connection proposal from a partner CSP.

Mutually exclusive with EnvironmentId.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-interconnect-connection.html#cfn-interconnect-connection-activationkey

attach_point

The logical attachment point in your AWS network where the managed connection will be connected.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-interconnect-connection.html#cfn-interconnect-connection-attachpoint

bandwidth

The bandwidth of the connection (e.g., 50Mbps, 1Gbps). Required when creating a connection through AWS.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-interconnect-connection.html#cfn-interconnect-connection-bandwidth

description

A description of the connection.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-interconnect-connection.html#cfn-interconnect-connection-description

environment_id

The ID of the environment for the connection.

Required when creating a connection through AWS. Mutually exclusive with ActivationKey.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-interconnect-connection.html#cfn-interconnect-connection-environmentid

remote_account

The remote account identifier for the connection.

Required when creating a connection through AWS. Replaces RemoteOwnerAccount.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-interconnect-connection.html#cfn-interconnect-connection-remoteaccount

remote_owner_account

Deprecated.

Use RemoteAccount instead. The account ID of the remote owner. Required when creating a connection through AWS.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-interconnect-connection.html#cfn-interconnect-connection-remoteowneraccount

tags

An array of key-value pairs to apply to this resource.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-interconnect-connection.html#cfn-interconnect-connection-tags