/AWS1/CL_EC2SPOTPLACEMENT¶
Describes Spot Instance placement.
CONSTRUCTOR¶
IMPORTING¶
Optional arguments:¶
iv_availabilityzone TYPE /AWS1/EC2STRING /AWS1/EC2STRING¶
The Availability Zone. For example,
us-east-2a.[Spot Fleet only] To specify multiple Availability Zones, separate them using commas; for example, "
us-east-2a,us-east-2b".Either
AvailabilityZoneorAvailabilityZoneIdmust be specified in the request, but not both.
iv_groupname TYPE /AWS1/EC2PLACEMENTGROUPNAME /AWS1/EC2PLACEMENTGROUPNAME¶
The name of the placement group.
iv_tenancy TYPE /AWS1/EC2TENANCY /AWS1/EC2TENANCY¶
The tenancy of the instance (if the instance is running in a VPC). An instance with a tenancy of
dedicatedruns on single-tenant hardware. Thehosttenancy is not supported for Spot Instances.
iv_availabilityzoneid TYPE /AWS1/EC2STRING /AWS1/EC2STRING¶
The ID of the Availability Zone. For example,
use2-az1.[Spot Fleet only] To specify multiple Availability Zones, separate them using commas; for example, "
use2-az1,use2-bz1".Either
AvailabilityZoneorAvailabilityZoneIdmust be specified in the request, but not both.
Queryable Attributes¶
AvailabilityZone¶
The Availability Zone. For example,
us-east-2a.[Spot Fleet only] To specify multiple Availability Zones, separate them using commas; for example, "
us-east-2a,us-east-2b".Either
AvailabilityZoneorAvailabilityZoneIdmust be specified in the request, but not both.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_AVAILABILITYZONE() |
Getter for AVAILABILITYZONE, with configurable default |
ASK_AVAILABILITYZONE() |
Getter for AVAILABILITYZONE w/ exceptions if field has no va |
HAS_AVAILABILITYZONE() |
Determine if AVAILABILITYZONE has a value |
GroupName¶
The name of the placement group.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_GROUPNAME() |
Getter for GROUPNAME, with configurable default |
ASK_GROUPNAME() |
Getter for GROUPNAME w/ exceptions if field has no value |
HAS_GROUPNAME() |
Determine if GROUPNAME has a value |
Tenancy¶
The tenancy of the instance (if the instance is running in a VPC). An instance with a tenancy of
dedicatedruns on single-tenant hardware. Thehosttenancy is not supported for Spot Instances.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_TENANCY() |
Getter for TENANCY, with configurable default |
ASK_TENANCY() |
Getter for TENANCY w/ exceptions if field has no value |
HAS_TENANCY() |
Determine if TENANCY has a value |
AvailabilityZoneId¶
The ID of the Availability Zone. For example,
use2-az1.[Spot Fleet only] To specify multiple Availability Zones, separate them using commas; for example, "
use2-az1,use2-bz1".Either
AvailabilityZoneorAvailabilityZoneIdmust be specified in the request, but not both.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_AVAILABILITYZONEID() |
Getter for AVAILABILITYZONEID, with configurable default |
ASK_AVAILABILITYZONEID() |
Getter for AVAILABILITYZONEID w/ exceptions if field has no |
HAS_AVAILABILITYZONEID() |
Determine if AVAILABILITYZONEID has a value |