UNPKG

@pulumi/aws

Version:

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

95 lines (94 loc) 3.52 kB
import * as pulumi from "@pulumi/pulumi"; /** * Enables the IPAM Service and promotes a delegated administrator. * * ## Example Usage * * Basic usage: * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const delegated = aws.getCallerIdentity({}); * const example = new aws.ec2.VpcIpamOrganizationAdminAccount("example", {delegatedAdminAccountId: delegated.then(delegated => delegated.accountId)}); * ``` * * ## Import * * Using `pulumi import`, import IPAMs using the delegate account `id`. For example: * * ```sh * $ pulumi import aws:ec2/vpcIpamOrganizationAdminAccount:VpcIpamOrganizationAdminAccount example 12345678901 * ``` */ export declare class VpcIpamOrganizationAdminAccount extends pulumi.CustomResource { /** * Get an existing VpcIpamOrganizationAdminAccount resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: VpcIpamOrganizationAdminAccountState, opts?: pulumi.CustomResourceOptions): VpcIpamOrganizationAdminAccount; /** * Returns true if the given object is an instance of VpcIpamOrganizationAdminAccount. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is VpcIpamOrganizationAdminAccount; /** * The Organizations ARN for the delegate account. */ readonly arn: pulumi.Output<string>; readonly delegatedAdminAccountId: pulumi.Output<string>; /** * The Organizations email for the delegate account. */ readonly email: pulumi.Output<string>; /** * The Organizations name for the delegate account. */ readonly name: pulumi.Output<string>; /** * The AWS service principal. */ readonly servicePrincipal: pulumi.Output<string>; /** * Create a VpcIpamOrganizationAdminAccount resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: VpcIpamOrganizationAdminAccountArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering VpcIpamOrganizationAdminAccount resources. */ export interface VpcIpamOrganizationAdminAccountState { /** * The Organizations ARN for the delegate account. */ arn?: pulumi.Input<string>; delegatedAdminAccountId?: pulumi.Input<string>; /** * The Organizations email for the delegate account. */ email?: pulumi.Input<string>; /** * The Organizations name for the delegate account. */ name?: pulumi.Input<string>; /** * The AWS service principal. */ servicePrincipal?: pulumi.Input<string>; } /** * The set of arguments for constructing a VpcIpamOrganizationAdminAccount resource. */ export interface VpcIpamOrganizationAdminAccountArgs { delegatedAdminAccountId: pulumi.Input<string>; }