Class CfnIPAMPrefixListResolverPropsMixin.IpamPrefixListResolverRuleConditionProperty
Two of the rule types allow you to add conditions to the rules.
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.EC2
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnIPAMPrefixListResolverPropsMixin.IpamPrefixListResolverRuleConditionProperty : CfnIPAMPrefixListResolverPropsMixin.IIpamPrefixListResolverRuleConditionProperty
Syntax (vb)
Public Class CfnIPAMPrefixListResolverPropsMixin.IpamPrefixListResolverRuleConditionProperty Implements CfnIPAMPrefixListResolverPropsMixin.IIpamPrefixListResolverRuleConditionProperty
Remarks
(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.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.EC2;
var ipamPrefixListResolverRuleConditionProperty = new IpamPrefixListResolverRuleConditionProperty {
Cidr = "cidr",
IpamPoolId = "ipamPoolId",
Operation = "operation",
ResourceId = "resourceId",
ResourceOwner = "resourceOwner",
ResourceRegion = "resourceRegion",
ResourceTag = new CfnTag {
Key = "key",
Value = "value"
}
};
Synopsis
Constructors
| IpamPrefixListResolverRuleConditionProperty() | Two of the rule types allow you to add conditions to the rules. |
Properties
| Cidr | Condition for the IPAM Resource CIDR rule type. |
| IpamPoolId | Condition for the IPAM Pool CIDR rule type. |
| Operation | Equals, Not equals, or Subnet Of. |
| ResourceId | Condition for the IPAM Resource CIDR rule type. |
| ResourceOwner | Condition for the IPAM Resource CIDR rule type. |
| ResourceRegion | Condition for the IPAM Resource CIDR rule type. |
| ResourceTag | A key-value pair to associate with a resource. |
Constructors
IpamPrefixListResolverRuleConditionProperty()
Two of the rule types allow you to add conditions to the rules.
public IpamPrefixListResolverRuleConditionProperty()
Remarks
(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.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.EC2;
var ipamPrefixListResolverRuleConditionProperty = new IpamPrefixListResolverRuleConditionProperty {
Cidr = "cidr",
IpamPoolId = "ipamPoolId",
Operation = "operation",
ResourceId = "resourceId",
ResourceOwner = "resourceOwner",
ResourceRegion = "resourceRegion",
ResourceTag = new CfnTag {
Key = "key",
Value = "value"
}
};
Properties
Cidr
Condition for the IPAM Resource CIDR rule type.
public string? Cidr { get; set; }
Property Value
Remarks
IpamPoolId
Condition for the IPAM Pool CIDR rule type.
public string? IpamPoolId { get; set; }
Property Value
Remarks
If not chosen, the resolver applies to all IPAM Pool CIDRs in the scope.
Operation
Equals, Not equals, or Subnet Of.
public string? Operation { get; set; }
Property Value
Remarks
The subnet-of operation only applies to cidr conditions.
ResourceId
Condition for the IPAM Resource CIDR rule type.
public string? ResourceId { get; set; }
Property Value
Remarks
The unique ID of a resource (like vpc-1234567890abcdef0).
ResourceOwner
Condition for the IPAM Resource CIDR rule type.
public string? ResourceOwner { get; set; }
Property Value
Remarks
ResourceRegion
Condition for the IPAM Resource CIDR rule type.
public string? ResourceRegion { get; set; }
Property Value
Remarks
ResourceTag
A key-value pair to associate with a resource.
public object? ResourceTag { get; set; }