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

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

{
  resource_type: "ContainerService", # required, accepts ContainerService, Instance, StaticIp, KeyPair, InstanceSnapshot, Domain, PeeredVpc, LoadBalancer, LoadBalancerTlsCertificate, Disk, DiskSnapshot, RelationalDatabase, RelationalDatabaseSnapshot, ExportSnapshotRecord, CloudFormationStackRecord, Alarm, ContactMethod, Distribution, Certificate, Bucket
  resource_name: "ResourceName", # required
  ip_address_type: "dualstack", # required, accepts dualstack, ipv4
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#ip_address_typeString

The IP address type to set for the specified resource.

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

Returns:

  • (String)


14627
14628
14629
14630
14631
14632
14633
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 14627

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

#resource_nameString

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

Returns:

  • (String)


14627
14628
14629
14630
14631
14632
14633
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 14627

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

#resource_typeString

The resource type.

The possible values are Distribution, Instance, and LoadBalancer.

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.

Returns:

  • (String)


14627
14628
14629
14630
14631
14632
14633
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 14627

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