NAME
Paws::Lightsail::SetIpAddressType - Arguments for method SetIpAddressType on Paws::Lightsail
DESCRIPTION
This class represents the parameters used for calling the method SetIpAddressType on the Amazon Lightsail service. Use the attributes of this class as arguments to method SetIpAddressType.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to SetIpAddressType.
SYNOPSIS
my $lightsail = Paws->service('Lightsail');
my $SetIpAddressTypeResult = $lightsail->SetIpAddressType(
IpAddressType => 'dualstack',
ResourceName => 'MyResourceName',
ResourceType => 'ContainerService',
);
# Results:
my $Operations = $SetIpAddressTypeResult->Operations;
# Returns a L<Paws::Lightsail::SetIpAddressTypeResult> object.
Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/lightsail/SetIpAddressType
ATTRIBUTES
REQUIRED IpAddressType => Str
The IP address type to set for the specified resource.
The possible values are ipv4
for IPv4 only, and dualstack
for IPv4 and IPv6.
Valid values are: "dualstack"
, "ipv4"
REQUIRED ResourceName => Str
The name of the resource for which to set the IP address type.
REQUIRED ResourceType => Str
The resource type.
The possible values are Distribution
, Instance
, and LoadBalancer
.
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.
Valid values are: "ContainerService"
, "Instance"
, "StaticIp"
, "KeyPair"
, "InstanceSnapshot"
, "Domain"
, "PeeredVpc"
, "LoadBalancer"
, "LoadBalancerTlsCertificate"
, "Disk"
, "DiskSnapshot"
, "RelationalDatabase"
, "RelationalDatabaseSnapshot"
, "ExportSnapshotRecord"
, "CloudFormationStackRecord"
, "Alarm"
, "ContactMethod"
, "Distribution"
, "Certificate"
SEE ALSO
This class forms part of Paws, documenting arguments for method SetIpAddressType in Paws::Lightsail
BUGS and CONTRIBUTIONS
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues