Skip to content

Associate Elastic Ip

opsworks_associate_elastic_ip R Documentation

Associates one of the stack's registered Elastic IP addresses with a specified instance

Description

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 register_elastic_ip. 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.

Usage

opsworks_associate_elastic_ip(ElasticIp, InstanceId)

Arguments

ElasticIp

[required] The Elastic IP address.

InstanceId

The instance ID.

Value

An empty list.

Request syntax

svc$associate_elastic_ip(
  ElasticIp = "string",
  InstanceId = "string"
)