Viewing docs for AWS v6.83.1 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
Viewing docs for AWS v6.83.1 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
Data source for managing a VPC IPAM.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = aws.ec2.getVpcIpam({
id: "ipam-abcd1234",
});
import pulumi
import pulumi_aws as aws
example = aws.ec2.get_vpc_ipam(id="ipam-abcd1234")
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ec2.LookupVpcIpam(ctx, &ec2.LookupVpcIpamArgs{
Id: "ipam-abcd1234",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = Aws.Ec2.GetVpcIpam.Invoke(new()
{
Id = "ipam-abcd1234",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.ec2.Ec2Functions;
import com.pulumi.aws.ec2.inputs.GetVpcIpamArgs;
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 example = Ec2Functions.getVpcIpam(GetVpcIpamArgs.builder()
.id("ipam-abcd1234")
.build());
}
}
variables:
example:
fn::invoke:
function: aws:ec2:getVpcIpam
arguments:
id: ipam-abcd1234
Using getVpcIpam
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getVpcIpam(args: GetVpcIpamArgs, opts?: InvokeOptions): Promise<GetVpcIpamResult>
function getVpcIpamOutput(args: GetVpcIpamOutputArgs, opts?: InvokeOptions): Output<GetVpcIpamResult>def get_vpc_ipam(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetVpcIpamResult
def get_vpc_ipam_output(id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetVpcIpamResult]func LookupVpcIpam(ctx *Context, args *LookupVpcIpamArgs, opts ...InvokeOption) (*LookupVpcIpamResult, error)
func LookupVpcIpamOutput(ctx *Context, args *LookupVpcIpamOutputArgs, opts ...InvokeOption) LookupVpcIpamResultOutput> Note: This function is named LookupVpcIpam in the Go SDK.
public static class GetVpcIpam
{
public static Task<GetVpcIpamResult> InvokeAsync(GetVpcIpamArgs args, InvokeOptions? opts = null)
public static Output<GetVpcIpamResult> Invoke(GetVpcIpamInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetVpcIpamResult> getVpcIpam(GetVpcIpamArgs args, InvokeOptions options)
public static Output<GetVpcIpamResult> getVpcIpam(GetVpcIpamArgs args, InvokeOptions options)
fn::invoke:
function: aws:ec2/getVpcIpam:getVpcIpam
arguments:
# arguments dictionaryThe following arguments are supported:
- Id string
- ID of the IPAM.
- Id string
- ID of the IPAM.
- id String
- ID of the IPAM.
- id string
- ID of the IPAM.
- id str
- ID of the IPAM.
- id String
- ID of the IPAM.
getVpcIpam Result
The following output properties are available:
- Arn string
- ARN of the IPAM.
- Default
Resource stringDiscovery Association Id - The default resource discovery association ID.
- Default
Resource stringDiscovery Id - The default resource discovery ID.
- Description string
- Description for the IPAM.
- Enable
Private boolGua - If private GUA is enabled.
- Id string
- ID of the IPAM resource.
- Ipam
Region string - Region that the IPAM exists in.
- Operating
Regions List<GetVpc Ipam Operating Region> - Regions that the IPAM is configured to operate in.
- Owner
Id string - ID of the account that owns this IPAM.
- Private
Default stringScope Id - ID of the default private scope.
- Public
Default stringScope Id - ID of the default public scope.
- Resource
Discovery intAssociation Count - Number of resource discovery associations.
- Scope
Count int - Number of scopes on this IPAM.
- State string
- Current state of the IPAM.
- State
Message string - State message of the IPAM.
- Dictionary<string, string>
- Tags of the IPAM resource.
- Tier string
- IPAM Tier.
- Arn string
- ARN of the IPAM.
- Default
Resource stringDiscovery Association Id - The default resource discovery association ID.
- Default
Resource stringDiscovery Id - The default resource discovery ID.
- Description string
- Description for the IPAM.
- Enable
Private boolGua - If private GUA is enabled.
- Id string
- ID of the IPAM resource.
- Ipam
Region string - Region that the IPAM exists in.
- Operating
Regions []GetVpc Ipam Operating Region - Regions that the IPAM is configured to operate in.
- Owner
Id string - ID of the account that owns this IPAM.
- Private
Default stringScope Id - ID of the default private scope.
- Public
Default stringScope Id - ID of the default public scope.
- Resource
Discovery intAssociation Count - Number of resource discovery associations.
- Scope
Count int - Number of scopes on this IPAM.
- State string
- Current state of the IPAM.
- State
Message string - State message of the IPAM.
- map[string]string
- Tags of the IPAM resource.
- Tier string
- IPAM Tier.
- arn String
- ARN of the IPAM.
- default
Resource StringDiscovery Association Id - The default resource discovery association ID.
- default
Resource StringDiscovery Id - The default resource discovery ID.
- description String
- Description for the IPAM.
- enable
Private BooleanGua - If private GUA is enabled.
- id String
- ID of the IPAM resource.
- ipam
Region String - Region that the IPAM exists in.
- operating
Regions List<GetVpc Ipam Operating Region> - Regions that the IPAM is configured to operate in.
- owner
Id String - ID of the account that owns this IPAM.
- private
Default StringScope Id - ID of the default private scope.
- public
Default StringScope Id - ID of the default public scope.
- resource
Discovery IntegerAssociation Count - Number of resource discovery associations.
- scope
Count Integer - Number of scopes on this IPAM.
- state String
- Current state of the IPAM.
- state
Message String - State message of the IPAM.
- Map<String,String>
- Tags of the IPAM resource.
- tier String
- IPAM Tier.
- arn string
- ARN of the IPAM.
- default
Resource stringDiscovery Association Id - The default resource discovery association ID.
- default
Resource stringDiscovery Id - The default resource discovery ID.
- description string
- Description for the IPAM.
- enable
Private booleanGua - If private GUA is enabled.
- id string
- ID of the IPAM resource.
- ipam
Region string - Region that the IPAM exists in.
- operating
Regions GetVpc Ipam Operating Region[] - Regions that the IPAM is configured to operate in.
- owner
Id string - ID of the account that owns this IPAM.
- private
Default stringScope Id - ID of the default private scope.
- public
Default stringScope Id - ID of the default public scope.
- resource
Discovery numberAssociation Count - Number of resource discovery associations.
- scope
Count number - Number of scopes on this IPAM.
- state string
- Current state of the IPAM.
- state
Message string - State message of the IPAM.
- {[key: string]: string}
- Tags of the IPAM resource.
- tier string
- IPAM Tier.
- arn str
- ARN of the IPAM.
- default_
resource_ strdiscovery_ association_ id - The default resource discovery association ID.
- default_
resource_ strdiscovery_ id - The default resource discovery ID.
- description str
- Description for the IPAM.
- enable_
private_ boolgua - If private GUA is enabled.
- id str
- ID of the IPAM resource.
- ipam_
region str - Region that the IPAM exists in.
- operating_
regions Sequence[GetVpc Ipam Operating Region] - Regions that the IPAM is configured to operate in.
- owner_
id str - ID of the account that owns this IPAM.
- private_
default_ strscope_ id - ID of the default private scope.
- public_
default_ strscope_ id - ID of the default public scope.
- resource_
discovery_ intassociation_ count - Number of resource discovery associations.
- scope_
count int - Number of scopes on this IPAM.
- state str
- Current state of the IPAM.
- state_
message str - State message of the IPAM.
- Mapping[str, str]
- Tags of the IPAM resource.
- tier str
- IPAM Tier.
- arn String
- ARN of the IPAM.
- default
Resource StringDiscovery Association Id - The default resource discovery association ID.
- default
Resource StringDiscovery Id - The default resource discovery ID.
- description String
- Description for the IPAM.
- enable
Private BooleanGua - If private GUA is enabled.
- id String
- ID of the IPAM resource.
- ipam
Region String - Region that the IPAM exists in.
- operating
Regions List<Property Map> - Regions that the IPAM is configured to operate in.
- owner
Id String - ID of the account that owns this IPAM.
- private
Default StringScope Id - ID of the default private scope.
- public
Default StringScope Id - ID of the default public scope.
- resource
Discovery NumberAssociation Count - Number of resource discovery associations.
- scope
Count Number - Number of scopes on this IPAM.
- state String
- Current state of the IPAM.
- state
Message String - State message of the IPAM.
- Map<String>
- Tags of the IPAM resource.
- tier String
- IPAM Tier.
Supporting Types
GetVpcIpamOperatingRegion
- Region
Name string
- Region
Name string
- region
Name String
- region
Name string
- region_
name str
- region
Name String
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
awsTerraform Provider.
Viewing docs for AWS v6.83.1 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
