CfnConnectionPropsMixin

class aws_cdk.cfn_property_mixins.aws_interconnect.CfnConnectionPropsMixin(props, *, strategy=None)

Bases: Mixin

Resource Type definition for AWS::Interconnect::Connection.

Creates a managed network connection between AWS and a partner cloud service provider.

See:

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

CloudformationResource:

AWS::Interconnect::Connection

Mixin:

true

ExampleMetadata:

fixture=_generated

Example:

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

# merge_strategy: cdk.IMergeStrategy

cfn_connection_props_mixin = interconnect.CfnConnectionPropsMixin(interconnect.CfnConnectionMixinProps(
    activation_key="activationKey",
    attach_point=interconnect.CfnConnectionPropsMixin.AttachPointProperty(
        arn="arn",
        direct_connect_gateway="directConnectGateway"
    ),
    bandwidth="bandwidth",
    description="description",
    environment_id="environmentId",
    remote_owner_account="remoteOwnerAccount",
    tags=[cdk.CfnTag(
        key="key",
        value="value"
    )]
),
    strategy=merge_strategy
)

Create a mixin to apply properties to AWS::Interconnect::Connection.

Parameters:
  • props (Union[CfnConnectionMixinProps, Dict[str, Any]]) – L1 properties to apply.

  • strategy (Optional[IMergeStrategy]) – Strategy for merging nested properties. Default: - PropertyMergeStrategy.combine()

Methods

apply_to(construct)

Apply the mixin properties to the construct.

Parameters:

construct (IConstruct)

Return type:

None

supports(construct)

Check if this mixin supports the given construct.

Parameters:

construct (IConstruct)

Return type:

bool

Attributes

CFN_PROPERTY_KEYS = ['activationKey', 'attachPoint', 'bandwidth', 'description', 'environmentId', 'remoteOwnerAccount', 'tags']

Static Methods

classmethod is_mixin(x)

Checks if x is a Mixin.

Parameters:

x (Any) – Any object.

Return type:

bool

Returns:

true if x is an object created from a class which extends Mixin.

AttachPointProperty

class CfnConnectionPropsMixin.AttachPointProperty(*, arn=None, direct_connect_gateway=None)

Bases: object

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

Parameters:
  • arn (Optional[str]) – The ARN of the resource to attach to.

  • direct_connect_gateway (Optional[str]) – The ID of the Direct Connect Gateway to attach to.

See:

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

ExampleMetadata:

fixture=_generated

Example:

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

attach_point_property = interconnect.CfnConnectionPropsMixin.AttachPointProperty(
    arn="arn",
    direct_connect_gateway="directConnectGateway"
)

Attributes

arn

The ARN of the resource to attach to.

See:

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

direct_connect_gateway

The ID of the Direct Connect Gateway to attach to.

See:

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

ProviderProperty

class CfnConnectionPropsMixin.ProviderProperty(*, cloud_service_provider=None, last_mile_provider=None)

Bases: object

The partner cloud service provider.

Parameters:
  • cloud_service_provider (Optional[str]) – The name of the cloud service provider.

  • last_mile_provider (Optional[str]) – The name of the last mile provider.

See:

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

ExampleMetadata:

fixture=_generated

Example:

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

provider_property = interconnect.CfnConnectionPropsMixin.ProviderProperty(
    cloud_service_provider="cloudServiceProvider",
    last_mile_provider="lastMileProvider"
)

Attributes

cloud_service_provider

The name of the cloud service provider.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-interconnect-connection-provider.html#cfn-interconnect-connection-provider-cloudserviceprovider

last_mile_provider

The name of the last mile provider.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-interconnect-connection-provider.html#cfn-interconnect-connection-provider-lastmileprovider