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

Class: Aws::OpsWorks::Types::DescribeElasticIpsRequest

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 DescribeElasticIpsRequest data as a hash:

{
  instance_id: "String",
  stack_id: "String",
  ips: ["String"],
}

Instance Attribute Summary collapse

Instance Attribute Details

#instance_idString

The instance ID. If you include this parameter, DescribeElasticIps returns a description of the Elastic IP addresses associated with the specified instance.

Returns:

  • (String)


2907
2908
2909
2910
2911
2912
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 2907

class DescribeElasticIpsRequest < Struct.new(
  :instance_id,
  :stack_id,
  :ips)
  include Aws::Structure
end

#ipsArray<String>

An array of Elastic IP addresses to be described. If you include this parameter, DescribeElasticIps returns a description of the specified Elastic IP addresses. Otherwise, it returns a description of every Elastic IP address.

Returns:

  • (Array<String>)


2907
2908
2909
2910
2911
2912
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 2907

class DescribeElasticIpsRequest < Struct.new(
  :instance_id,
  :stack_id,
  :ips)
  include Aws::Structure
end

#stack_idString

A stack ID. If you include this parameter, DescribeElasticIps returns a description of the Elastic IP addresses that are registered with the specified stack.

Returns:

  • (String)


2907
2908
2909
2910
2911
2912
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 2907

class DescribeElasticIpsRequest < Struct.new(
  :instance_id,
  :stack_id,
  :ips)
  include Aws::Structure
end