class Aws::Lightsail::Types::SetIpAddressTypeRequest
@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 }
@!attribute [rw] resource_type
The resource type. The possible values are `Distribution`, `Instance`, and `LoadBalancer`. <note markdown="1"> Distribution-related APIs are available only in the N. Virginia (`us-east-1`) AWS Region. Set your AWS Region configuration to `us-east-1` to create, view, or edit distributions. </note> @return [String]
@!attribute [rw] resource_name
The name of the resource for which to set the IP address type. @return [String]
@!attribute [rw] ip_address_type
The IP address type to set for the specified resource. The possible values are `ipv4` for IPv4 only, and `dualstack` for IPv4 and IPv6. @return [String]
@see docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/SetIpAddressTypeRequest AWS API Documentation
Constants
- SENSITIVE