# Module nodefinder_ec2

- Description
- Data Types
- Function Index
- Function Details

EC2 Erlang node discovery.

Behaviours: `gen_server`.

## Description

EC2 Erlang node discovery.

## Data Types

### condition()

`condition(Value) = {'AND', [Value]} | {'OR', [Value]}`

### condition_meta()

`condition_meta(Value) = condition(condition(condition(Value)))`

### group()

`group() = condition_meta(group_input()) | group_input()`

### group_input()

`group_input() = string()`

### tag()

`tag() = condition_meta(tag_input()) | tag_input()`

### tag_input()

`tag_input() = {[string()] | string(), [string()] | string()} | [string()] | string()`

## Function Index

code_change/3 |
discover/1 |
handle_call/3 |
handle_cast/2 |
handle_info/2 |
init/1 |
start_link/5 |
terminate/2 |
validate_groups/1 |
validate_tags/1 |

## Function Details

### code_change/3

`code_change(OldVsn, State, Extra) -> any()`

### discover/1

`discover(Timeout::pos_integer()) -> ok | {error, ec2_connect_failed | ec2_connect_timeout | ec2_unavailable | discover_failed | timeout | noproc | any()}`

### handle_call/3

`handle_call(Request, From, State) -> any()`

### handle_cast/2

`handle_cast(Request, State) -> any()`

### handle_info/2

`handle_info(Request, State) -> any()`

### init/1

`init(X1) -> any()`

### start_link/5

`start_link(AccessKeyID::string(), SecretAccessKey::string(), EC2Host::string(), Groups::[group()], Tags::[tag()]) -> {ok, pid()} | ignore | {error, any()}`

### terminate/2

`terminate(Reason, State) -> any()`

### validate_groups/1

`validate_groups(Groups::[group()]) -> ok | {error, any()}`

### validate_tags/1

`validate_tags(Tags::[tag()]) -> ok | {error, any()}`

Generated by EDoc