We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 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).
Create IpamExternalResourceVerificationToken Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new IpamExternalResourceVerificationToken(name: string, args: IpamExternalResourceVerificationTokenArgs, opts?: CustomResourceOptions);@overload
def IpamExternalResourceVerificationToken(resource_name: str,
args: IpamExternalResourceVerificationTokenArgs,
opts: Optional[ResourceOptions] = None)
@overload
def IpamExternalResourceVerificationToken(resource_name: str,
opts: Optional[ResourceOptions] = None,
ipam_id: Optional[str] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None)func NewIpamExternalResourceVerificationToken(ctx *Context, name string, args IpamExternalResourceVerificationTokenArgs, opts ...ResourceOption) (*IpamExternalResourceVerificationToken, error)public IpamExternalResourceVerificationToken(string name, IpamExternalResourceVerificationTokenArgs args, CustomResourceOptions? opts = null)
public IpamExternalResourceVerificationToken(String name, IpamExternalResourceVerificationTokenArgs args)
public IpamExternalResourceVerificationToken(String name, IpamExternalResourceVerificationTokenArgs args, CustomResourceOptions options)
type: aws-native:ec2:IpamExternalResourceVerificationToken
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "aws-native_ec2_ipam_external_resource_verification_token" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args IpamExternalResourceVerificationTokenArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args IpamExternalResourceVerificationTokenArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args IpamExternalResourceVerificationTokenArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IpamExternalResourceVerificationTokenArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args IpamExternalResourceVerificationTokenArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
IpamExternalResourceVerificationToken Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The IpamExternalResourceVerificationToken resource accepts the following input properties:
- Ipam
Id string - The ID of the IPAM that will create the token.
-
List<Pulumi.
Aws Native. Inputs. Tag> - The tags for the token.
- ipam_
id string - The ID of the IPAM that will create the token.
- list(object)
- The tags for the token.
- ipam_
id str - The ID of the IPAM that will create the token.
-
Sequence[Tag
Args] - The tags for the token.
- ipam
Id String - The ID of the IPAM that will create the token.
- List<Property Map>
- The tags for the token.
Outputs
All input properties are implicitly available as output properties. Additionally, the IpamExternalResourceVerificationToken resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- 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.
- Token
Name string - The token name.
- Token
Value string - The token value.
- Id string
- The provider-assigned unique ID for this managed resource.
- 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.
- Token
Name string - The token name.
- Token
Value string - The token value.
- id string
- The provider-assigned unique ID for this managed resource.
- 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.
- token_
name string - The token name.
- token_
value string - The token value.
- id String
- The provider-assigned unique ID for this managed resource.
- 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.
- token
Name String - The token name.
- token
Value String - The token value.
- id string
- The provider-assigned unique ID for this managed resource.
- 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.
- token
Name string - The token name.
- token
Value string - The token value.
- id str
- The provider-assigned unique ID for this managed resource.
- 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.
- token_
name str - The token name.
- token_
value str - The token value.
- id String
- The provider-assigned unique ID for this managed resource.
- 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.
- token
Name String - The token name.
- token
Value String - The token value.
Look up Existing IpamExternalResourceVerificationToken Resource
Get an existing IpamExternalResourceVerificationToken resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, opts?: CustomResourceOptions): IpamExternalResourceVerificationToken@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None) -> IpamExternalResourceVerificationTokenfunc GetIpamExternalResourceVerificationToken(ctx *Context, name string, id IDInput, state *IpamExternalResourceVerificationTokenState, opts ...ResourceOption) (*IpamExternalResourceVerificationToken, error)public static IpamExternalResourceVerificationToken Get(string name, Input<string> id, CustomResourceOptions? opts = null)public static IpamExternalResourceVerificationToken get(String name, Output<String> id, CustomResourceOptions options)resources: existingIpamExternalResourceVerificationToken: type: aws-native:ec2:IpamExternalResourceVerificationToken get: id: ${id}import {
to = aws-native_ec2_ipam_external_resource_verification_token.example
id = "${id}"
}
- name string
- The unique name of the resulting resource.
- id Input<ID>
- The unique provider ID of the resource to look up.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resulting resource.
- id str
- The unique provider ID of the resource to look up.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resulting resource.
- id IDInput
- The unique provider ID of the resource to look up.
- state IpamExternalResourceVerificationTokenState
- Pass nil. This resource has no state arguments.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resulting resource.
- id Input<string>
- The unique provider ID of the resource to look up.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resulting resource.
- id Output<String>
- The unique provider ID of the resource to look up.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Supporting Types
IpamExternalResourceVerificationTokenState
The token state.
| Name | Value |
|---|---|
| Create | create-in-progress |
| Create | create-complete |
| Create | create-failed |
| Delete | delete-in-progress |
| Delete | delete-complete |
| Delete | delete-failed |
| Name | Value |
|---|---|
| Ipam | create-in-progress |
| Ipam | create-complete |
| Ipam | create-failed |
| Ipam | delete-in-progress |
| Ipam | delete-complete |
| Ipam | delete-failed |
| Value |
|---|
create-in-progress |
create-complete |
create-failed |
delete-in-progress |
delete-complete |
delete-failed |
| Name | Value |
|---|---|
| Create | create-in-progress |
| Create | create-complete |
| Create | create-failed |
| Delete | delete-in-progress |
| Delete | delete-complete |
| Delete | delete-failed |
| Name | Value |
|---|---|
| Create | create-in-progress |
| Create | create-complete |
| Create | create-failed |
| Delete | delete-in-progress |
| Delete | delete-complete |
| Delete | delete-failed |
| Name | Value |
|---|---|
| CREATE_IN_PROGRESS | create-in-progress |
| CREATE_COMPLETE | create-complete |
| CREATE_FAILED | create-failed |
| DELETE_IN_PROGRESS | delete-in-progress |
| DELETE_COMPLETE | delete-complete |
| DELETE_FAILED | delete-failed |
| Value |
|---|
create-in-progress |
create-complete |
create-failed |
delete-in-progress |
delete-complete |
delete-failed |
IpamExternalResourceVerificationTokenStatus
The token status.
| Name | Value |
|---|---|
| Valid | valid |
| Expired | expired |
| Name | Value |
|---|---|
| Ipam | valid |
| Ipam | expired |
| Value |
|---|
valid |
expired |
| Name | Value |
|---|---|
| Valid | valid |
| Expired | expired |
| Name | Value |
|---|---|
| Valid | valid |
| Expired | expired |
| Name | Value |
|---|---|
| VALID | valid |
| EXPIRED | expired |
| Value |
|---|
valid |
expired |
Tag, TagArgs
A set of tags to apply to the resource.
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 Wednesday, Nov 18, 2026 by Pulumi