Class CfnIPAMResourceDiscoveryAssociation
An IPAM resource discovery association.
Inherited Members
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnIPAMResourceDiscoveryAssociation : CfnResource, IInspectable, ITaggable
Syntax (vb)
Public Class CfnIPAMResourceDiscoveryAssociation
Inherits CfnResource
Implements IInspectable, ITaggable
Remarks
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.
CloudformationResource: AWS::EC2::IPAMResourceDiscoveryAssociation
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.EC2;
var cfnIPAMResourceDiscoveryAssociation = new CfnIPAMResourceDiscoveryAssociation(this, "MyCfnIPAMResourceDiscoveryAssociation", new CfnIPAMResourceDiscoveryAssociationProps {
IpamId = "ipamId",
IpamResourceDiscoveryId = "ipamResourceDiscoveryId",
// the properties below are optional
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
});
Synopsis
Constructors
CfnIPAMResourceDiscoveryAssociation(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnIPAMResourceDiscoveryAssociation(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnIPAMResourceDiscoveryAssociation(Construct, String, ICfnIPAMResourceDiscoveryAssociationProps) |
Properties
AttrIpamArn | The IPAM ARN. |
AttrIpamRegion | The IPAM home Region. |
AttrIpamResourceDiscoveryAssociationArn | The resource discovery association ARN. |
AttrIpamResourceDiscoveryAssociationId | The resource discovery association ID. |
AttrIsDefault | Defines if the resource discovery is the default. |
AttrOwnerId | The owner ID. |
AttrResourceDiscoveryStatus | The resource discovery status. |
AttrState | The lifecycle state of the association when you associate or disassociate a resource discovery. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
IpamId | The IPAM ID. |
IpamResourceDiscoveryId | The resource discovery ID. |
Tags | Tag Manager which manages the tags for this resource. |
TagsRaw | A tag is a label that you assign to an AWS resource. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnIPAMResourceDiscoveryAssociation(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnIPAMResourceDiscoveryAssociation(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnIPAMResourceDiscoveryAssociation(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnIPAMResourceDiscoveryAssociation(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CfnIPAMResourceDiscoveryAssociation(Construct, String, ICfnIPAMResourceDiscoveryAssociationProps)
public CfnIPAMResourceDiscoveryAssociation(Construct scope, string id, ICfnIPAMResourceDiscoveryAssociationProps props)
Parameters
- scope Constructs.Construct
Scope in which this resource is defined.
- id System.String
Construct identifier for this resource (unique in its scope).
- props ICfnIPAMResourceDiscoveryAssociationProps
Resource properties.
Properties
AttrIpamArn
The IPAM ARN.
public virtual string AttrIpamArn { get; }
Property Value
System.String
Remarks
CloudformationAttribute: IpamArn
AttrIpamRegion
The IPAM home Region.
public virtual string AttrIpamRegion { get; }
Property Value
System.String
Remarks
CloudformationAttribute: IpamRegion
AttrIpamResourceDiscoveryAssociationArn
The resource discovery association ARN.
public virtual string AttrIpamResourceDiscoveryAssociationArn { get; }
Property Value
System.String
Remarks
CloudformationAttribute: IpamResourceDiscoveryAssociationArn
AttrIpamResourceDiscoveryAssociationId
The resource discovery association ID.
public virtual string AttrIpamResourceDiscoveryAssociationId { get; }
Property Value
System.String
Remarks
CloudformationAttribute: IpamResourceDiscoveryAssociationId
AttrIsDefault
Defines if the resource discovery is the default.
public virtual IResolvable AttrIsDefault { get; }
Property Value
Remarks
When you create an IPAM, a default resource discovery is created for your IPAM and it's associated with your IPAM.
CloudformationAttribute: IsDefault
AttrOwnerId
The owner ID.
public virtual string AttrOwnerId { get; }
Property Value
System.String
Remarks
CloudformationAttribute: OwnerId
AttrResourceDiscoveryStatus
The resource discovery status.
public virtual string AttrResourceDiscoveryStatus { get; }
Property Value
System.String
Remarks
CloudformationAttribute: ResourceDiscoveryStatus
AttrState
The lifecycle state of the association when you associate or disassociate a resource discovery.
public virtual string AttrState { get; }
Property Value
System.String
Remarks
CloudformationAttribute: State
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
IpamId
The IPAM ID.
public virtual string IpamId { get; set; }
Property Value
System.String
IpamResourceDiscoveryId
The resource discovery ID.
public virtual string IpamResourceDiscoveryId { get; set; }
Property Value
System.String
Tags
Tag Manager which manages the tags for this resource.
public virtual TagManager Tags { get; }
Property Value
TagsRaw
A tag is a label that you assign to an AWS resource.
public virtual ICfnTag[] TagsRaw { get; set; }
Property Value
ICfnTag[]
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>