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

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

Viewing docs for AWS Cloud Control v1.86.0
published on Wednesday, Nov 18, 2026 by Pulumi
aws-native logo aws-native logo AWS Cloud Control

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

Viewing docs for AWS Cloud Control v1.86.0
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:

    IpamId string
    The ID of the IPAM that will create the token.
    Tags List<Pulumi.AwsNative.Inputs.Tag>
    The tags for the token.
    IpamId string
    The ID of the IPAM that will create the token.
    Tags TagArgs
    The tags for the token.
    ipam_id string
    The ID of the IPAM that will create the token.
    tags list(object)
    The tags for the token.
    ipamId String
    The ID of the IPAM that will create the token.
    tags List<Tag>
    The tags for the token.
    ipamId string
    The ID of the IPAM that will create the token.
    tags Tag[]
    The tags for the token.
    ipam_id str
    The ID of the IPAM that will create the token.
    tags Sequence[TagArgs]
    The tags for the token.
    ipamId String
    The ID of the IPAM that will create the token.
    tags 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.
    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.
    TokenName string
    The token name.
    TokenValue string
    The token value.
    Id string
    The provider-assigned unique ID for this managed resource.
    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.
    TokenName string
    The token name.
    TokenValue 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_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.
    token_name string
    The token name.
    token_value string
    The token value.
    id String
    The provider-assigned unique ID for this managed resource.
    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.
    tokenName String
    The token name.
    tokenValue String
    The token value.
    id string
    The provider-assigned unique ID for this managed resource.
    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.
    tokenName string
    The token name.
    tokenValue 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_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.
    token_name str
    The token name.
    token_value str
    The token value.
    id String
    The provider-assigned unique ID for this managed resource.
    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.
    tokenName String
    The token name.
    tokenValue 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) -> IpamExternalResourceVerificationToken
    func 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.

    NameValue
    CreateInProgresscreate-in-progress
    CreateCompletecreate-complete
    CreateFailedcreate-failed
    DeleteInProgressdelete-in-progress
    DeleteCompletedelete-complete
    DeleteFaileddelete-failed
    NameValue
    IpamExternalResourceVerificationTokenStateCreateInProgresscreate-in-progress
    IpamExternalResourceVerificationTokenStateCreateCompletecreate-complete
    IpamExternalResourceVerificationTokenStateCreateFailedcreate-failed
    IpamExternalResourceVerificationTokenStateDeleteInProgressdelete-in-progress
    IpamExternalResourceVerificationTokenStateDeleteCompletedelete-complete
    IpamExternalResourceVerificationTokenStateDeleteFaileddelete-failed
    Value
    create-in-progress
    create-complete
    create-failed
    delete-in-progress
    delete-complete
    delete-failed
    NameValue
    CreateInProgresscreate-in-progress
    CreateCompletecreate-complete
    CreateFailedcreate-failed
    DeleteInProgressdelete-in-progress
    DeleteCompletedelete-complete
    DeleteFaileddelete-failed
    NameValue
    CreateInProgresscreate-in-progress
    CreateCompletecreate-complete
    CreateFailedcreate-failed
    DeleteInProgressdelete-in-progress
    DeleteCompletedelete-complete
    DeleteFaileddelete-failed
    NameValue
    CREATE_IN_PROGRESScreate-in-progress
    CREATE_COMPLETEcreate-complete
    CREATE_FAILEDcreate-failed
    DELETE_IN_PROGRESSdelete-in-progress
    DELETE_COMPLETEdelete-complete
    DELETE_FAILEDdelete-failed
    Value
    create-in-progress
    create-complete
    create-failed
    delete-in-progress
    delete-complete
    delete-failed

    IpamExternalResourceVerificationTokenStatus

    The token status.

    NameValue
    Validvalid
    Expiredexpired
    NameValue
    IpamExternalResourceVerificationTokenStatusValidvalid
    IpamExternalResourceVerificationTokenStatusExpiredexpired
    Value
    valid
    expired
    NameValue
    Validvalid
    Expiredexpired
    NameValue
    Validvalid
    Expiredexpired
    NameValue
    VALIDvalid
    EXPIREDexpired
    Value
    valid
    expired

    Tag, TagArgs

    A set of tags to apply to the resource.

    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 AWS Cloud Control

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

    Viewing docs for AWS Cloud Control v1.86.0
    published on Wednesday, Nov 18, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial