interface IpamPrefixListResolverRuleConditionProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.EC2.Mixins.CfnIPAMPrefixListResolverPropsMixin.IpamPrefixListResolverRuleConditionProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsec2/mixins#CfnIPAMPrefixListResolverPropsMixin_IpamPrefixListResolverRuleConditionProperty |
Java | software.amazon.awscdk.mixins.preview.services.ec2.mixins.CfnIPAMPrefixListResolverPropsMixin.IpamPrefixListResolverRuleConditionProperty |
Python | aws_cdk.mixins_preview.aws_ec2.mixins.CfnIPAMPrefixListResolverPropsMixin.IpamPrefixListResolverRuleConditionProperty |
TypeScript | @aws-cdk/mixins-preview » aws_ec2 » mixins » CfnIPAMPrefixListResolverPropsMixin » IpamPrefixListResolverRuleConditionProperty |
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 { mixins as ec2_mixins } from '@aws-cdk/mixins-preview/aws-ec2';
const ipamPrefixListResolverRuleConditionProperty: ec2_mixins.CfnIPAMPrefixListResolverPropsMixin.IpamPrefixListResolverRuleConditionProperty = {
cidr: 'cidr',
ipamPoolId: 'ipamPoolId',
operation: 'operation',
resourceId: 'resourceId',
resourceOwner: 'resourceOwner',
resourceRegion: 'resourceRegion',
resourceTag: {
key: 'key',
value: 'value',
},
};
Properties
| Name | Type | Description |
|---|---|---|
| cidr? | string | Condition for the IPAM Resource CIDR rule type. |
| ipam | string | Condition for the IPAM Pool CIDR rule type. |
| operation? | string | Equals, Not equals, or Subnet Of. |
| resource | string | Condition for the IPAM Resource CIDR rule type. |
| resource | string | Condition for the IPAM Resource CIDR rule type. |
| resource | string | Condition for the IPAM Resource CIDR rule type. |
| resource | IResolvable | Cfn | A key-value pair to associate with a resource. |
cidr?
Type:
string
(optional)
Condition for the IPAM Resource CIDR rule type.
CIDR (like 10.24.34.0/23).
ipamPoolId?
Type:
string
(optional)
Condition for the IPAM Pool CIDR rule type.
If not chosen, the resolver applies to all IPAM Pool CIDRs in the scope.
operation?
Type:
string
(optional)
Equals, Not equals, or Subnet Of.
The subnet-of operation only applies to cidr conditions.
resourceId?
Type:
string
(optional)
Condition for the IPAM Resource CIDR rule type.
The unique ID of a resource (like vpc-1234567890abcdef0).
resourceOwner?
Type:
string
(optional)
Condition for the IPAM Resource CIDR rule type.
Resource owner (like 111122223333).
resourceRegion?
Type:
string
(optional)
Condition for the IPAM Resource CIDR rule type.
Resource region (like us-east-1).
resourceTag?
Type:
IResolvable | Cfn
(optional)
A key-value pair to associate with a resource.

.NET
Go
Java
Python
TypeScript