AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Describes the cancellation terms for cancelling a future-dated Capacity Reservation during its commitment duration.
Namespace: Amazon.EC2.Model
Assembly: AWSSDK.EC2.dll
Version: 3.x.y.z
public class CancellationTerms
The CancellationTerms type exposes the following members
| Name | Description | |
|---|---|---|
|
CancellationTerms() |
| Name | Type | Description | |
|---|---|---|---|
|
CancellationType | Amazon.EC2.ApplyCancellationCharges |
Gets and sets the property CancellationType.
The type of cancellation charge. Possible values include |
|
ChargeCommitmentDurationHours | System.Nullable<System.Int64> |
Gets and sets the property ChargeCommitmentDurationHours. The number of hours for which cancellation charges will apply. |
|
ChargeEndDate | System.Nullable<System.DateTime> |
Gets and sets the property ChargeEndDate. The date and time at which cancellation charges will stop. |
|
CommittedInstanceCount | System.Nullable<System.Int32> |
Gets and sets the property CommittedInstanceCount. The number of instances under commitment after cancellation. |
|
ReservationState | System.String |
Gets and sets the property ReservationState. The state that the Capacity Reservation will transition to after cancellation. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.7.2 and newer