AWS SDK Version 4 for .NET
API Reference

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.

Inheritance Hierarchy

System.Object
  Amazon.EC2.Model.CancellationTerms

Namespace: Amazon.EC2.Model
Assembly: AWSSDK.EC2.dll
Version: 3.x.y.z

Syntax

C#
public class CancellationTerms

The CancellationTerms type exposes the following members

Constructors

NameDescription
Public Method CancellationTerms()

Properties

NameTypeDescription
Public Property CancellationType Amazon.EC2.ApplyCancellationCharges

Gets and sets the property CancellationType.

The type of cancellation charge. Possible values include commitment-wind-down.

Public Property ChargeCommitmentDurationHours System.Nullable<System.Int64>

Gets and sets the property ChargeCommitmentDurationHours.

The number of hours for which cancellation charges will apply.

Public Property ChargeEndDate System.Nullable<System.DateTime>

Gets and sets the property ChargeEndDate.

The date and time at which cancellation charges will stop.

Public Property CommittedInstanceCount System.Nullable<System.Int32>

Gets and sets the property CommittedInstanceCount.

The number of instances under commitment after cancellation.

Public Property ReservationState System.String

Gets and sets the property ReservationState.

The state that the Capacity Reservation will transition to after cancellation.

Version Information

.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