Class CfnEC2FleetPropsMixin.ReservedCapacityOptionsRequestProperty
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.EC2
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnEC2FleetPropsMixin.ReservedCapacityOptionsRequestProperty : CfnEC2FleetPropsMixin.IReservedCapacityOptionsRequestProperty
Syntax (vb)
Public Class CfnEC2FleetPropsMixin.ReservedCapacityOptionsRequestProperty Implements CfnEC2FleetPropsMixin.IReservedCapacityOptionsRequestProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.EC2;
var reservedCapacityOptionsRequestProperty = new ReservedCapacityOptionsRequestProperty {
AllocationStrategy = "allocationStrategy",
CapacityReservationTarget = new CapacityReservationTargetRequestProperty {
CapacityReservationIds = new [] { "capacityReservationIds" },
CapacityReservationResourceGroupArns = new [] { "capacityReservationResourceGroupArns" }
},
ReservationTypes = new [] { "reservationTypes" },
ReservedCapacityFallbackOptions = new ReservedCapacityFallbackOptionsRequestProperty {
MarketTypes = new [] { "marketTypes" }
}
};
Synopsis
Constructors
| ReservedCapacityOptionsRequestProperty() |
Properties
| AllocationStrategy | |
| CapacityReservationTarget | |
| ReservationTypes | |
| ReservedCapacityFallbackOptions |
Constructors
ReservedCapacityOptionsRequestProperty()
public ReservedCapacityOptionsRequestProperty()
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.EC2;
var reservedCapacityOptionsRequestProperty = new ReservedCapacityOptionsRequestProperty {
AllocationStrategy = "allocationStrategy",
CapacityReservationTarget = new CapacityReservationTargetRequestProperty {
CapacityReservationIds = new [] { "capacityReservationIds" },
CapacityReservationResourceGroupArns = new [] { "capacityReservationResourceGroupArns" }
},
ReservationTypes = new [] { "reservationTypes" },
ReservedCapacityFallbackOptions = new ReservedCapacityFallbackOptionsRequestProperty {
MarketTypes = new [] { "marketTypes" }
}
};
Properties
AllocationStrategy
public string? AllocationStrategy { get; set; }
Property Value
Remarks
CapacityReservationTarget
public object? CapacityReservationTarget { get; set; }
Property Value
Remarks
Type union: either IResolvable or CfnEC2FleetPropsMixin.ICapacityReservationTargetRequestProperty
ReservationTypes
ReservedCapacityFallbackOptions
public object? ReservedCapacityFallbackOptions { get; set; }
Property Value
Remarks
Type union: either IResolvable or CfnEC2FleetPropsMixin.IReservedCapacityFallbackOptionsRequestProperty