AmazonAssociateElasticIpParameters Object

Description

Parameters for the Amazon Associate Elastic IP Address action.

Properties

credentialIds

Registered credentials to use with the action. One and only one credential must be specified.

Type: Array of string

Required: Yes

elasticIpAddress

Elastic IP address to assign to the EC2 instance.

Type: string

Required: Yes

instanceId

Instance ID of the EC2 instance to which assign the Elastic IP address. Required when instanceIdentificationMethod is by-instance-id.

Type: string

Required: Conditional

instanceName

Value of the Name tag on the EC2 instance to which assign the Elastic IP address. Required when instanceIdentificationMethod is by-instance-name-tag. Only one such EC2 instance should exist.

Type: string

Required: Conditional

instanceIdentificationMethod

Method of identifying the EC2 instance.

Type: string

Valid Values:

  • by-instance-id

  • by-instance-name-tag

Required: Yes

regionNames

Regions to use with the action. One and only one region must be specified.

Type: Array of string

Required: Yes

Sample JSON

{
    "credentialIds": [
        "cred-00000001"
    ],
    "regionNames": [
        "us-east-1"
    ],
    "instanceIdentificationMethod": "by-instance-id",
    "instanceId": "i-12345678",
    "elasticIpAddress": "1.2.3.4"
}

Last updated