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

Class: Aws::Lightsail::Types::AttachStaticIpRequest

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

Overview

Note:

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

{
  static_ip_name: "ResourceName", # required
  instance_name: "ResourceName", # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#instance_nameString

The instance name to which you want to attach the static IP address.

Returns:

  • (String)


59
60
61
62
63
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 59

class AttachStaticIpRequest < Struct.new(
  :static_ip_name,
  :instance_name)
  include Aws::Structure
end

#static_ip_nameString

The name of the static IP.

Returns:

  • (String)


59
60
61
62
63
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 59

class AttachStaticIpRequest < Struct.new(
  :static_ip_name,
  :instance_name)
  include Aws::Structure
end