OpsWorks / Client / associate_elastic_ip
associate_elastic_ip#
- OpsWorks.Client.associate_elastic_ip(**kwargs)#
- Associates one of the stack’s registered Elastic IP addresses with a specified instance. The address must first be registered with the stack by calling RegisterElasticIp. 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.associate_elastic_ip( ElasticIp='string', InstanceId='string' ) - Parameters:
- ElasticIp (string) – - [REQUIRED] - The Elastic IP address. 
- InstanceId (string) – The instance ID. 
 
- Returns:
- None 
 - Exceptions- OpsWorks.Client.exceptions.ValidationException
- OpsWorks.Client.exceptions.ResourceNotFoundException