import { Value } from '../../cloudformation/Value';
import { TagSpecificationProps } from './capacityreservationfleet/TagSpecificationProps';
import { InstanceTypeSpecificationProps } from './capacityreservationfleet/InstanceTypeSpecificationProps';
import { Attribute } from '../../cloudformation/Attribute';
import { AwsResource } from '../../cloudformation/resources/AwsResource';
export type CapacityReservationFleetAttributes = {
    CapacityReservationFleetId: Attribute<string>;
};
export type CapacityReservationFleet = AwsResource<'AWS::EC2::CapacityReservationFleet', CapacityReservationFleetProperties, CapacityReservationFleetAttributes>;
/**
  Creates a new Capacity Reservation Fleet with the specified attributes. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/cr-fleets.html">Capacity Reservation Fleets</a> in the <em>Amazon EC2 User Guide</em>.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-capacityreservationfleet.html">the AWS Docs</a>
*/
export declare function capacityReservationFleet(capacityReservationFleetProps?: CapacityReservationFleetProperties): CapacityReservationFleet;
/**
  Creates a new Capacity Reservation Fleet with the specified attributes. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/cr-fleets.html">Capacity Reservation Fleets</a> in the <em>Amazon EC2 User Guide</em>.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-capacityreservationfleet.html">the AWS Docs</a>
*/
export interface CapacityReservationFleetProperties {
    /** <p> */
    tenancy?: Value<string>;
    /** <code>TotalTargetCapacity</code>  <a name="cfn-ec2-capacityreservationfleet-totaltargetcapacity"></a>
  The total number of capacity units to be reserved by the Capacity Reservation Fleet. This value, together with the instance type weights that you assign to each instance type used by the Fleet determine the number of instances for which the Fleet reserves capacity. Both values are based on units that make sense for your workload. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/crfleet-concepts.html#target-capacity"> Total target capacity</a> in the Amazon EC2 User Guide.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    totalTargetCapacity?: Value<number>;
    /** <code>AllocationStrategy</code>  <a name="cfn-ec2-capacityreservationfleet-allocationstrategy"></a>
  The strategy used by the Capacity Reservation Fleet to determine which of the specified instance types to use. Currently, only the <code>prioritized</code> allocation strategy is supported. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/crfleet-concepts.html#allocation-strategy"> Allocation strategy</a> in the Amazon EC2 User Guide.<br />
  Valid values: <code>prioritized</code><br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    allocationStrategy?: Value<string>;
    /** <code>TagSpecifications</code>  <a name="cfn-ec2-capacityreservationfleet-tagspecifications"></a>
  The tags to assign to the Capacity Reservation Fleet. The tags are automatically assigned to the Capacity Reservations in the Fleet.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    tagSpecifications?: TagSpecificationProps[];
    /** <code>NoRemoveEndDate</code>  <a name="cfn-ec2-capacityreservationfleet-noremoveenddate"></a>
  Used to add an end date to a Capacity Reservation Fleet that has no end date and time. To add an end date to a Capacity Reservation Fleet, specify <code>true</code> for this paramater and specify the end date and time (in UTC time format) for the <strong>EndDate</strong> parameter.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    noRemoveEndDate?: Value<boolean>;
    /** <code>InstanceTypeSpecifications</code>  <a name="cfn-ec2-capacityreservationfleet-instancetypespecifications"></a>
  Information about the instance types for which to reserve the capacity.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    instanceTypeSpecifications?: InstanceTypeSpecificationProps[];
    /** <code>RemoveEndDate</code>  <a name="cfn-ec2-capacityreservationfleet-removeenddate"></a>
  Used to remove an end date from a Capacity Reservation Fleet that is configured to end automatically at a specific date and time. To remove the end date from a Capacity Reservation Fleet, specify <code>true</code> for this paramater and omit the <strong>EndDate</strong> parameter.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    removeEndDate?: Value<boolean>;
    /** <code>InstanceMatchCriteria</code>  <a name="cfn-ec2-capacityreservationfleet-instancematchcriteria"></a>
  Indicates the type of instance launches that the Capacity Reservation Fleet accepts. All Capacity Reservations in the Fleet inherit this instance matching criteria.<br />
  Currently, Capacity Reservation Fleets support <code>open</code> instance matching criteria only. This means that instances that have matching attributes (instance type, platform, and Availability Zone) run in the Capacity Reservations automatically. Instances do not need to explicitly target a Capacity Reservation Fleet to use its reserved capacity.<br />
  
  Required: No<br />
  
  Allowed values: <code>open</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    instanceMatchCriteria?: Value<'open'>;
    /** <code>EndDate</code>  <a name="cfn-ec2-capacityreservationfleet-enddate"></a>
  The date and time at which the Capacity Reservation Fleet expires. When the Capacity Reservation Fleet expires, its state changes to <code>expired</code> and all of the Capacity Reservations in the Fleet expire.<br />
  The Capacity Reservation Fleet expires within an hour after the specified time. For example, if you specify <code>5/31/2019</code>, <code>13:30:55</code>, the Capacity Reservation Fleet is guaranteed to expire between <code>13:30:55</code> and <code>14:30:55</code> on <code>5/31/2019</code>.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    endDate?: Value<string>;
}
