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}
YAML
Conditions:- IpamPrefixListResolverRuleConditionIpamScopeId:StringResourceType:StringRuleType:StringStaticCidr: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-poolUpdate requires: No interruption
RuleType-
The type of CIDR selection rule. Valid values include
static-cidrfor specifying a fixed CIDR,ipam-resource-cidrfor CIDRs from resources such as VPCs and subnets, andipam-pool-cidrfor CIDRs from IPAM pools.Required: Yes
Type: String
Allowed values:
static-cidr | ipam-resource-cidr | ipam-pool-cidrUpdate 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