aws::elastic-ip¶
Creates an Elastic IP with the specified Public IP.
Example¶
aws::elastic-ip elastic-ip-example
public-ip: 52.20.183.53
allow-re-association : true
instance : $(aws::instance instance-example)
end
aws::elastic-ip elastic-ip-example
public-ip: 52.20.183.53
allow-re-association : true
network-interface : $(aws::network-interface network-interface-example)
end
Attributes¶
Attribute | Description |
---|---|
network-interface | The network interface required when the requested public ip is associated with a Network Interface. |
instance | The instance required when the requested public ip is associated with an Instance. |
association-id | The association id assigned when the requested public ip is associated to an instance or a network interface. |
allow-re-association | When set to true , reassociation of elastic IP with another resource is allowed. |
is-standard-domain | The standard domain. Defaults to false. |
network-interface-association-private-ip | The private IP of the Network Interface being attached to. |
Outputs¶
Attribute | Description |
---|---|
public-ip | The requested public ip for acquirement. See Elastic IP. |
id | The allocation ID when the requested public ip is acquired. |