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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing AttachStaticIpRequest as input to an Aws::Client method, you can use a vanilla 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)

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

#static_ip_nameString

The name of the static IP.

Returns:

  • (String)

    The name of the static IP.