Class CfnIPAMResourceDiscoveryAssociation
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.CfnIPAMResourceDiscoveryAssociation
- All Implemented Interfaces:
IInspectable,IIPAMResourceDiscoveryAssociationRef,IEnvironmentAware,ITaggable,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)",
date="2025-12-05T22:26:34.777Z")
@Stability(Stable)
public class CfnIPAMResourceDiscoveryAssociation
extends CfnResource
implements IInspectable, IIPAMResourceDiscoveryAssociationRef, ITaggable
An IPAM resource discovery association.
An associated resource discovery is a resource discovery that has been associated with an IPAM. IPAM aggregates the resource CIDRs discovered by the associated resource discovery.
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.*;
CfnIPAMResourceDiscoveryAssociation cfnIPAMResourceDiscoveryAssociation = CfnIPAMResourceDiscoveryAssociation.Builder.create(this, "MyCfnIPAMResourceDiscoveryAssociation")
.ipamId("ipamId")
.ipamResourceDiscoveryId("ipamResourceDiscoveryId")
// the properties below are optional
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnIPAMResourceDiscoveryAssociation.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.IIPAMResourceDiscoveryAssociationRef
IIPAMResourceDiscoveryAssociationRef.Jsii$Default, IIPAMResourceDiscoveryAssociationRef.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
ConstructorsModifierConstructorDescriptionprotectedCfnIPAMResourceDiscoveryAssociation(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnIPAMResourceDiscoveryAssociation(software.amazon.jsii.JsiiObjectRef objRef) CfnIPAMResourceDiscoveryAssociation(software.constructs.Construct scope, String id, CfnIPAMResourceDiscoveryAssociationProps props) Create a newAWS::EC2::IPAMResourceDiscoveryAssociation. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringfromIPAMResourceDiscoveryAssociationArn(software.constructs.Construct scope, String id, String arn) Creates a new IIPAMResourceDiscoveryAssociationRef from an ARN.fromIpamResourceDiscoveryAssociationId(software.constructs.Construct scope, String id, String ipamResourceDiscoveryAssociationId) Creates a new IIPAMResourceDiscoveryAssociationRef from a ipamResourceDiscoveryAssociationId.The IPAM ARN.The IPAM home Region.The resource discovery association ARN.The resource discovery association ID.Defines if the resource discovery is the default.The owner ID.The resource discovery status.The lifecycle state of the association when you associate or disassociate a resource discovery.The IPAM ID.A reference to a IPAMResourceDiscoveryAssociation resource.The resource discovery ID.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.static BooleanChecks whether the given object is a CfnIPAMResourceDiscoveryAssociation.renderProperties(Map<String, Object> props) voidThe IPAM ID.voidsetIpamResourceDiscoveryId(String value) The resource discovery ID.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, 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, 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.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
-
CfnIPAMResourceDiscoveryAssociation
protected CfnIPAMResourceDiscoveryAssociation(software.amazon.jsii.JsiiObjectRef objRef) -
CfnIPAMResourceDiscoveryAssociation
protected CfnIPAMResourceDiscoveryAssociation(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnIPAMResourceDiscoveryAssociation
@Stability(Stable) public CfnIPAMResourceDiscoveryAssociation(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnIPAMResourceDiscoveryAssociationProps props) Create a newAWS::EC2::IPAMResourceDiscoveryAssociation.- 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
-
arnForIPAMResourceDiscoveryAssociation
@Stability(Stable) @NotNull public static String arnForIPAMResourceDiscoveryAssociation(@NotNull IIPAMResourceDiscoveryAssociationRef resource) - Parameters:
resource- This parameter is required.
-
fromIPAMResourceDiscoveryAssociationArn
@Stability(Stable) @NotNull public static IIPAMResourceDiscoveryAssociationRef fromIPAMResourceDiscoveryAssociationArn(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String arn) Creates a new IIPAMResourceDiscoveryAssociationRef from an ARN.- Parameters:
scope- This parameter is required.id- This parameter is required.arn- This parameter is required.
-
fromIpamResourceDiscoveryAssociationId
@Stability(Stable) @NotNull public static IIPAMResourceDiscoveryAssociationRef fromIpamResourceDiscoveryAssociationId(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String ipamResourceDiscoveryAssociationId) Creates a new IIPAMResourceDiscoveryAssociationRef from a ipamResourceDiscoveryAssociationId.- Parameters:
scope- This parameter is required.id- This parameter is required.ipamResourceDiscoveryAssociationId- This parameter is required.
-
isCfnIPAMResourceDiscoveryAssociation
@Stability(Stable) @NotNull public static Boolean isCfnIPAMResourceDiscoveryAssociation(@NotNull Object x) Checks whether the given object is a CfnIPAMResourceDiscoveryAssociation.- 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 IPAM ARN. -
getAttrIpamRegion
The IPAM home Region. -
getAttrIpamResourceDiscoveryAssociationArn
The resource discovery association ARN. -
getAttrIpamResourceDiscoveryAssociationId
The resource discovery association ID. -
getAttrIsDefault
Defines if the resource discovery is the default.When you create an IPAM, a default resource discovery is created for your IPAM and it's associated with your IPAM.
-
getAttrOwnerId
The owner ID. -
getAttrResourceDiscoveryStatus
The resource discovery status.active- Connection or permissions required to read the results of the resource discovery are intact.not-found- Connection or permissions required to read the results of the resource discovery are broken. This may happen if the owner of the resource discovery stopped sharing it or deleted the resource discovery. Verify the resource discovery still exists and the AWS RAM resource share is still intact.
-
getAttrState
The lifecycle state of the association when you associate or disassociate a resource discovery.associate-in-progress- Resource discovery is being associated.associate-complete- Resource discovery association is complete.associate-failed- Resource discovery association has failed.disassociate-in-progress- Resource discovery is being disassociated.disassociate-complete- Resource discovery disassociation is complete.disassociate-failed- Resource discovery disassociation has failed.isolate-in-progress- AWS account that created the resource discovery association has been removed and the resource discovery associatation is being isolated.isolate-complete- Resource discovery isolation is complete..restore-in-progress- Resource discovery is being restored.
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getIpamResourceDiscoveryAssociationRef
@Stability(Stable) @NotNull public IPAMResourceDiscoveryAssociationReference getIpamResourceDiscoveryAssociationRef()A reference to a IPAMResourceDiscoveryAssociation resource.- Specified by:
getIpamResourceDiscoveryAssociationRefin interfaceIIPAMResourceDiscoveryAssociationRef
-
getTags
Tag Manager which manages the tags for this resource. -
getIpamId
The IPAM ID. -
setIpamId
The IPAM ID. -
getIpamResourceDiscoveryId
The resource discovery ID. -
setIpamResourceDiscoveryId
The resource discovery ID. -
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.
-