---
title: Getting Started with Datadog
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: Docs > Infrastructure > Datadog Resource Catalog
---

# aws_ec2_capacity_reservation{% #aws_ec2_capacity_reservation %}

## `account_id`{% #account_id %}

**Type**: `STRING`

## `availability_zone`{% #availability_zone %}

**Type**: `STRING`**Provider name**: `AvailabilityZone`**Description**: The Availability Zone in which the capacity is reserved.

## `availability_zone_id`{% #availability_zone_id %}

**Type**: `STRING`**Provider name**: `AvailabilityZoneId`**Description**: The Availability Zone ID of the Capacity Reservation.

## `available_instance_count`{% #available_instance_count %}

**Type**: `INT32`**Provider name**: `AvailableInstanceCount`**Description**: The remaining capacity. Indicates the number of instances that can be launched in the Capacity Reservation.

## `capacity_allocations`{% #capacity_allocations %}

**Type**: `UNORDERED_LIST_STRUCT`**Provider name**: `CapacityAllocations`**Description**: Information about instance capacity usage.

- `allocation_type`**Type**: `STRING`**Provider name**: `AllocationType`**Description**: The usage type. `used` indicates that the instance capacity is in use by instances that are running in the Capacity Reservation.
- `count`**Type**: `INT32`**Provider name**: `Count`**Description**: The amount of instance capacity associated with the usage. For example a value of `4` indicates that instance capacity for 4 instances is currently in use.

## `capacity_reservation_arn`{% #capacity_reservation_arn %}

**Type**: `STRING`**Provider name**: `CapacityReservationArn`**Description**: The Amazon Resource Name (ARN) of the Capacity Reservation.

## `capacity_reservation_fleet_id`{% #capacity_reservation_fleet_id %}

**Type**: `STRING`**Provider name**: `CapacityReservationFleetId`**Description**: The ID of the Capacity Reservation Fleet to which the Capacity Reservation belongs. Only valid for Capacity Reservations that were created by a Capacity Reservation Fleet.

## `capacity_reservation_id`{% #capacity_reservation_id %}

**Type**: `STRING`**Provider name**: `CapacityReservationId`**Description**: The ID of the Capacity Reservation.

## `commitment_info`{% #commitment_info %}

**Type**: `STRUCT`**Provider name**: `CommitmentInfo`**Description**: Information about your commitment for a future-dated Capacity Reservation.

- `commitment_end_date`**Type**: `TIMESTAMP`**Provider name**: `CommitmentEndDate`**Description**: The date and time at which the commitment duration expires, in the ISO8601 format in the UTC time zone (`YYYY-MM-DDThh:mm:ss.sssZ`). You can't decrease the instance count or cancel the Capacity Reservation before this date and time.
- `committed_instance_count`**Type**: `INT32`**Provider name**: `CommittedInstanceCount`**Description**: The instance capacity that you committed to when you requested the future-dated Capacity Reservation.

## `create_date`{% #create_date %}

**Type**: `TIMESTAMP`**Provider name**: `CreateDate`**Description**: The date and time at which the Capacity Reservation was created.

## `delivery_preference`{% #delivery_preference %}

**Type**: `STRING`**Provider name**: `DeliveryPreference`**Description**: The delivery method for a future-dated Capacity Reservation. `incremental` indicates that the requested capacity is delivered in addition to any running instances and reserved capacity that you have in your account at the requested date and time.

## `ebs_optimized`{% #ebs_optimized %}

**Type**: `BOOLEAN`**Provider name**: `EbsOptimized`**Description**: Indicates whether the Capacity Reservation supports EBS-optimized instances. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS- optimized instance.

## `end_date`{% #end_date %}

**Type**: `TIMESTAMP`**Provider name**: `EndDate`**Description**: The date and time at which the Capacity Reservation expires. When a Capacity Reservation expires, the reserved capacity is released and you can no longer launch instances into it. The Capacity Reservation's state changes to `expired` when it reaches its end date and time.

## `end_date_type`{% #end_date_type %}

**Type**: `STRING`**Provider name**: `EndDateType`**Description**: Indicates the way in which the Capacity Reservation ends. A Capacity Reservation can have one of the following end types:

- `unlimited` - The Capacity Reservation remains active until you explicitly cancel it.
- `limited` - The Capacity Reservation expires automatically at a specified date and time.



## `ephemeral_storage`{% #ephemeral_storage %}

**Type**: `BOOLEAN`**Provider name**: `EphemeralStorage`**Description**: Deprecated.

## `instance_match_criteria`{% #instance_match_criteria %}

**Type**: `STRING`**Provider name**: `InstanceMatchCriteria`**Description**: Indicates the type of instance launches that the Capacity Reservation accepts. The options include:

- `open` - The Capacity Reservation accepts all instances that have matching attributes (instance type, platform, and Availability Zone). Instances that have matching attributes launch into the Capacity Reservation automatically without specifying any additional parameters.
- `targeted` - The Capacity Reservation only accepts instances that have matching attributes (instance type, platform, and Availability Zone), and explicitly target the Capacity Reservation. This ensures that only permitted instances can use the reserved capacity.



## `instance_platform`{% #instance_platform %}

**Type**: `STRING`**Provider name**: `InstancePlatform`**Description**: The type of operating system for which the Capacity Reservation reserves capacity.

## `instance_type`{% #instance_type %}

**Type**: `STRING`**Provider name**: `InstanceType`**Description**: The type of instance for which the Capacity Reservation reserves capacity.

## `outpost_arn`{% #outpost_arn %}

**Type**: `STRING`**Provider name**: `OutpostArn`**Description**: The Amazon Resource Name (ARN) of the Outpost on which the Capacity Reservation was created.

## `owner_id`{% #owner_id %}

**Type**: `STRING`**Provider name**: `OwnerId`**Description**: The ID of the Amazon Web Services account that owns the Capacity Reservation.

## `placement_group_arn`{% #placement_group_arn %}

**Type**: `STRING`**Provider name**: `PlacementGroupArn`**Description**: The Amazon Resource Name (ARN) of the cluster placement group in which the Capacity Reservation was created. For more information, see [Capacity Reservations for cluster placement groups](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/cr-cpg.html) in the Amazon EC2 User Guide.

## `reservation_type`{% #reservation_type %}

**Type**: `STRING`**Provider name**: `ReservationType`**Description**: The type of Capacity Reservation.

## `start_date`{% #start_date %}

**Type**: `TIMESTAMP`**Provider name**: `StartDate`**Description**: The date and time at which the Capacity Reservation was started.

## `state`{% #state %}

**Type**: `STRING`**Provider name**: `State`**Description**: The current state of the Capacity Reservation. A Capacity Reservation can be in one of the following states:

- `active` - The capacity is available for use.
- `expired` - The Capacity Reservation expired automatically at the date and time specified in your reservation request. The reserved capacity is no longer available for your use.
- `cancelled` - The Capacity Reservation was canceled. The reserved capacity is no longer available for your use.
- `pending` - The Capacity Reservation request was successful but the capacity provisioning is still pending.
- `failed` - The Capacity Reservation request has failed. A request can fail due to request parameters that are not valid, capacity constraints, or instance limit constraints. You can view a failed request for 60 minutes.
- `scheduled` - (Future-dated Capacity Reservations only) The future-dated Capacity Reservation request was approved and the Capacity Reservation is scheduled for delivery on the requested start date.
- `assessing` - (Future-dated Capacity Reservations only) Amazon EC2 is assessing your request for a future-dated Capacity Reservation.
- `delayed` - (Future-dated Capacity Reservations only) Amazon EC2 encountered a delay in provisioning the requested future-dated Capacity Reservation. Amazon EC2 is unable to deliver the requested capacity by the requested start date and time.
- `unsupported` - (Future-dated Capacity Reservations only) Amazon EC2 can't support the future-dated Capacity Reservation request due to capacity constraints. You can view unsupported requests for 30 days. The Capacity Reservation will not be delivered.



## `tags`{% #tags %}

**Type**: `UNORDERED_LIST_STRING`

## `tenancy`{% #tenancy %}

**Type**: `STRING`**Provider name**: `Tenancy`**Description**: Indicates the tenancy of the Capacity Reservation. A Capacity Reservation can have one of the following tenancy settings:

- `default` - The Capacity Reservation is created on hardware that is shared with other Amazon Web Services accounts.
- `dedicated` - The Capacity Reservation is created on single-tenant hardware that is dedicated to a single Amazon Web Services account.



## `total_instance_count`{% #total_instance_count %}

**Type**: `INT32`**Provider name**: `TotalInstanceCount`**Description**: The total number of instances for which the Capacity Reservation reserves capacity.

## `unused_reservation_billing_owner_id`{% #unused_reservation_billing_owner_id %}

**Type**: `STRING`**Provider name**: `UnusedReservationBillingOwnerId`**Description**: The ID of the Amazon Web Services account to which billing of the unused capacity of the Capacity Reservation is assigned.
