> For the complete documentation index, see [llms.txt](https://docs.skeddly.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.skeddly.com/data-types/actionparameters-object/amazonassociateelasticipparameters-object.md).

# 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

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