AWS Tools for Windows PowerShell
Command Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Synopsis

Calls the Amazon Elastic Compute Cloud (EC2) CreateCapacityReservationFleet API operation.

Syntax

New-EC2CapacityReservationFleet
-TotalTargetCapacity <Int32>
-InstanceRequirements_AcceleratorManufacturer <String[]>
-InstanceRequirements_AcceleratorName <String[]>
-InstanceRequirements_AcceleratorType <String[]>
-AllocationStrategy <String>
-InstanceRequirements_AllowedInstanceType <String[]>
-AvailabilityZone <String>
-AvailabilityZoneId <String>
-InstanceRequirements_BareMetal <BareMetal>
-InstanceRequirements_BurstablePerformance <BurstablePerformance>
-InstanceRequirements_CpuManufacturer <String[]>
-DryRun <Boolean>
-EndDate <DateTime>
-InstanceRequirements_ExcludedInstanceType <String[]>
-InstanceRequirements_InstanceGeneration <String[]>
-InstanceMatchCriterion <FleetInstanceMatchCriteria>
-InstanceTypeSpecification <ReservationFleetInstanceSpecification[]>
-InstanceRequirements_LocalStorage <LocalStorage>
-InstanceRequirements_LocalStorageType <String[]>
-InstanceRequirements_AcceleratorCount_Max <Int32>
-InstanceRequirements_AcceleratorTotalMemoryMiB_Max <Int32>
-InstanceRequirements_BaselineEbsBandwidthMbps_Max <Int32>
-InstanceRequirements_MemoryGiBPerVCpu_Max <Double>
-InstanceRequirements_MemoryMiB_Max <Int32>
-InstanceRequirements_NetworkBandwidthGbps_Max <Double>
-InstanceRequirements_NetworkInterfaceCount_Max <Int32>
-InstanceRequirements_TotalLocalStorageGB_Max <Double>
-InstanceRequirements_VCpuCount_Max <Int32>
-InstanceRequirements_MaxSpotPriceAsPercentageOfOptimalOnDemandPrice <Int32>
-InstanceRequirements_AcceleratorCount_Min <Int32>
-InstanceRequirements_AcceleratorTotalMemoryMiB_Min <Int32>
-InstanceRequirements_BaselineEbsBandwidthMbps_Min <Int32>
-InstanceRequirements_MemoryGiBPerVCpu_Min <Double>
-InstanceRequirements_MemoryMiB_Min <Int32>
-InstanceRequirements_NetworkBandwidthGbps_Min <Double>
-InstanceRequirements_NetworkInterfaceCount_Min <Int32>
-InstanceRequirements_TotalLocalStorageGB_Min <Double>
-InstanceRequirements_VCpuCount_Min <Int32>
-InstanceRequirements_OnDemandMaxPricePercentageOverLowestPrice <Int32>
-InstanceRequirements_BaselinePerformanceFactors_Cpu_Reference <PerformanceFactorReferenceRequest[]>
-InstanceRequirements_RequireEncryptionInTransit <Boolean>
-InstanceRequirements_RequireHibernateSupport <Boolean>
-InstanceRequirements_SpotMaxPricePercentageOverLowestPrice <Int32>
-TagSpecification <TagSpecification[]>
-Tenancy <FleetCapacityReservationTenancy>
-ClientToken <String>
-Select <String>
-Force <SwitchParameter>
-ClientConfig <AmazonEC2Config>

Description

Creates a Capacity Reservation Fleet. For more information, see Create a Capacity Reservation Fleet in the Amazon EC2 User Guide.

Parameters

-AllocationStrategy <String>
The strategy used by the Capacity Reservation Fleet to determine which of the specified instance types to use. Currently, only the prioritized allocation strategy is supported. For more information, see Allocation strategy in the Amazon EC2 User Guide.Valid values: prioritized
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-AvailabilityZone <String>
Reserved for internal use.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-AvailabilityZoneId <String>
Reserved for internal use.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-ClientConfig <AmazonEC2Config>
Amazon.PowerShell.Cmdlets.EC2.AmazonEC2ClientCmdlet.ClientConfig
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-ClientToken <String>
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensure Idempotency.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-DryRun <Boolean>
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-EndDate <DateTime>
The date and time at which the Capacity Reservation Fleet expires. When the Capacity Reservation Fleet expires, its state changes to expired and all of the Capacity Reservations in the Fleet expire.The Capacity Reservation Fleet expires within an hour after the specified time. For example, if you specify 5/31/2019, 13:30:55, the Capacity Reservation Fleet is guaranteed to expire between 13:30:55 and 14:30:55 on 5/31/2019.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
This parameter overrides confirmation prompts to force the cmdlet to continue its operation. This parameter should always be used with caution.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-InstanceMatchCriterion <FleetInstanceMatchCriteria>
Indicates the type of instance launches that the Capacity Reservation Fleet accepts. All Capacity Reservations in the Fleet inherit this instance matching criteria.Currently, Capacity Reservation Fleets support open 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.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesInstanceMatchCriteria
-InstanceRequirements_AcceleratorCount_Max <Int32>
The maximum number of accelerators. To specify no maximum limit, omit this parameter. To exclude accelerator-enabled instance types, set Max to 0.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-InstanceRequirements_AcceleratorCount_Min <Int32>
The minimum number of accelerators. To specify no minimum limit, omit this parameter.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-InstanceRequirements_AcceleratorManufacturer <String[]>
Indicates whether instance types must have accelerators by specific manufacturers.
  • For instance types with Amazon Web Services devices, specify amazon-web-services.
  • For instance types with AMD devices, specify amd.
  • For instance types with Habana devices, specify habana.
  • For instance types with NVIDIA devices, specify nvidia.
  • For instance types with Xilinx devices, specify xilinx.
Default: Any manufacturer Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesInstanceRequirements_AcceleratorManufacturers
-InstanceRequirements_AcceleratorName <String[]>
The accelerators that must be on the instance type.
  • For instance types with NVIDIA A10G GPUs, specify a10g.
  • For instance types with NVIDIA A100 GPUs, specify a100.
  • For instance types with NVIDIA H100 GPUs, specify h100.
  • For instance types with Amazon Web Services Inferentia chips, specify inferentia.
  • For instance types with Amazon Web Services Inferentia2 chips, specify inferentia2.
  • For instance types with Habana Gaudi HL-205 GPUs, specify gaudi-hl-205.
  • For instance types with NVIDIA GRID K520 GPUs, specify k520.
  • For instance types with NVIDIA K80 GPUs, specify k80.
  • For instance types with NVIDIA L4 GPUs, specify l4.
  • For instance types with NVIDIA L40S GPUs, specify l40s.
  • For instance types with NVIDIA M60 GPUs, specify m60.
  • For instance types with AMD Radeon Pro V520 GPUs, specify radeon-pro-v520.
  • For instance types with Amazon Web Services Trainium chips, specify trainium.
  • For instance types with Amazon Web Services Trainium2 chips, specify trainium2.
  • For instance types with NVIDIA T4 GPUs, specify t4.
  • For instance types with NVIDIA T4G GPUs, specify t4g.
  • For instance types with Xilinx U30 cards, specify u30.
  • For instance types with Xilinx VU9P FPGAs, specify vu9p.
  • For instance types with NVIDIA V100 GPUs, specify v100.
Default: Any accelerator Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesInstanceRequirements_AcceleratorNames
-InstanceRequirements_AcceleratorTotalMemoryMiB_Max <Int32>
The maximum amount of accelerator memory, in MiB. To specify no maximum limit, omit this parameter.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-InstanceRequirements_AcceleratorTotalMemoryMiB_Min <Int32>
The minimum amount of accelerator memory, in MiB. To specify no minimum limit, omit this parameter.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-InstanceRequirements_AcceleratorType <String[]>
The accelerator types that must be on the instance type.
  • For instance types with FPGA accelerators, specify fpga.
  • For instance types with GPU accelerators, specify gpu.
  • For instance types with Inference accelerators, specify inference.
  • For instance types with Media accelerators, specify media.
Default: Any accelerator type Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesInstanceRequirements_AcceleratorTypes
-InstanceRequirements_AllowedInstanceType <String[]>
The instance types to apply your specified attributes against. All other instance types are ignored, even if they match your specified attributes.You can use strings with one or more wild cards, represented by an asterisk (*), to allow an instance type, size, or generation. The following are examples: m5.8xlarge, c5*.*, m5a.*, r*, *3*.For example, if you specify c5*,Amazon EC2 will allow the entire C5 instance family, which includes all C5a and C5n instance types. If you specify m5a.*, Amazon EC2 will allow all the M5a instance types, but not the M5n instance types.If you specify AllowedInstanceTypes, you can't specify ExcludedInstanceTypes.Default: All instance types Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesInstanceRequirements_AllowedInstanceTypes
-InstanceRequirements_BareMetal <BareMetal>
Indicates whether bare metal instance types must be included, excluded, or required.
  • To include bare metal instance types, specify included.
  • To require only bare metal instance types, specify required.
  • To exclude bare metal instance types, specify excluded.
Default: excluded
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-InstanceRequirements_BaselineEbsBandwidthMbps_Max <Int32>
The maximum baseline bandwidth, in Mbps. To specify no maximum limit, omit this parameter.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-InstanceRequirements_BaselineEbsBandwidthMbps_Min <Int32>
The minimum baseline bandwidth, in Mbps. To specify no minimum limit, omit this parameter.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-InstanceRequirements_BaselinePerformanceFactors_Cpu_Reference <PerformanceFactorReferenceRequest[]>
Specify an instance family to use as the baseline reference for CPU performance. All instance types that match your specified attributes will be compared against the CPU performance of the referenced instance family, regardless of CPU manufacturer or architecture differences.Currently, only one instance family can be specified in the list. Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesInstanceRequirements_BaselinePerformanceFactors_Cpu_References
-InstanceRequirements_BurstablePerformance <BurstablePerformance>
Indicates whether burstable performance T instance types are included, excluded, or required. For more information, see Burstable performance instances.
  • To include burstable performance instance types, specify included.
  • To require only burstable performance instance types, specify required.
  • To exclude burstable performance instance types, specify excluded.
Default: excluded
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-InstanceRequirements_CpuManufacturer <String[]>
The CPU manufacturers to include.
  • For instance types with Intel CPUs, specify intel.
  • For instance types with AMD CPUs, specify amd.
  • For instance types with Amazon Web Services CPUs, specify amazon-web-services.
  • For instance types with Apple CPUs, specify apple.
Don't confuse the CPU manufacturer with the CPU architecture. Instances will be launched with a compatible CPU architecture based on the Amazon Machine Image (AMI) that you specify in your launch template.Default: Any manufacturer Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesInstanceRequirements_CpuManufacturers
-InstanceRequirements_ExcludedInstanceType <String[]>
The instance types to exclude.You can use strings with one or more wild cards, represented by an asterisk (*), to exclude an instance family, type, size, or generation. The following are examples: m5.8xlarge, c5*.*, m5a.*, r*, *3*.For example, if you specify c5*,Amazon EC2 will exclude the entire C5 instance family, which includes all C5a and C5n instance types. If you specify m5a.*, Amazon EC2 will exclude all the M5a instance types, but not the M5n instance types.If you specify ExcludedInstanceTypes, you can't specify AllowedInstanceTypes.Default: No excluded instance types Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesInstanceRequirements_ExcludedInstanceTypes
-InstanceRequirements_InstanceGeneration <String[]>
Indicates whether current or previous generation instance types are included. The current generation instance types are recommended for use. Current generation instance types are typically the latest two to three generations in each instance family. For more information, see Instance types in the Amazon EC2 User Guide.For current generation instance types, specify current.For previous generation instance types, specify previous.Default: Current and previous generation instance types Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesInstanceRequirements_InstanceGenerations
-InstanceRequirements_LocalStorage <LocalStorage>
Indicates whether instance types with instance store volumes are included, excluded, or required. For more information, Amazon EC2 instance store in the Amazon EC2 User Guide.
  • To include instance types with instance store volumes, specify included.
  • To require only instance types with instance store volumes, specify required.
  • To exclude instance types with instance store volumes, specify excluded.
Default: included
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-InstanceRequirements_LocalStorageType <String[]>
The type of local storage that is required.
  • For instance types with hard disk drive (HDD) storage, specify hdd.
  • For instance types with solid state drive (SSD) storage, specify ssd.
Default: hdd and ssd Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesInstanceRequirements_LocalStorageTypes
-InstanceRequirements_MaxSpotPriceAsPercentageOfOptimalOnDemandPrice <Int32>
[Price protection] The price protection threshold for Spot Instances, as a percentage of an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified price is from the lowest priced current generation instance types, and failing that, from the lowest priced previous generation instance types that match your attributes. When Amazon EC2 selects instance types with your attributes, it will exclude instance types whose price exceeds your specified threshold.The parameter accepts an integer, which Amazon EC2 interprets as a percentage.If you set TargetCapacityUnitType to vcpu or memory-mib, the price protection threshold is based on the per vCPU or per memory price instead of the per instance price.Only one of SpotMaxPricePercentageOverLowestPrice or MaxSpotPriceAsPercentageOfOptimalOnDemandPrice can be specified. If you don't specify either, Amazon EC2 will automatically apply optimal price protection to consistently select from a wide range of instance types. To indicate no price protection threshold for Spot Instances, meaning you want to consider all instance types that match your attributes, include one of these parameters and specify a high value, such as 999999.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-InstanceRequirements_MemoryGiBPerVCpu_Max <Double>
The maximum amount of memory per vCPU, in GiB. To specify no maximum limit, omit this parameter.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-InstanceRequirements_MemoryGiBPerVCpu_Min <Double>
The minimum amount of memory per vCPU, in GiB. To specify no minimum limit, omit this parameter.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-InstanceRequirements_MemoryMiB_Max <Int32>
The maximum amount of memory, in MiB. To specify no maximum limit, omit this parameter.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-InstanceRequirements_MemoryMiB_Min <Int32>
The minimum amount of memory, in MiB. To specify no minimum limit, specify 0.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-InstanceRequirements_NetworkBandwidthGbps_Max <Double>
The maximum amount of network bandwidth, in Gbps. To specify no maximum limit, omit this parameter.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-InstanceRequirements_NetworkBandwidthGbps_Min <Double>
The minimum amount of network bandwidth, in Gbps. To specify no minimum limit, omit this parameter.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-InstanceRequirements_NetworkInterfaceCount_Max <Int32>
The maximum number of network interfaces. To specify no maximum limit, omit this parameter.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-InstanceRequirements_NetworkInterfaceCount_Min <Int32>
The minimum number of network interfaces. To specify no minimum limit, omit this parameter.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-InstanceRequirements_OnDemandMaxPricePercentageOverLowestPrice <Int32>
[Price protection] The price protection threshold for On-Demand Instances, as a percentage higher than an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. When Amazon EC2 selects instance types with your attributes, it will exclude instance types whose price exceeds your specified threshold.The parameter accepts an integer, which Amazon EC2 interprets as a percentage.To indicate no price protection threshold, specify a high value, such as 999999.This parameter is not supported for GetSpotPlacementScores and GetInstanceTypesFromInstanceRequirements.If you set TargetCapacityUnitType to vcpu or memory-mib, the price protection threshold is applied based on the per-vCPU or per-memory price instead of the per-instance price.Default: 20
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-InstanceRequirements_RequireEncryptionInTransit <Boolean>
Specifies whether instance types must support encrypting in-transit traffic between instances. For more information, including the supported instance types, see Encryption in transit in the Amazon EC2 User Guide.Default: false
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-InstanceRequirements_RequireHibernateSupport <Boolean>
Indicates whether instance types must support hibernation for On-Demand Instances.This parameter is not supported for GetSpotPlacementScores.Default: false
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-InstanceRequirements_SpotMaxPricePercentageOverLowestPrice <Int32>
[Price protection] The price protection threshold for Spot Instances, as a percentage higher than an identified Spot price. The identified Spot price is the Spot price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified Spot price is from the lowest priced current generation instance types, and failing that, from the lowest priced previous generation instance types that match your attributes. When Amazon EC2 selects instance types with your attributes, it will exclude instance types whose Spot price exceeds your specified threshold.The parameter accepts an integer, which Amazon EC2 interprets as a percentage.If you set TargetCapacityUnitType to vcpu or memory-mib, the price protection threshold is applied based on the per-vCPU or per-memory price instead of the per-instance price.This parameter is not supported for GetSpotPlacementScores and GetInstanceTypesFromInstanceRequirements.Only one of SpotMaxPricePercentageOverLowestPrice or MaxSpotPriceAsPercentageOfOptimalOnDemandPrice can be specified. If you don't specify either, Amazon EC2 will automatically apply optimal price protection to consistently select from a wide range of instance types. To indicate no price protection threshold for Spot Instances, meaning you want to consider all instance types that match your attributes, include one of these parameters and specify a high value, such as 999999.Default: 100
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-InstanceRequirements_TotalLocalStorageGB_Max <Double>
The maximum amount of total local storage, in GB. To specify no maximum limit, omit this parameter.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-InstanceRequirements_TotalLocalStorageGB_Min <Double>
The minimum amount of total local storage, in GB. To specify no minimum limit, omit this parameter.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-InstanceRequirements_VCpuCount_Max <Int32>
The maximum number of vCPUs. To specify no maximum limit, omit this parameter.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-InstanceRequirements_VCpuCount_Min <Int32>
The minimum number of vCPUs. To specify no minimum limit, specify 0.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-InstanceTypeSpecification <ReservationFleetInstanceSpecification[]>
Information about the instance types for which to reserve the capacity. Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesInstanceTypeSpecifications
-Select <String>
Use the -Select parameter to control the cmdlet output. The default value is '*'. Specifying -Select '*' will result in the cmdlet returning the whole service response (Amazon.EC2.Model.CreateCapacityReservationFleetResponse). Specifying the name of a property of type Amazon.EC2.Model.CreateCapacityReservationFleetResponse will result in that property being returned. Specifying -Select '^ParameterName' will result in the cmdlet returning the selected cmdlet parameter value.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-TagSpecification <TagSpecification[]>
The tags to assign to the Capacity Reservation Fleet. The tags are automatically assigned to the Capacity Reservations in the Fleet. Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesTagSpecifications
Indicates the tenancy of the Capacity Reservation Fleet. All Capacity Reservations in the Fleet inherit this tenancy. The Capacity Reservation Fleet can have one of the following tenancy settings:
  • default - The Capacity Reservation Fleet is created on hardware that is shared with other Amazon Web Services accounts.
  • dedicated - The Capacity Reservations are created on single-tenant hardware that is dedicated to a single Amazon Web Services account.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-TotalTargetCapacity <Int32>
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 Total target capacity in the Amazon EC2 User Guide.
Required?True
Position?1
Accept pipeline input?True (ByValue, ByPropertyName)

Common Credential and Region Parameters

-AccessKey <String>
The AWS access key for the user account. This can be a temporary access key if the corresponding session token is supplied to the -SessionToken parameter.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAK
-Credential <AWSCredentials>
An AWSCredentials object instance containing access and secret key information, and optionally a token for session-based credentials.
Required?False
Position?Named
Accept pipeline input?True (ByValue, ByPropertyName)
-EndpointUrl <String>
The endpoint to make the call against.Note: This parameter is primarily for internal AWS use and is not required/should not be specified for normal usage. The cmdlets normally determine which endpoint to call based on the region specified to the -Region parameter or set as default in the shell (via Set-DefaultAWSRegion). Only specify this parameter if you must direct the call to a specific custom endpoint.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-NetworkCredential <PSCredential>
Used with SAML-based authentication when ProfileName references a SAML role profile. Contains the network credentials to be supplied during authentication with the configured identity provider's endpoint. This parameter is not required if the user's default network identity can or should be used during authentication.
Required?False
Position?Named
Accept pipeline input?True (ByValue, ByPropertyName)
-ProfileLocation <String>
Used to specify the name and location of the ini-format credential file (shared with the AWS CLI and other AWS SDKs)If this optional parameter is omitted this cmdlet will search the encrypted credential file used by the AWS SDK for .NET and AWS Toolkit for Visual Studio first. If the profile is not found then the cmdlet will search in the ini-format credential file at the default location: (user's home directory)\.aws\credentials.If this parameter is specified then this cmdlet will only search the ini-format credential file at the location given.As the current folder can vary in a shell or during script execution it is advised that you use specify a fully qualified path instead of a relative path.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAWSProfilesLocation, ProfilesLocation
-ProfileName <String>
The user-defined name of an AWS credentials or SAML-based role profile containing credential information. The profile is expected to be found in the secure credential file shared with the AWS SDK for .NET and AWS Toolkit for Visual Studio. You can also specify the name of a profile stored in the .ini-format credential file used with the AWS CLI and other AWS SDKs.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesStoredCredentials, AWSProfileName
-Region <Object>
The system name of an AWS region or an AWSRegion instance. This governs the endpoint that will be used when calling service operations. Note that the AWS resources referenced in a call are usually region-specific.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesRegionToCall
-SecretKey <String>
The AWS secret key for the user account. This can be a temporary secret key if the corresponding session token is supplied to the -SessionToken parameter.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesSK, SecretAccessKey
-SessionToken <String>
The session token if the access and secret keys are temporary session-based credentials.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesST

Outputs

This cmdlet returns an Amazon.EC2.Model.CreateCapacityReservationFleetResponse object containing multiple properties.

Supported Version

AWS Tools for PowerShell: 2.x.y.z