Class: Aws::Lightsail::Types::SetIpAddressTypeRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#accept_bundle_updateBoolean

Required parameter to accept the instance bundle update when changing to, and from, IPv6-only.

<note markdown=“1”> An instance bundle will change when switching from ‘dual-stack` or `ipv4`, to `ipv6`. It also changes when switching from `ipv6`, to `dual-stack` or `ipv4`.

You must include this parameter in the command to update the bundle.

For example, if you switch from ‘dual-stack` to `ipv6`, the bundle will be updated, and billing for the IPv6-only instance bundle begins immediately.

</note>

Returns:

  • (Boolean)


13674
13675
13676
13677
13678
13679
13680
13681
# File 'lib/aws-sdk-lightsail/types.rb', line 13674

class SetIpAddressTypeRequest < Struct.new(
  :resource_type,
  :resource_name,
  :ip_address_type,
  :accept_bundle_update)
  SENSITIVE = []
  include Aws::Structure
end

#ip_address_typeString

The IP address type to set for the specified resource.

The possible values are ‘ipv4` for IPv4 only, `ipv6` for IPv6 only, and `dualstack` for IPv4 and IPv6.

Returns:

  • (String)


13674
13675
13676
13677
13678
13679
13680
13681
# File 'lib/aws-sdk-lightsail/types.rb', line 13674

class SetIpAddressTypeRequest < Struct.new(
  :resource_type,
  :resource_name,
  :ip_address_type,
  :accept_bundle_update)
  SENSITIVE = []
  include Aws::Structure
end

#resource_nameString

The name of the resource for which to set the IP address type.

Returns:

  • (String)


13674
13675
13676
13677
13678
13679
13680
13681
# File 'lib/aws-sdk-lightsail/types.rb', line 13674

class SetIpAddressTypeRequest < Struct.new(
  :resource_type,
  :resource_name,
  :ip_address_type,
  :accept_bundle_update)
  SENSITIVE = []
  include Aws::Structure
end

#resource_typeString

The resource type.

The resource values are ‘Distribution`, `Instance`, and `LoadBalancer`.

<note markdown=“1”> Distribution-related APIs are available only in the N. Virginia (‘us-east-1`) Amazon Web Services Region. Set your Amazon Web Services Region configuration to `us-east-1` to create, view, or edit distributions.

</note>

Returns:

  • (String)


13674
13675
13676
13677
13678
13679
13680
13681
# File 'lib/aws-sdk-lightsail/types.rb', line 13674

class SetIpAddressTypeRequest < Struct.new(
  :resource_type,
  :resource_name,
  :ip_address_type,
  :accept_bundle_update)
  SENSITIVE = []
  include Aws::Structure
end