Class CfnIPAMResourceDiscoveryAssociation

All Implemented Interfaces:
IInspectable, ITaggable,, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.101.0 (build b95fe5d)", date="2024-07-12T19:34:00.515Z") @Stability(Stable) public class CfnIPAMResourceDiscoveryAssociation extends CfnResource implements IInspectable, 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.


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 CfnIPAMResourceDiscoveryAssociation cfnIPAMResourceDiscoveryAssociation = CfnIPAMResourceDiscoveryAssociation.Builder.create(this, "MyCfnIPAMResourceDiscoveryAssociation")
         // the properties below are optional

See Also:
  • Field Details


      @Stability(Stable) public static final String CFN_RESOURCE_TYPE_NAME
      The CloudFormation resource type name for this resource class.
  • Constructor Details

    • CfnIPAMResourceDiscoveryAssociation

      protected CfnIPAMResourceDiscoveryAssociation( objRef)
    • CfnIPAMResourceDiscoveryAssociation

      protected CfnIPAMResourceDiscoveryAssociation( initializationMode)
    • CfnIPAMResourceDiscoveryAssociation

      @Stability(Stable) public CfnIPAMResourceDiscoveryAssociation(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnIPAMResourceDiscoveryAssociationProps props)
      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

    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      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)
      renderProperties in class CfnResource
      props - This parameter is required.
    • getAttrIpamArn

      @Stability(Stable) @NotNull public String getAttrIpamArn()
      The IPAM ARN.
    • getAttrIpamRegion

      @Stability(Stable) @NotNull public String getAttrIpamRegion()
      The IPAM home Region.
    • getAttrIpamResourceDiscoveryAssociationArn

      @Stability(Stable) @NotNull public String getAttrIpamResourceDiscoveryAssociationArn()
      The resource discovery association ARN.
    • getAttrIpamResourceDiscoveryAssociationId

      @Stability(Stable) @NotNull public String getAttrIpamResourceDiscoveryAssociationId()
      The resource discovery association ID.
    • getAttrIsDefault

      @Stability(Stable) @NotNull public IResolvable 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

      @Stability(Stable) @NotNull public String getAttrOwnerId()
      The owner ID.
    • getAttrResourceDiscoveryStatus

      @Stability(Stable) @NotNull public String 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

      @Stability(Stable) @NotNull public String 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

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      getCfnProperties in class CfnResource
    • getTags

      @Stability(Stable) @NotNull public TagManager getTags()
      Tag Manager which manages the tags for this resource.
      Specified by:
      getTags in interface ITaggable
    • getIpamId

      @Stability(Stable) @NotNull public String getIpamId()
      The IPAM ID.
    • setIpamId

      @Stability(Stable) public void setIpamId(@NotNull String value)
      The IPAM ID.
    • getIpamResourceDiscoveryId

      @Stability(Stable) @NotNull public String getIpamResourceDiscoveryId()
      The resource discovery ID.
    • setIpamResourceDiscoveryId

      @Stability(Stable) public void setIpamResourceDiscoveryId(@NotNull String value)
      The resource discovery ID.
    • getTagsRaw

      @Stability(Stable) @Nullable public List<CfnTag> getTagsRaw()
      A tag is a label that you assign to an AWS resource.
    • setTagsRaw

      @Stability(Stable) public void setTagsRaw(@Nullable List<CfnTag> value)
      A tag is a label that you assign to an AWS resource.