CfnStaticIpMixinProps

class aws_cdk.mixins_preview.aws_lightsail.mixins.CfnStaticIpMixinProps(*, attached_to=None, static_ip_name=None)

Bases: object

Properties for CfnStaticIpPropsMixin.

Parameters:
  • attached_to (Optional[str]) – The instance that the static IP is attached to.

  • static_ip_name (Optional[str]) – The name of the static IP.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lightsail-staticip.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_lightsail import mixins as lightsail_mixins

cfn_static_ip_mixin_props = lightsail_mixins.CfnStaticIpMixinProps(
    attached_to="attachedTo",
    static_ip_name="staticIpName"
)

Attributes

attached_to

The instance that the static IP is attached to.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lightsail-staticip.html#cfn-lightsail-staticip-attachedto

static_ip_name

The name of the static IP.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lightsail-staticip.html#cfn-lightsail-staticip-staticipname