Class CfnIPAMResourceDiscovery
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.CfnIPAMResourceDiscovery
- All Implemented Interfaces:
IInspectable,ITaggable,IIPAMResourceDiscoveryRef,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.113.0 (build fc68b25)",
date="2025-10-14T12:28:09.203Z")
@Stability(Stable)
public class CfnIPAMResourceDiscovery
extends CfnResource
implements IInspectable, IIPAMResourceDiscoveryRef, ITaggable
A resource discovery is an IPAM component that enables IPAM to manage and monitor resources that belong to the owning account.
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.*;
CfnIPAMResourceDiscovery cfnIPAMResourceDiscovery = CfnIPAMResourceDiscovery.Builder.create(this, "MyCfnIPAMResourceDiscovery")
.description("description")
.operatingRegions(List.of(IpamOperatingRegionProperty.builder()
.regionName("regionName")
.build()))
.organizationalUnitExclusions(List.of(IpamResourceDiscoveryOrganizationalUnitExclusionProperty.builder()
.organizationsEntityPath("organizationsEntityPath")
.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 forCfnIPAMResourceDiscovery.static interfaceThe operating Regions for an IPAM.static interfaceIf your IPAM is integrated with AWS Organizations, you can exclude an organizational unit (OU) from being managed by 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.services.ec2.IIPAMResourceDiscoveryRef
IIPAMResourceDiscoveryRef.Jsii$Default, IIPAMResourceDiscoveryRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggable
ITaggable.Jsii$Default, ITaggable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnIPAMResourceDiscovery(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnIPAMResourceDiscovery(software.amazon.jsii.JsiiObjectRef objRef) CfnIPAMResourceDiscovery(software.constructs.Construct scope, String id) CfnIPAMResourceDiscovery(software.constructs.Construct scope, String id, CfnIPAMResourceDiscoveryProps props) -
Method Summary
Modifier and TypeMethodDescriptionstatic IIPAMResourceDiscoveryReffromIpamResourceDiscoveryId(software.constructs.Construct scope, String id, String ipamResourceDiscoveryId) Creates a new IIPAMResourceDiscoveryRef from a ipamResourceDiscoveryId.The resource discovery ARN.The resource discovery ID.The resource discovery Region.Defines if the resource discovery is the default.The owner ID.The resource discovery's state.The resource discovery description.A reference to a IPAMResourceDiscovery resource.The operating Regions for the resource discovery.If your IPAM is integrated with AWS Organizations, you can exclude an organizational unit (OU) from being managed by IPAM.getTags()Tag Manager which manages the tags for this resource.A tag is a label that you assign to an AWS resource.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetDescription(String value) The resource discovery description.voidsetOperatingRegions(List<Object> value) The operating Regions for the resource discovery.voidsetOperatingRegions(IResolvable value) The operating Regions for the resource discovery.voidIf your IPAM is integrated with AWS Organizations, you can exclude an organizational unit (OU) from being managed by IPAM.voidIf your IPAM is integrated with AWS Organizations, you can exclude an organizational unit (OU) from being managed by IPAM.voidsetTagsRaw(List<CfnTag> value) A tag is a label that you assign to an AWS resource.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, 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, overrideLogicalIdMethods 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
getNodeMethods 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
-
CfnIPAMResourceDiscovery
protected CfnIPAMResourceDiscovery(software.amazon.jsii.JsiiObjectRef objRef) -
CfnIPAMResourceDiscovery
protected CfnIPAMResourceDiscovery(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnIPAMResourceDiscovery
@Stability(Stable) public CfnIPAMResourceDiscovery(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable CfnIPAMResourceDiscoveryProps props) - 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.
-
CfnIPAMResourceDiscovery
@Stability(Stable) public CfnIPAMResourceDiscovery(@NotNull software.constructs.Construct scope, @NotNull String id) - 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.
-
-
Method Details
-
fromIpamResourceDiscoveryId
@Stability(Stable) @NotNull public static IIPAMResourceDiscoveryRef fromIpamResourceDiscoveryId(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String ipamResourceDiscoveryId) Creates a new IIPAMResourceDiscoveryRef from a ipamResourceDiscoveryId.- Parameters:
scope- This parameter is required.id- This parameter is required.ipamResourceDiscoveryId- 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.
-
getAttrIpamResourceDiscoveryArn
The resource discovery ARN. -
getAttrIpamResourceDiscoveryId
The resource discovery ID. -
getAttrIpamResourceDiscoveryRegion
The resource discovery Region. -
getAttrIsDefault
Defines if the resource discovery is the default.The default resource discovery is the resource discovery automatically created when you create an IPAM.
-
getAttrOwnerId
The owner ID. -
getAttrState
The resource discovery's state.create-in-progress- Resource discovery is being created.create-complete- Resource discovery creation is complete.create-failed- Resource discovery creation has failed.modify-in-progress- Resource discovery is being modified.modify-complete- Resource discovery modification is complete.modify-failed- Resource discovery modification has failed.delete-in-progress- Resource discovery is being deleted.delete-complete- Resource discovery deletion is complete.delete-failed- Resource discovery deletion has failed.isolate-in-progress- AWS account that created the resource discovery has been removed and the resource discovery is being isolated.isolate-complete- Resource discovery isolation is complete.restore-in-progress- AWS account that created the resource discovery and was isolated has been restored.
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getIpamResourceDiscoveryRef
A reference to a IPAMResourceDiscovery resource.- Specified by:
getIpamResourceDiscoveryRefin interfaceIIPAMResourceDiscoveryRef
-
getTags
Tag Manager which manages the tags for this resource. -
getDescription
The resource discovery description. -
setDescription
The resource discovery description. -
getOperatingRegions
The operating Regions for the resource discovery. -
setOperatingRegions
The operating Regions for the resource discovery. -
setOperatingRegions
The operating Regions for the resource discovery. -
getOrganizationalUnitExclusions
If your IPAM is integrated with AWS Organizations, you can exclude an organizational unit (OU) from being managed by IPAM. When you exclude an OU, IPAM will not manage the IP addresses in accounts in that OU. For more information, see Exclude organizational units from IPAM in the Amazon Virtual Private Cloud IP Address Manager User Guide . -
setOrganizationalUnitExclusions
If your IPAM is integrated with AWS Organizations, you can exclude an organizational unit (OU) from being managed by IPAM. When you exclude an OU, IPAM will not manage the IP addresses in accounts in that OU. For more information, see Exclude organizational units from IPAM in the Amazon Virtual Private Cloud IP Address Manager User Guide . -
setOrganizationalUnitExclusions
If your IPAM is integrated with AWS Organizations, you can exclude an organizational unit (OU) from being managed by IPAM. When you exclude an OU, IPAM will not manage the IP addresses in accounts in that OU. For more information, see Exclude organizational units from IPAM in the Amazon Virtual Private Cloud IP Address Manager User Guide . -
getTagsRaw
A tag is a label that you assign to an AWS resource. -
setTagsRaw
A tag is a label that you assign to an AWS resource.
-