You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::OpsWorks::Types::AssociateElasticIpRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb

Overview

Note:

When making an API call, you may pass AssociateElasticIpRequest data as a hash:

{
  elastic_ip: "String", # required
  instance_id: "String",
}

Instance Attribute Summary collapse

Instance Attribute Details

#elastic_ipString

The Elastic IP address.

Returns:

  • (String)


192
193
194
195
196
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 192

class AssociateElasticIpRequest < Struct.new(
  :elastic_ip,
  :instance_id)
  include Aws::Structure
end

#instance_idString

The instance ID.

Returns:

  • (String)


192
193
194
195
196
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 192

class AssociateElasticIpRequest < Struct.new(
  :elastic_ip,
  :instance_id)
  include Aws::Structure
end