AWS::EC2::IPAMPrefixListResolver IpamPrefixListResolverRule - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

This is the new Amazon CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the Amazon CloudFormation User Guide.

AWS::EC2::IPAMPrefixListResolver IpamPrefixListResolverRule

Describes a CIDR selection rule.

CIDR selection rules define the business logic for selecting CIDRs from IPAM. If a CIDR matches any of the rules, it will be included. If a rule has multiple conditions, the CIDR has to match every condition of that rule. You can create a prefix list resolver without any CIDR selection rules, but it will generate empty versions (containing no CIDRs) until you add rules.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "Conditions" : [ IpamPrefixListResolverRuleCondition, ... ], "IpamScopeId" : String, "ResourceType" : String, "RuleType" : String, "StaticCidr" : String }

Properties

Conditions

The conditions that determine which CIDRs are selected by this rule. Conditions specify criteria such as resource type, tags, account IDs, and Regions.

Required: No

Type: Array of IpamPrefixListResolverRuleCondition

Update requires: No interruption

IpamScopeId

The ID of the IPAM scope from which to select CIDRs. This determines whether to select from public or private IP address space.

Required: No

Type: String

Update requires: No interruption

ResourceType

For rules of type ipam-resource-cidr, this is the resource type.

Required: No

Type: String

Allowed values: vpc | subnet | eip | public-ipv4-pool

Update requires: No interruption

RuleType

The type of CIDR selection rule. Valid values include static-cidr for specifying a fixed CIDR, ipam-resource-cidr for CIDRs from resources such as VPCs and subnets, and ipam-pool-cidr for CIDRs from IPAM pools.

Required: Yes

Type: String

Allowed values: static-cidr | ipam-resource-cidr | ipam-pool-cidr

Update requires: No interruption

StaticCidr

A fixed CIDR that does not change. This property can only be specified for rules of type static-cidr.

Required: No

Type: String

Update requires: No interruption