disassociate_elastic_ip

disassociate_elastic_ip(**kwargs)

Disassociates an Elastic IP address from its instance. The address remains registered with the stack. For more information, see Resource Management.

Required Permissions : To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.

See also: AWS API Documentation

Request Syntax

response = client.disassociate_elastic_ip(
    ElasticIp='string'
)
Parameters
ElasticIp (string) --

[REQUIRED]

The Elastic IP address.

Returns
None

Exceptions

  • OpsWorks.Client.exceptions.ValidationException
  • OpsWorks.Client.exceptions.ResourceNotFoundException