CfnIPAMPrefixListResolverProps
- class aws_cdk.aws_ec2.CfnIPAMPrefixListResolverProps(*, address_family, description=None, ipam_id=None, rules=None, tags=None)
Bases:
objectProperties for defining a
CfnIPAMPrefixListResolver.- Parameters:
address_family (
str) – The address family of the address space in this Prefix List Resolver. Either IPv4 or IPv6.description (
Optional[str])ipam_id (
Optional[str]) – The Id of the IPAM this Prefix List Resolver is a part of.rules (
Union[IResolvable,Sequence[Union[IResolvable,IpamPrefixListResolverRuleProperty,Dict[str,Any]]],None]) – Rules define the business logic for selecting CIDRs from IPAM.tags (
Optional[Sequence[Union[CfnTag,Dict[str,Any]]]]) – An array of key-value pairs to apply to this resource.
- See:
- ExampleMetadata:
fixture=_generated
Example:
from aws_cdk import CfnTag, CfnTag # The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_ec2 as ec2 cfn_iPAMPrefix_list_resolver_props = ec2.CfnIPAMPrefixListResolverProps( address_family="addressFamily", # the properties below are optional description="description", ipam_id="ipamId", rules=[ec2.CfnIPAMPrefixListResolver.IpamPrefixListResolverRuleProperty( rule_type="ruleType", # the properties below are optional conditions=[ec2.CfnIPAMPrefixListResolver.IpamPrefixListResolverRuleConditionProperty( operation="operation", # the properties below are optional cidr="cidr", ipam_pool_id="ipamPoolId", resource_id="resourceId", resource_owner="resourceOwner", resource_region="resourceRegion", resource_tag=CfnTag( key="key", value="value" ) )], ipam_scope_id="ipamScopeId", resource_type="resourceType", static_cidr="staticCidr" )], tags=[CfnTag( key="key", value="value" )] )
Attributes
- address_family
The address family of the address space in this Prefix List Resolver.
Either IPv4 or IPv6.
- description
-
- Type:
see
- ipam_id
The Id of the IPAM this Prefix List Resolver is a part of.
- rules
Rules define the business logic for selecting CIDRs from IPAM.
- tags
An array of key-value pairs to apply to this resource.