Interface CfnIPAMPrefixListResolver.IpamPrefixListResolverRuleProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnIPAMPrefixListResolver.IpamPrefixListResolverRuleProperty.Jsii$Proxy
Enclosing class:
CfnIPAMPrefixListResolver

@Stability(Stable) public static interface CfnIPAMPrefixListResolver.IpamPrefixListResolverRuleProperty extends software.amazon.jsii.JsiiSerializable
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 rules, but you'll need to add at least one rule before it can actually automate your prefix list updates.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.ec2.*;
 IpamPrefixListResolverRuleProperty ipamPrefixListResolverRuleProperty = IpamPrefixListResolverRuleProperty.builder()
         .ruleType("ruleType")
         // the properties below are optional
         .conditions(List.of(IpamPrefixListResolverRuleConditionProperty.builder()
                 .operation("operation")
                 // the properties below are optional
                 .cidr("cidr")
                 .ipamPoolId("ipamPoolId")
                 .resourceId("resourceId")
                 .resourceOwner("resourceOwner")
                 .resourceRegion("resourceRegion")
                 .resourceTag(CfnTag.builder()
                         .key("key")
                         .value("value")
                         .build())
                 .build()))
         .ipamScopeId("ipamScopeId")
         .resourceType("resourceType")
         .staticCidr("staticCidr")
         .build();
 

See Also: