Class CfnIPAMPrefixListResolver
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.ec2.CfnIPAMPrefixListResolver
- All Implemented Interfaces:
IInspectable,IIPAMPrefixListResolverRef,IEnvironmentAware,ITaggableV2,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-11T13:19:42.501Z")
@Stability(Stable)
public class CfnIPAMPrefixListResolver
extends CfnResource
implements IInspectable, IIPAMPrefixListResolverRef, ITaggableV2
Resource Type definition for AWS::EC2::IPAMPrefixListResolver.
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.*;
CfnIPAMPrefixListResolver cfnIPAMPrefixListResolver = CfnIPAMPrefixListResolver.Builder.create(this, "MyCfnIPAMPrefixListResolver")
.addressFamily("addressFamily")
// the properties below are optional
.description("description")
.ipamId("ipamId")
.rules(List.of(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()))
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnIPAMPrefixListResolver.static interfaceTwo of the rule types allow you to add conditions to the rules.static interfaceCIDR selection rules define the business logic for selecting CIDRs from IPAM.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.ec2.IIPAMPrefixListResolverRef
IIPAMPrefixListResolverRef.Jsii$Default, IIPAMPrefixListResolverRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnIPAMPrefixListResolver(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnIPAMPrefixListResolver(software.amazon.jsii.JsiiObjectRef objRef) CfnIPAMPrefixListResolver(software.constructs.Construct scope, String id, CfnIPAMPrefixListResolverProps props) Create a newAWS::EC2::IPAMPrefixListResolver. -
Method Summary
Modifier and TypeMethodDescriptionstatic Stringstatic IIPAMPrefixListResolverReffromIPAMPrefixListResolverArn(software.constructs.Construct scope, String id, String arn) Creates a new IIPAMPrefixListResolverRef from an ARN.static IIPAMPrefixListResolverReffromIpamPrefixListResolverId(software.constructs.Construct scope, String id, String ipamPrefixListResolverId) Creates a new IIPAMPrefixListResolverRef from a ipamPrefixListResolverId.The address family of the address space in this Prefix List Resolver.The Amazon Resource Name (ARN) of the IPAM this Prefix List Resolver is a part of.The Amazon Resource Name (ARN) of the IPAM Prefix List Resolver.Id of the IPAM Prefix List Resolver.Tag Manager which manages the tags for this resource.The Id of the IPAM this Prefix List Resolver is a part of.A reference to a IPAMPrefixListResolver resource.getRules()Rules define the business logic for selecting CIDRs from IPAM.getTags()An array of key-value pairs to apply to this resource.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnIPAMPrefixListResolver.renderProperties(Map<String, Object> props) voidsetAddressFamily(String value) The address family of the address space in this Prefix List Resolver.voidsetDescription(String value) voidThe Id of the IPAM this Prefix List Resolver is a part of.voidRules define the business logic for selecting CIDRs from IPAM.voidsetRules(IResolvable value) Rules define the business logic for selecting CIDRs from IPAM.voidAn array of key-value pairs to apply to this resource.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId, withMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNode, withMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnIPAMPrefixListResolver
protected CfnIPAMPrefixListResolver(software.amazon.jsii.JsiiObjectRef objRef) -
CfnIPAMPrefixListResolver
protected CfnIPAMPrefixListResolver(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnIPAMPrefixListResolver
@Stability(Stable) public CfnIPAMPrefixListResolver(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnIPAMPrefixListResolverProps props) Create a newAWS::EC2::IPAMPrefixListResolver.- Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties. This parameter is required.
-
-
Method Details
-
arnForIPAMPrefixListResolver
@Stability(Stable) @NotNull public static String arnForIPAMPrefixListResolver(@NotNull IIPAMPrefixListResolverRef resource) - Parameters:
resource- This parameter is required.
-
fromIPAMPrefixListResolverArn
@Stability(Stable) @NotNull public static IIPAMPrefixListResolverRef fromIPAMPrefixListResolverArn(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String arn) Creates a new IIPAMPrefixListResolverRef from an ARN.- Parameters:
scope- This parameter is required.id- This parameter is required.arn- This parameter is required.
-
fromIpamPrefixListResolverId
@Stability(Stable) @NotNull public static IIPAMPrefixListResolverRef fromIpamPrefixListResolverId(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String ipamPrefixListResolverId) Creates a new IIPAMPrefixListResolverRef from a ipamPrefixListResolverId.- Parameters:
scope- This parameter is required.id- This parameter is required.ipamPrefixListResolverId- This parameter is required.
-
isCfnIPAMPrefixListResolver
Checks whether the given object is a CfnIPAMPrefixListResolver.- Parameters:
x- This parameter is required.
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrIpamArn
The Amazon Resource Name (ARN) of the IPAM this Prefix List Resolver is a part of. -
getAttrIpamPrefixListResolverArn
The Amazon Resource Name (ARN) of the IPAM Prefix List Resolver. -
getAttrIpamPrefixListResolverId
Id of the IPAM Prefix List Resolver. -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getIpamPrefixListResolverRef
A reference to a IPAMPrefixListResolver resource.- Specified by:
getIpamPrefixListResolverRefin interfaceIIPAMPrefixListResolverRef
-
getAddressFamily
The address family of the address space in this Prefix List Resolver. -
setAddressFamily
The address family of the address space in this Prefix List Resolver. -
getDescription
-
setDescription
-
getIpamId
The Id of the IPAM this Prefix List Resolver is a part of. -
setIpamId
The Id of the IPAM this Prefix List Resolver is a part of. -
getRules
Rules define the business logic for selecting CIDRs from IPAM.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnIPAMPrefixListResolver.IpamPrefixListResolverRuleProperty> -
setRules
Rules define the business logic for selecting CIDRs from IPAM. -
setRules
Rules define the business logic for selecting CIDRs from IPAM. -
getTags
An array of key-value pairs to apply to this resource. -
setTags
An array of key-value pairs to apply to this resource.
-