Fugue.AWS.EC2.ElasticIP

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

external

(Function)

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

Returns:

A reference to the specified ElasticIP.

Type: ElasticIP

new

(Function)

new Elastic IP (Constructor)

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

Type Signature

 fun (Spec) -> ElasticIP
Argument: spec

An Elastic IP specification record.

Type: Spec

Returns:

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

Type: ElasticIP

Spec

(Type)

type Spec:
  region: Region

Elastic IP Specification (Resource)

Record {

Field: region

The AWS region in which to create the elastic IP.

Type: Region

}