VpcIpamScope

class VpcIpamScope : KotlinCustomResource

Creates a scope for AWS IPAM.

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.VpcIpam;
import com.pulumi.aws.ec2.VpcIpamArgs;
import com.pulumi.aws.ec2.inputs.VpcIpamOperatingRegionArgs;
import com.pulumi.aws.ec2.VpcIpamScope;
import com.pulumi.aws.ec2.VpcIpamScopeArgs;
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 exampleVpcIpam = new VpcIpam("exampleVpcIpam", VpcIpamArgs.builder()
.operatingRegions(VpcIpamOperatingRegionArgs.builder()
.regionName(current.applyValue(getRegionResult -> getRegionResult.name()))
.build())
.build());
var exampleVpcIpamScope = new VpcIpamScope("exampleVpcIpamScope", VpcIpamScopeArgs.builder()
.ipamId(exampleVpcIpam.id())
.description("Another Scope")
.build());
}
}

Import

IPAMs can be imported using the scope_id, e.g.

$ pulumi import aws:ec2/vpcIpamScope:VpcIpamScope example ipam-scope-0513c69f283d11dfb

Properties

Link copied to clipboard
val arn: Output<String>

The Amazon Resource Name (ARN) of the scope.

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

A description for the scope you're creating.

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

The ARN of the IPAM for which you're creating this scope.

Link copied to clipboard
val ipamId: Output<String>

The ID of the IPAM for which you're creating this scope.

Link copied to clipboard
val ipamScopeType: Output<String>
Link copied to clipboard
val isDefault: Output<Boolean>

Defines if the scope is the default scope or not.

Link copied to clipboard
val poolCount: Output<Int>

The number of pools in the scope.

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>>?

Key-value mapping of resource tags. 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>>
Link copied to clipboard
val urn: Output<String>