| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.EC2.Types.SpotPlacement
Description
Documentation
data SpotPlacement Source #
Describes Spot Instance placement.
See: newSpotPlacement smart constructor.
Constructors
| SpotPlacement' | |
Fields
| |
Instances
newSpotPlacement :: SpotPlacement Source #
Create a value of SpotPlacement with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:availabilityZone:SpotPlacement', spotPlacement_availabilityZone - The Availability Zone.
- Spot Fleet only
- To specify multiple Availability Zones, separate them using commas; for example, "us-west-2a, us-west-2b".
$sel:groupName:SpotPlacement', spotPlacement_groupName - The name of the placement group.
$sel:tenancy:SpotPlacement', spotPlacement_tenancy - The tenancy of the instance (if the instance is running in a VPC). An
instance with a tenancy of dedicated runs on single-tenant hardware.
The host tenancy is not supported for Spot Instances.
spotPlacement_availabilityZone :: Lens' SpotPlacement (Maybe Text) Source #
The Availability Zone.
- Spot Fleet only
- To specify multiple Availability Zones, separate them using commas; for example, "us-west-2a, us-west-2b".
spotPlacement_groupName :: Lens' SpotPlacement (Maybe Text) Source #
The name of the placement group.
spotPlacement_tenancy :: Lens' SpotPlacement (Maybe Tenancy) Source #
The tenancy of the instance (if the instance is running in a VPC). An
instance with a tenancy of dedicated runs on single-tenant hardware.
The host tenancy is not supported for Spot Instances.