AWS Fundamentals Logo
AWS Fundamentals
AWS::EC2::IPAMResourceDiscoveryAssociation

EC2 IPAMResourceDiscoveryAssociation

Resource Schema of AWS::EC2::IPAMResourceDiscoveryAssociation Type

Properties

3 configurable properties. 2 required. Click a row to see details.

Filter:
PropertyTypeFlags
IpamId
string
RequiredCreate-only
IpamResourceDiscoveryId
string
RequiredCreate-only
Tags
Array<Tag>

Return Values

Values returned after the resource is created. Access these with Fn::GetAtt.

AttributeTypeDescription
IpamArnstringArn of the IPAM.
IpamRegionstringThe home region of the IPAM.
IpamResourceDiscoveryAssociationArnstringThe Amazon Resource Name (ARN) of the resource discovery association is a part of.
IpamResourceDiscoveryAssociationIdstringId of the IPAM Resource Discovery Association.
IsDefaultbooleanIf the Resource Discovery Association exists due as part of CreateIpam.
OwnerIdstringThe AWS Account ID for the account where the shared IPAM exists.
ResourceDiscoveryStatusstringThe status of the resource discovery.
StatestringThe operational state of the Resource Discovery Association. Related to Create/Delete activities.

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::EC2::IPAMResourceDiscoveryAssociation

Resources:
  MyResource:
    Type: AWS::EC2::IPAMResourceDiscoveryAssociation
    Properties:
      IpamId: "my-ipamid"
      IpamResourceDiscoveryId: "my-ipamresourcediscoveryid"
      Tags:
        - Key: Environment
          Value: Production

Required IAM Permissions

Permissions CloudFormation needs in your IAM role to manage this resource.

create

ec2:AssociateIpamResourceDiscoveryec2:DescribeIpamResourceDiscoveryAssociationsec2:CreateTags

read

ec2:DescribeIpamResourceDiscoveryAssociations

update

ec2:DescribeIpamResourceDiscoveryAssociationsec2:CreateTagsec2:DeleteTags

delete

ec2:DisassociateIpamResourceDiscoveryec2:DescribeIpamResourceDiscoveryAssociationsec2:DeleteTags

list

ec2:DescribeIpamResourceDiscoveryAssociations

Get the EC2 Cheat Sheet

Everything you need to know about EC2 on one page. HD quality, print-friendly.

Download Free Infographic

Quick Facts

ServiceEC2
Properties11
Required2
TaggingSupported
Primary IDIpamResourceDiscoveryAssociationId

Supported Operations

CreateReadUpdateDeleteList

Immutable After Creation

These properties cannot be changed after the resource is created. Updating them triggers a replacement.

IpamIdIpamResourceDiscoveryId

External Links