CfnConnectionProps

class aws_cdk.aws_directconnect.CfnConnectionProps(*, bandwidth, connection_name, location, lag_id=None, provider_name=None, request_mac_sec=None, tags=None)

Bases: object

Properties for defining a CfnConnection.

Parameters:
  • bandwidth (str) – The bandwidth of the connection.

  • connection_name (str) – The name of the connection.

  • location (str) – The location of the connection.

  • lag_id (Union[str, ILagRef, None])

  • provider_name (Optional[str]) – The name of the service provider associated with the requested connection.

  • request_mac_sec (Union[bool, IResolvable, None]) – Indicates whether you want the connection to support MAC Security (MACsec).

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – The tags associated with the connection.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-directconnect-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_directconnect as directconnect

cfn_connection_props = directconnect.CfnConnectionProps(
    bandwidth="bandwidth",
    connection_name="connectionName",
    location="location",

    # the properties below are optional
    lag_id="lagId",
    provider_name="providerName",
    request_mac_sec=False,
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

bandwidth

The bandwidth of the connection.

See:

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

connection_name

The name of the connection.

See:

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

lag_id

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

Type:

see

location

The location of the connection.

See:

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

provider_name

The name of the service provider associated with the requested connection.

See:

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

request_mac_sec

Indicates whether you want the connection to support MAC Security (MACsec).

See:

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

tags

The tags associated with the connection.

See:

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