Class CfnIPAMResourceDiscoveryAssociation
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.core.Construct
software.amazon.awscdk.core.CfnElement
software.amazon.awscdk.core.CfnRefElement
software.amazon.awscdk.core.CfnResource
software.amazon.awscdk.services.ec2.CfnIPAMResourceDiscoveryAssociation
- All Implemented Interfaces:
IConstruct
,IDependable
,IInspectable
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:38.607Z")
@Stability(Stable)
public class CfnIPAMResourceDiscoveryAssociation
extends CfnResource
implements IInspectable
A CloudFormation
AWS::EC2::IPAMResourceDiscoveryAssociation
.
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();
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
A fluent builder forCfnIPAMResourceDiscoveryAssociation
.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstruct
IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ModifierConstructorDescriptionCfnIPAMResourceDiscoveryAssociation
(Construct scope, String id, CfnIPAMResourceDiscoveryAssociationProps props) Create a newAWS::EC2::IPAMResourceDiscoveryAssociation
.protected
CfnIPAMResourceDiscoveryAssociation
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnIPAMResourceDiscoveryAssociation
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionThe 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.The resource discovery ID.getTags()
A tag is a label that you assign to an AWS resource.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
The IPAM ID.void
setIpamResourceDiscoveryId
(String value) The resource discovery ID.Methods inherited from class software.amazon.awscdk.core.CfnResource
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validateProperties
Methods inherited from class software.amazon.awscdk.core.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.core.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.amazon.awscdk.core.Construct
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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 Construct scope, @NotNull String id, @NotNull CfnIPAMResourceDiscoveryAssociationProps props) Create a newAWS::EC2::IPAMResourceDiscoveryAssociation
.- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
props
-- resource properties.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspect
in interfaceIInspectable
- Parameters:
inspector
-- tree inspector to collect and process attributes.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderProperties
in 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:
getCfnProperties
in classCfnResource
-
getTags
A tag is a label that you assign to an AWS resource.Each tag consists of a key and an optional value. You can use tags to search and filter your resources or track your AWS costs.
-
getIpamId
The IPAM ID. -
setIpamId
The IPAM ID. -
getIpamResourceDiscoveryId
The resource discovery ID. -
setIpamResourceDiscoveryId
The resource discovery ID.
-