interface ReservedCapacityOptionsRequestProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.EC2.CfnEC2FleetPropsMixin.ReservedCapacityOptionsRequestProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsec2#CfnEC2FleetPropsMixin_ReservedCapacityOptionsRequestProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnEC2FleetPropsMixin.ReservedCapacityOptionsRequestProperty |
Python | aws_cdk.cfn_property_mixins.aws_ec2.CfnEC2FleetPropsMixin.ReservedCapacityOptionsRequestProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_ec2 » CfnEC2FleetPropsMixin » ReservedCapacityOptionsRequestProperty |
Example
// 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/cfn-property-mixins';
const reservedCapacityOptionsRequestProperty: ec2.CfnEC2FleetPropsMixin.ReservedCapacityOptionsRequestProperty = {
allocationStrategy: 'allocationStrategy',
capacityReservationTarget: {
capacityReservationIds: ['capacityReservationIds'],
capacityReservationResourceGroupArns: ['capacityReservationResourceGroupArns'],
},
reservationTypes: ['reservationTypes'],
reservedCapacityFallbackOptions: {
marketTypes: ['marketTypes'],
},
};
Properties
| Name | Type | Description |
|---|---|---|
| allocation | string | |
| capacity | IResolvable | Capacity | |
| reservation | string[] | |
| reserved | IResolvable | Reserved |
allocationStrategy?
Type:
string
(optional)
capacityReservationTarget?
Type:
IResolvable | Capacity
(optional)
reservationTypes?
Type:
string[]
(optional)
reservedCapacityFallbackOptions?
Type:
IResolvable | Reserved
(optional)

.NET
Go
Java
Python
TypeScript