1. Registry
  2. Packages
  3. AWS Cloud Control
  4. API Docs
  5. ec2
  6. getIpamExternalResourceVerificationToken

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.78.0
published on Monday, Sep 7, 2026 by Pulumi
aws-native logo aws-native logo

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.78.0
published on Monday, Sep 7, 2026 by Pulumi

    A verification token is an AWS-generated random value that you can use to prove ownership of an external resource. For example, you can use a verification token to validate that you control a public IP address range when you bring an IP address range to AWS (BYOIP).

    Using getIpamExternalResourceVerificationToken

    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 getIpamExternalResourceVerificationToken(args: GetIpamExternalResourceVerificationTokenArgs, opts?: InvokeOptions): Promise<GetIpamExternalResourceVerificationTokenResult>
    function getIpamExternalResourceVerificationTokenOutput(args: GetIpamExternalResourceVerificationTokenOutputArgs, opts?: InvokeOutputOptions): Output<GetIpamExternalResourceVerificationTokenResult>
    def get_ipam_external_resource_verification_token(ipam_external_resource_verification_token_arn: Optional[str] = None,
                                                      opts: Optional[InvokeOptions] = None) -> GetIpamExternalResourceVerificationTokenResult
    def get_ipam_external_resource_verification_token_output(ipam_external_resource_verification_token_arn: pulumi.Input[Optional[str]] = None,
                                                      opts: Optional[InvokeOutputOptions] = None) -> Output[GetIpamExternalResourceVerificationTokenResult]
    func LookupIpamExternalResourceVerificationToken(ctx *Context, args *LookupIpamExternalResourceVerificationTokenArgs, opts ...InvokeOption) (*LookupIpamExternalResourceVerificationTokenResult, error)
    func LookupIpamExternalResourceVerificationTokenOutput(ctx *Context, args *LookupIpamExternalResourceVerificationTokenOutputArgs, opts ...InvokeOption) LookupIpamExternalResourceVerificationTokenResultOutput

    > Note: This function is named LookupIpamExternalResourceVerificationToken in the Go SDK.

    public static class GetIpamExternalResourceVerificationToken 
    {
        public static Task<GetIpamExternalResourceVerificationTokenResult> InvokeAsync(GetIpamExternalResourceVerificationTokenArgs args, InvokeOptions? opts = null)
        public static Output<GetIpamExternalResourceVerificationTokenResult> Invoke(GetIpamExternalResourceVerificationTokenInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetIpamExternalResourceVerificationTokenResult> Invoke(GetIpamExternalResourceVerificationTokenInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetIpamExternalResourceVerificationTokenResult> getIpamExternalResourceVerificationToken(GetIpamExternalResourceVerificationTokenArgs args, InvokeOptions options)
    public static Output<GetIpamExternalResourceVerificationTokenResult> getIpamExternalResourceVerificationToken(GetIpamExternalResourceVerificationTokenArgs args, InvokeOptions options)
    public static Output<GetIpamExternalResourceVerificationTokenResult> getIpamExternalResourceVerificationToken(GetIpamExternalResourceVerificationTokenArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: aws-native:ec2:getIpamExternalResourceVerificationToken
      arguments:
        # arguments dictionary
    data "aws-native_ec2_get_ipam_external_resource_verification_token" "name" {
        # arguments
    }

    The following arguments are supported:

    IpamExternalResourceVerificationTokenArn string
    The ARN of the IPAM external resource verification token.
    IpamExternalResourceVerificationTokenArn string
    The ARN of the IPAM external resource verification token.
    ipam_external_resource_verification_token_arn string
    The ARN of the IPAM external resource verification token.
    ipamExternalResourceVerificationTokenArn String
    The ARN of the IPAM external resource verification token.
    ipamExternalResourceVerificationTokenArn string
    The ARN of the IPAM external resource verification token.
    ipam_external_resource_verification_token_arn str
    The ARN of the IPAM external resource verification token.
    ipamExternalResourceVerificationTokenArn String
    The ARN of the IPAM external resource verification token.

    getIpamExternalResourceVerificationToken Result

    The following output properties are available:

    IpamArn string
    The ARN of the IPAM that created the token.
    IpamExternalResourceVerificationTokenArn string
    The ARN of the IPAM external resource verification token.
    IpamExternalResourceVerificationTokenId string
    The ID of the token.
    IpamRegion string
    The Region of the IPAM that created the token.
    NotAfter string
    The token expiration.
    State Pulumi.AwsNative.Ec2.IpamExternalResourceVerificationTokenState
    The token state.
    Status Pulumi.AwsNative.Ec2.IpamExternalResourceVerificationTokenStatus
    The token status.
    Tags List<Pulumi.AwsNative.Outputs.Tag>
    The tags for the token.
    TokenName string
    The token name.
    TokenValue string
    The token value.
    IpamArn string
    The ARN of the IPAM that created the token.
    IpamExternalResourceVerificationTokenArn string
    The ARN of the IPAM external resource verification token.
    IpamExternalResourceVerificationTokenId string
    The ID of the token.
    IpamRegion string
    The Region of the IPAM that created the token.
    NotAfter string
    The token expiration.
    State IpamExternalResourceVerificationTokenStateEnum
    The token state.
    Status IpamExternalResourceVerificationTokenStatus
    The token status.
    Tags Tag
    The tags for the token.
    TokenName string
    The token name.
    TokenValue string
    The token value.
    ipam_arn string
    The ARN of the IPAM that created the token.
    ipam_external_resource_verification_token_arn string
    The ARN of the IPAM external resource verification token.
    ipam_external_resource_verification_token_id string
    The ID of the token.
    ipam_region string
    The Region of the IPAM that created the token.
    not_after string
    The token expiration.
    state "create-in-progress" | "create-complete" | "create-failed" | "delete-in-progress" | "delete-complete" | "delete-failed"
    The token state.
    status "valid" | "expired"
    The token status.
    tags list(object)
    The tags for the token.
    token_name string
    The token name.
    token_value string
    The token value.
    ipamArn String
    The ARN of the IPAM that created the token.
    ipamExternalResourceVerificationTokenArn String
    The ARN of the IPAM external resource verification token.
    ipamExternalResourceVerificationTokenId String
    The ID of the token.
    ipamRegion String
    The Region of the IPAM that created the token.
    notAfter String
    The token expiration.
    state IpamExternalResourceVerificationTokenState
    The token state.
    status IpamExternalResourceVerificationTokenStatus
    The token status.
    tags List<Tag>
    The tags for the token.
    tokenName String
    The token name.
    tokenValue String
    The token value.
    ipamArn string
    The ARN of the IPAM that created the token.
    ipamExternalResourceVerificationTokenArn string
    The ARN of the IPAM external resource verification token.
    ipamExternalResourceVerificationTokenId string
    The ID of the token.
    ipamRegion string
    The Region of the IPAM that created the token.
    notAfter string
    The token expiration.
    state IpamExternalResourceVerificationTokenState
    The token state.
    status IpamExternalResourceVerificationTokenStatus
    The token status.
    tags Tag[]
    The tags for the token.
    tokenName string
    The token name.
    tokenValue string
    The token value.
    ipam_arn str
    The ARN of the IPAM that created the token.
    ipam_external_resource_verification_token_arn str
    The ARN of the IPAM external resource verification token.
    ipam_external_resource_verification_token_id str
    The ID of the token.
    ipam_region str
    The Region of the IPAM that created the token.
    not_after str
    The token expiration.
    state IpamExternalResourceVerificationTokenState
    The token state.
    status IpamExternalResourceVerificationTokenStatus
    The token status.
    tags Sequence[root_Tag]
    The tags for the token.
    token_name str
    The token name.
    token_value str
    The token value.
    ipamArn String
    The ARN of the IPAM that created the token.
    ipamExternalResourceVerificationTokenArn String
    The ARN of the IPAM external resource verification token.
    ipamExternalResourceVerificationTokenId String
    The ID of the token.
    ipamRegion String
    The Region of the IPAM that created the token.
    notAfter String
    The token expiration.
    state "create-in-progress" | "create-complete" | "create-failed" | "delete-in-progress" | "delete-complete" | "delete-failed"
    The token state.
    status "valid" | "expired"
    The token status.
    tags List<Property Map>
    The tags for the token.
    tokenName String
    The token name.
    tokenValue String
    The token value.

    Supporting Types

    IpamExternalResourceVerificationTokenState

    IpamExternalResourceVerificationTokenStatus

    Tag

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo aws-native logo

    We recommend new projects start with resources from the AWS provider.

    Viewing docs for AWS Cloud Control v1.78.0
    published on Monday, Sep 7, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial