CfnAnycastIpListPropsMixin

class aws_cdk.mixins_preview.aws_cloudfront.mixins.CfnAnycastIpListPropsMixin(props, *, strategy=None)

Bases: Mixin

An Anycast static IP list.

For more information, see Request Anycast static IPs to use for allowlisting in the Amazon CloudFront Developer Guide .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-anycastiplist.html

CloudformationResource:

AWS::CloudFront::AnycastIpList

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_cloudfront import mixins as cloudfront_mixins

cfn_anycast_ip_list_props_mixin = cloudfront_mixins.CfnAnycastIpListPropsMixin(cloudfront_mixins.CfnAnycastIpListMixinProps(
    ip_address_type="ipAddressType",
    ip_count=123,
    name="name"
),
    strategy=mixins.PropertyMergeStrategy.OVERRIDE
)

Create a mixin to apply properties to AWS::CloudFront::AnycastIpList.

Parameters:

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 = ['ipAddressType', 'ipCount', 'name']

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

AnycastIpListProperty

class CfnAnycastIpListPropsMixin.AnycastIpListProperty(*, anycast_ips=None, arn=None, id=None, ip_address_type=None, ip_count=None, last_modified_time=None, name=None, status=None)

Bases: object

An Anycast static IP list.

For more information, see Request Anycast static IPs to use for allowlisting in the Amazon CloudFront Developer Guide .

Parameters:
  • anycast_ips (Optional[Sequence[str]]) – The static IP addresses that are allocated to the Anycast static IP list.

  • arn (Optional[str]) – The Amazon Resource Name (ARN) of the Anycast static IP list.

  • id (Optional[str]) – The ID of the Anycast static IP list.

  • ip_address_type (Optional[str]) – The IP address type for the Anycast static IP list.

  • ip_count (Union[int, float, None]) – The number of IP addresses in the Anycast static IP list.

  • last_modified_time (Optional[str]) – The last time the Anycast static IP list was modified.

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

  • status (Optional[str]) – The status of the Anycast static IP list. Valid values: Deployed , Deploying , or Failed .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-anycastiplist-anycastiplist.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_cloudfront import mixins as cloudfront_mixins

anycast_ip_list_property = cloudfront_mixins.CfnAnycastIpListPropsMixin.AnycastIpListProperty(
    anycast_ips=["anycastIps"],
    arn="arn",
    id="id",
    ip_address_type="ipAddressType",
    ip_count=123,
    last_modified_time="lastModifiedTime",
    name="name",
    status="status"
)

Attributes

anycast_ips

The static IP addresses that are allocated to the Anycast static IP list.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-anycastiplist-anycastiplist.html#cfn-cloudfront-anycastiplist-anycastiplist-anycastips

arn

The Amazon Resource Name (ARN) of the Anycast static IP list.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-anycastiplist-anycastiplist.html#cfn-cloudfront-anycastiplist-anycastiplist-arn

id

The ID of the Anycast static IP list.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-anycastiplist-anycastiplist.html#cfn-cloudfront-anycastiplist-anycastiplist-id

ip_address_type

The IP address type for the Anycast static IP list.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-anycastiplist-anycastiplist.html#cfn-cloudfront-anycastiplist-anycastiplist-ipaddresstype

ip_count

The number of IP addresses in the Anycast static IP list.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-anycastiplist-anycastiplist.html#cfn-cloudfront-anycastiplist-anycastiplist-ipcount

last_modified_time

The last time the Anycast static IP list was modified.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-anycastiplist-anycastiplist.html#cfn-cloudfront-anycastiplist-anycastiplist-lastmodifiedtime

name

The name of the Anycast static IP list.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-anycastiplist-anycastiplist.html#cfn-cloudfront-anycastiplist-anycastiplist-name

status

The status of the Anycast static IP list.

Valid values: Deployed , Deploying , or Failed .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-anycastiplist-anycastiplist.html#cfn-cloudfront-anycastiplist-anycastiplist-status

TagsProperty

class CfnAnycastIpListPropsMixin.TagsProperty(*, items=None)

Bases: object

A complex type that contains zero or more Tag elements.

Parameters:

items (Union[IResolvable, Sequence[Union[IResolvable, CfnTag, Dict[str, Any]]], None]) – A complex type that contains Tag elements.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-anycastiplist-tags.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_cloudfront import mixins as cloudfront_mixins

tags_property = cloudfront_mixins.CfnAnycastIpListPropsMixin.TagsProperty(
    items=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

items

A complex type that contains Tag elements.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-anycastiplist-tags.html#cfn-cloudfront-anycastiplist-tags-items