CfnAnycastIpListPropsMixin
- class aws_cdk.mixins_preview.aws_cloudfront.mixins.CfnAnycastIpListPropsMixin(props, *, strategy=None)
Bases:
MixinAn Anycast static IP list.
For more information, see Request Anycast static IPs to use for allowlisting in the Amazon CloudFront Developer Guide .
- See:
- 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:
props (
Union[CfnAnycastIpListMixinProps,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:
- 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
xis a Mixin.- Parameters:
x (
Any) – Any object.- Return type:
bool- Returns:
true if
xis an object created from a class which extendsMixin.- 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:
objectAn 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, orFailed.
- See:
- 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.
- arn
The Amazon Resource Name (ARN) of the Anycast static IP list.
- id
The ID of the Anycast static IP list.
- ip_address_type
The IP address type for the Anycast static IP list.
- ip_count
The number of IP addresses in the Anycast static IP list.
- last_modified_time
The last time the Anycast static IP list was modified.
- name
The name of the Anycast static IP list.
- status
The status of the Anycast static IP list.
Valid values:
Deployed,Deploying, orFailed.