This is the preferred interface for making Elastic IP resources with Fugue. If you want to manage an Elastic IP with Fugue, the new function is the right place to start.

Module Members



Create a reference to an externally managed ElasticIP.

Example usage:

eip: EC2.ElasticIP.external("eipalloc-1234abcd", AWS.Us-east-1)

Type Signature

 fun (String, Region) -> ElasticIP
Argument: eipId

The ID of the target ElasticIP. Must be of the form “eipalloc-” followed by 8 characters from a-z and 0-9.

Type: String

Argument: region

The Region containing the target ElasticIP.

Type: Region


A reference to the specified ElasticIP.

Type: ElasticIP



new Elastic IP (Constructor)

Call this constructor to create a new Fugue.Core.AWS.EC2.ElasticIP value.

Type Signature

 fun { region: Region,
       resourceId: Optional<String> } -> ElasticIP
Argument: region
Type: Region
Argument: resourceId

Resource ID of the resource to import with Fugue Import. This field is only honored on fugue run. The resource ID is the AWS ID. Mutable. Example: eipalloc-1234abcd

Type: Optional<String>


A Fugue.Core.AWS.EC2.ElasticIP value.

Type: ElasticIP



type Spec:
  region: Region

Elastic IP Specification (Resource) * DEPRECATED *

Record {

Field: region

The AWS region in which to create the elastic IP.

Type: Region