VpcIpamOrganizationAdminAccount

class VpcIpamOrganizationAdminAccount : KotlinCustomResource

Enables the IPAM Service and promotes a delegated administrator.

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.ec2.VpcIpamOrganizationAdminAccount;
import com.pulumi.aws.ec2.VpcIpamOrganizationAdminAccountArgs;
import com.pulumi.aws.Provider;
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 delegated = AwsFunctions.getCallerIdentity();
var example = new VpcIpamOrganizationAdminAccount("example", VpcIpamOrganizationAdminAccountArgs.builder()
.delegatedAdminAccountId(delegated.applyValue(getCallerIdentityResult -> getCallerIdentityResult.accountId()))
.build());
var ipamDelegateAccount = new Provider("ipamDelegateAccount");
}
}

Import

IPAMs can be imported using the delegate account id, e.g.

$ pulumi import aws:ec2/vpcIpamOrganizationAdminAccount:VpcIpamOrganizationAdminAccount example 12345678901

Properties

Link copied to clipboard
val arn: Output<String>

The Organizations ARN for the delegate account.

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

The Organizations email for the delegate account.

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

The Organizations name for the delegate account.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The AWS service principal.

Link copied to clipboard
val urn: Output<String>