We recommend new projects start with resources from the AWS provider.
published on Monday, Sep 7, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
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 dictionarydata "aws-native_ec2_get_ipam_external_resource_verification_token" "name" {
# arguments
}The following arguments are supported:
- Ipam
External stringResource Verification Token Arn - The ARN of the IPAM external resource verification token.
- Ipam
External stringResource Verification Token Arn - The ARN of the IPAM external resource verification token.
- ipam_
external_ stringresource_ verification_ token_ arn - The ARN of the IPAM external resource verification token.
- ipam
External StringResource Verification Token Arn - The ARN of the IPAM external resource verification token.
- ipam
External stringResource Verification Token Arn - The ARN of the IPAM external resource verification token.
- ipam_
external_ strresource_ verification_ token_ arn - The ARN of the IPAM external resource verification token.
- ipam
External StringResource Verification Token Arn - The ARN of the IPAM external resource verification token.
getIpamExternalResourceVerificationToken Result
The following output properties are available:
- Ipam
Arn string - The ARN of the IPAM that created the token.
- Ipam
External stringResource Verification Token Arn - The ARN of the IPAM external resource verification token.
- Ipam
External stringResource Verification Token Id - The ID of the token.
- Ipam
Region string - The Region of the IPAM that created the token.
- Not
After string - The token expiration.
- State
Pulumi.
Aws Native. Ec2. Ipam External Resource Verification Token State - The token state.
- Status
Pulumi.
Aws Native. Ec2. Ipam External Resource Verification Token Status - The token status.
-
List<Pulumi.
Aws Native. Outputs. Tag> - The tags for the token.
- Token
Name string - The token name.
- Token
Value string - The token value.
- Ipam
Arn string - The ARN of the IPAM that created the token.
- Ipam
External stringResource Verification Token Arn - The ARN of the IPAM external resource verification token.
- Ipam
External stringResource Verification Token Id - The ID of the token.
- Ipam
Region string - The Region of the IPAM that created the token.
- Not
After string - The token expiration.
- State
Ipam
External Resource Verification Token State Enum - The token state.
- Status
Ipam
External Resource Verification Token Status - The token status.
- Tag
- The tags for the token.
- Token
Name string - The token name.
- Token
Value string - The token value.
- ipam_
arn string - The ARN of the IPAM that created the token.
- ipam_
external_ stringresource_ verification_ token_ arn - The ARN of the IPAM external resource verification token.
- ipam_
external_ stringresource_ verification_ token_ id - 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.
- list(object)
- The tags for the token.
- token_
name string - The token name.
- token_
value string - The token value.
- ipam
Arn String - The ARN of the IPAM that created the token.
- ipam
External StringResource Verification Token Arn - The ARN of the IPAM external resource verification token.
- ipam
External StringResource Verification Token Id - The ID of the token.
- ipam
Region String - The Region of the IPAM that created the token.
- not
After String - The token expiration.
- state
Ipam
External Resource Verification Token State - The token state.
- status
Ipam
External Resource Verification Token Status - The token status.
- List<Tag>
- The tags for the token.
- token
Name String - The token name.
- token
Value String - The token value.
- ipam
Arn string - The ARN of the IPAM that created the token.
- ipam
External stringResource Verification Token Arn - The ARN of the IPAM external resource verification token.
- ipam
External stringResource Verification Token Id - The ID of the token.
- ipam
Region string - The Region of the IPAM that created the token.
- not
After string - The token expiration.
- state
Ipam
External Resource Verification Token State - The token state.
- status
Ipam
External Resource Verification Token Status - The token status.
- Tag[]
- The tags for the token.
- token
Name string - The token name.
- token
Value string - The token value.
- ipam_
arn str - The ARN of the IPAM that created the token.
- ipam_
external_ strresource_ verification_ token_ arn - The ARN of the IPAM external resource verification token.
- ipam_
external_ strresource_ verification_ token_ id - The ID of the token.
- ipam_
region str - The Region of the IPAM that created the token.
- not_
after str - The token expiration.
- state
Ipam
External Resource Verification Token State - The token state.
- status
Ipam
External Resource Verification Token Status - The token status.
- Sequence[root_Tag]
- The tags for the token.
- token_
name str - The token name.
- token_
value str - The token value.
- ipam
Arn String - The ARN of the IPAM that created the token.
- ipam
External StringResource Verification Token Arn - The ARN of the IPAM external resource verification token.
- ipam
External StringResource Verification Token Id - 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.
- List<Property Map>
- The tags for the token.
- token
Name String - The token name.
- token
Value String - The token value.
Supporting Types
IpamExternalResourceVerificationTokenState
IpamExternalResourceVerificationTokenStatus
Tag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
published on Monday, Sep 7, 2026 by Pulumi