VpcIpamResourceDiscoveryAssociation

class VpcIpamResourceDiscoveryAssociation : KotlinCustomResource

Provides an association between an Amazon IP Address Manager (IPAM) and a IPAM Resource Discovery. IPAM Resource Discoveries are resources meant for multi-organization customers. If you wish to use a single IPAM across multiple orgs, a resource discovery can be created and shared from a subordinate organization to the management organizations IPAM delegated admin account. Once an association is created between two organizations via IPAM & a IPAM Resource Discovery, IPAM Pools can be shared via Resource Access Manager (RAM) to accounts in the subordinate organization; these RAM shares must be accepted by the end user account. Pools can then also discover and monitor IPAM resources in the subordinate organization.

Example Usage

Basic usage:

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.ec2.VpcIpamResourceDiscoveryAssociation;
import com.pulumi.aws.ec2.VpcIpamResourceDiscoveryAssociationArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var test = new VpcIpamResourceDiscoveryAssociation("test", VpcIpamResourceDiscoveryAssociationArgs.builder()
.ipamId(aws_vpc_ipam.test().id())
.ipamResourceDiscoveryId(aws_vpc_ipam_resource_discovery.test().id())
.tags(Map.of("Name", "test"))
.build());
}
}

Import

IPAMs can be imported using the ipam resource discovery association id, e.g.

$ pulumi import aws:ec2/vpcIpamResourceDiscoveryAssociation:VpcIpamResourceDiscoveryAssociation example ipam-res-disco-assoc-0178368ad2146a492

Properties

Link copied to clipboard
val arn: Output<String>

The Amazon Resource Name (ARN) of IPAM Resource Discovery Association.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val ipamArn: Output<String>

The Amazon Resource Name (ARN) of the IPAM.

Link copied to clipboard
val ipamId: Output<String>

The ID of the IPAM to associate.

Link copied to clipboard
val ipamRegion: Output<String>

The home region of the IPAM.

Link copied to clipboard

The ID of the Resource Discovery to associate.

Link copied to clipboard
val isDefault: Output<Boolean>

A boolean to identify if the Resource Discovery is the accounts default resource discovery.

Link copied to clipboard
val ownerId: Output<String>

The account ID for the account that manages the Resource Discovery

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val state: Output<String>

The lifecycle state of the association when you associate or disassociate a resource discovery.

Link copied to clipboard
val tags: Output<Map<String, String>>?

A map of tags to add to the IPAM resource discovery association resource.

Link copied to clipboard
val tagsAll: Output<Map<String, String>>

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Link copied to clipboard
val urn: Output<String>