CfnLinkPropsMixin

class aws_cdk.mixins_preview.aws_networkmanager.mixins.CfnLinkPropsMixin(props, *, strategy=None)

Bases: Mixin

Specifies a link for a site.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkmanager-link.html

CloudformationResource:

AWS::NetworkManager::Link

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.mixins_preview import mixins
from aws_cdk.mixins_preview.aws_networkmanager import mixins as networkmanager_mixins

cfn_link_props_mixin = networkmanager_mixins.CfnLinkPropsMixin(networkmanager_mixins.CfnLinkMixinProps(
    bandwidth=networkmanager_mixins.CfnLinkPropsMixin.BandwidthProperty(
        download_speed=123,
        upload_speed=123
    ),
    description="description",
    global_network_id="globalNetworkId",
    provider="provider",
    site_id="siteId",
    tags=[CfnTag(
        key="key",
        value="value"
    )],
    type="type"
),
    strategy=mixins.PropertyMergeStrategy.OVERRIDE
)

Create a mixin to apply properties to AWS::NetworkManager::Link.

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

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

Methods

apply_to(construct)

Apply the mixin properties to the construct.

Parameters:

construct (IConstruct)

Return type:

IConstruct

supports(construct)

Check if this mixin supports the given construct.

Parameters:

construct (IConstruct)

Return type:

bool

Attributes

CFN_PROPERTY_KEYS = ['bandwidth', 'description', 'globalNetworkId', 'provider', 'siteId', 'tags', 'type']

Static Methods

classmethod is_mixin(x)

(experimental) 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.

Stability:

experimental

BandwidthProperty

class CfnLinkPropsMixin.BandwidthProperty(*, download_speed=None, upload_speed=None)

Bases: object

Describes bandwidth information.

Parameters:
  • download_speed (Union[int, float, None]) – Download speed in Mbps.

  • upload_speed (Union[int, float, None]) – Upload speed in Mbps.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkmanager-link-bandwidth.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.mixins_preview.aws_networkmanager import mixins as networkmanager_mixins

bandwidth_property = networkmanager_mixins.CfnLinkPropsMixin.BandwidthProperty(
    download_speed=123,
    upload_speed=123
)

Attributes

download_speed

Download speed in Mbps.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkmanager-link-bandwidth.html#cfn-networkmanager-link-bandwidth-downloadspeed

upload_speed

Upload speed in Mbps.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkmanager-link-bandwidth.html#cfn-networkmanager-link-bandwidth-uploadspeed