NAME
Paws::EC2::SpotFleetLaunchSpecification
USAGE
This class represents one of two things:
Arguments in a call to a service
Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.
As an example, if Att1 is expected to be a Paws::EC2::SpotFleetLaunchSpecification object:
$service_obj->Method(Att1 => { AddressingType => $value, ..., WeightedCapacity => $value });
Results returned from an API call
Use accessors for each attribute. If Att1 is expected to be an Paws::EC2::SpotFleetLaunchSpecification object:
$result = $service_obj->Method(...);
$result->Att1->AddressingType
DESCRIPTION
This class has no description
ATTRIBUTES
AddressingType => Str
Deprecated.
BlockDeviceMappings => ArrayRef[Paws::EC2::BlockDeviceMapping]
One or more block devices that are mapped to the Spot Instances. You can't specify both a snapshot ID and an encryption value. This is because only blank volumes can be encrypted on creation. If a snapshot is the basis for a volume, it is not blank and its encryption status is used for the volume encryption status.
EbsOptimized => Bool
Indicates whether the instances are optimized for EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal EBS I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS Optimized instance.
Default: false
IamInstanceProfile => Paws::EC2::IamInstanceProfileSpecification
The IAM instance profile.
ImageId => Str
The ID of the AMI.
InstanceType => Str
The instance type.
KernelId => Str
The ID of the kernel.
KeyName => Str
The name of the key pair.
Monitoring => Paws::EC2::SpotFleetMonitoring
Enable or disable monitoring for the instances.
NetworkInterfaces => ArrayRef[Paws::EC2::InstanceNetworkInterfaceSpecification]
One or more network interfaces. If you specify a network interface, you must specify subnet IDs and security group IDs using the network interface.
SpotFleetLaunchSpecification
currently does not support Elastic Fabric Adapter (EFA). To specify an EFA, you must use LaunchTemplateConfig (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_LaunchTemplateConfig.html).
Placement => Paws::EC2::SpotPlacement
The placement information.
RamdiskId => Str
The ID of the RAM disk. Some kernels require additional drivers at launch. Check the kernel requirements for information about whether you need to specify a RAM disk. To find kernel requirements, refer to the Amazon Web Services Resource Center and search for the kernel ID.
SecurityGroups => ArrayRef[Paws::EC2::GroupIdentifier]
One or more security groups. When requesting instances in a VPC, you must specify the IDs of the security groups. When requesting instances in EC2-Classic, you can specify the names or the IDs of the security groups.
SpotPrice => Str
The maximum price per unit hour that you are willing to pay for a Spot Instance. If this value is not specified, the default is the Spot price specified for the fleet. To determine the Spot price per unit hour, divide the Spot price by the value of WeightedCapacity
.
SubnetId => Str
The IDs of the subnets in which to launch the instances. To specify multiple subnets, separate them using commas; for example, "subnet-1234abcdeexample1, subnet-0987cdef6example2".
TagSpecifications => ArrayRef[Paws::EC2::SpotFleetTagSpecification]
The tags to apply during creation.
UserData => Str
The Base64-encoded user data that instances use when starting up.
WeightedCapacity => Num
The number of units provided by the specified instance type. These are the same units that you chose to set the target capacity in terms of instances, or a performance characteristic such as vCPUs, memory, or I/O.
If the target capacity divided by this value is not a whole number, Amazon EC2 rounds the number of instances to the next whole number. If this value is not specified, the default is 1.
SEE ALSO
This class forms part of Paws, describing an object used in Paws::EC2
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