VpcIpamResourceDiscovery

class VpcIpamResourceDiscovery : KotlinCustomResource

Provides an IPAM Resource Discovery resource. 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. For a full deployment example, see aws.ec2.VpcIpamResourceDiscoveryAssociation resource.

Example Usage

Basic usage:

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.AwsFunctions;
import com.pulumi.aws.inputs.GetRegionArgs;
import com.pulumi.aws.ec2.VpcIpamResourceDiscovery;
import com.pulumi.aws.ec2.VpcIpamResourceDiscoveryArgs;
import com.pulumi.aws.ec2.inputs.VpcIpamResourceDiscoveryOperatingRegionArgs;
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) {
final var current = AwsFunctions.getRegion();
var main = new VpcIpamResourceDiscovery("main", VpcIpamResourceDiscoveryArgs.builder()
.description("My IPAM Resource Discovery")
.operatingRegions(VpcIpamResourceDiscoveryOperatingRegionArgs.builder()
.regionName(current.applyValue(getRegionResult -> getRegionResult.name()))
.build())
.tags(Map.of("Test", "Main"))
.build());
}
}

Import

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

$ pulumi import aws:ec2/vpcIpamResourceDiscovery:VpcIpamResourceDiscovery example ipam-res-disco-0178368ad2146a492

Properties

Link copied to clipboard
val arn: Output<String>

Amazon Resource Name (ARN) of IPAM Resource Discovery

Link copied to clipboard
val description: Output<String>?

A description for the IPAM Resource Discovery.

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

The home region of the Resource Discovery

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

Determines which regions the Resource Discovery will enable IPAM features for usage and monitoring. Locale is the Region where you want to make an IPAM pool available for allocations. You can only create pools with locales that match the operating Regions of the IPAM Resource Discovery. You can only create VPCs from a pool whose locale matches the VPC's Region. You specify a region using the region_name parameter. You must set your provider block region as an operating_region.

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 tags: Output<Map<String, String>>?

A map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

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>