Skip to content
v2.273.0

ReservedCapacityOptionsRequestProperty Struct ​

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ec2 as ec2 } from 'aws-cdk-lib';
const reservedCapacityOptionsRequestProperty: ec2.CfnEC2Fleet.ReservedCapacityOptionsRequestProperty = {
  allocationStrategy: 'allocationStrategy',
  capacityReservationTarget: {
    capacityReservationIds: ['capacityReservationIds'],
    capacityReservationResourceGroupArns: ['capacityReservationResourceGroupArns'],
  },
  reservationTypes: ['reservationTypes'],
  reservedCapacityFallbackOptions: {
    marketTypes: ['marketTypes'],
  },
};

Properties ​

allocationStrategystringallocation_strategystrallocationStrategyStringAllocationStrategystringAllocationStrategy*string#
capacityReservationTargetIResolvable | CfnEC2Fleet.CapacityReservationTargetRequestPropertycapacity_reservation_targettyping.Union[IResolvable, CapacityReservationTargetRequestProperty]capacityReservationTargetIResolvableCapacityReservationTargetIResolvableCapacityReservationTargetinterface{}#
reservationTypesstring[]reservation_typestyping.List[str]reservationTypesList<String>ReservationTypesstring[]ReservationTypes*[]*string#
reservedCapacityFallbackOptionsIResolvable | CfnEC2Fleet.ReservedCapacityFallbackOptionsRequestPropertyreserved_capacity_fallback_optionstyping.Union[IResolvable, ReservedCapacityFallbackOptionsRequestProperty]reservedCapacityFallbackOptionsIResolvableReservedCapacityFallbackOptionsIResolvableReservedCapacityFallbackOptionsinterface{}#