Interface CfnIPAMPrefixListResolverPropsMixin.IpamPrefixListResolverRuleConditionProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnIPAMPrefixListResolverPropsMixin.IpamPrefixListResolverRuleConditionProperty.Jsii$Proxy
- Enclosing class:
CfnIPAMPrefixListResolverPropsMixin
@Stability(Stable)
public static interface CfnIPAMPrefixListResolverPropsMixin.IpamPrefixListResolverRuleConditionProperty
extends software.amazon.jsii.JsiiSerializable
Two of the rule types allow you to add conditions to the rules.
(1) For IPAM Pool CIDR rules, you can specify an ipamPoolId; if not specified, the rule will apply to all IPAM Pool CIDRs in the scope. (2) For IPAM Resource CIDR rules, you can specify resourceId, resourceOwner, resourceRegion, cidr, or resourceTag.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.ec2.*;
IpamPrefixListResolverRuleConditionProperty ipamPrefixListResolverRuleConditionProperty = IpamPrefixListResolverRuleConditionProperty.builder()
.cidr("cidr")
.ipamPoolId("ipamPoolId")
.operation("operation")
.resourceId("resourceId")
.resourceOwner("resourceOwner")
.resourceRegion("resourceRegion")
.resourceTag(CfnTag.builder()
.key("key")
.value("value")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnIPAMPrefixListResolverPropsMixin.IpamPrefixListResolverRuleConditionProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringgetCidr()Condition for the IPAM Resource CIDR rule type.default StringCondition for the IPAM Pool CIDR rule type.default StringEquals, Not equals, or Subnet Of.default StringCondition for the IPAM Resource CIDR rule type.default StringCondition for the IPAM Resource CIDR rule type.default StringCondition for the IPAM Resource CIDR rule type.default ObjectA key-value pair to associate with a resource.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCidr
Condition for the IPAM Resource CIDR rule type.CIDR (like 10.24.34.0/23).
- See Also:
-
getIpamPoolId
Condition for the IPAM Pool CIDR rule type.If not chosen, the resolver applies to all IPAM Pool CIDRs in the scope.
- See Also:
-
getOperation
Equals, Not equals, or Subnet Of.The subnet-of operation only applies to cidr conditions.
- See Also:
-
getResourceId
Condition for the IPAM Resource CIDR rule type.The unique ID of a resource (like vpc-1234567890abcdef0).
- See Also:
-
getResourceOwner
Condition for the IPAM Resource CIDR rule type.Resource owner (like 111122223333).
- See Also:
-
getResourceRegion
Condition for the IPAM Resource CIDR rule type.Resource region (like us-east-1).
- See Also:
-
getResourceTag
A key-value pair to associate with a resource.Returns union: either
IResolvableorCfnTag- See Also:
-
builder
@Stability(Stable) static CfnIPAMPrefixListResolverPropsMixin.IpamPrefixListResolverRuleConditionProperty.Builder builder()
-