We recommend new projects start with resources from the AWS provider.
aws-native.ec2.CapacityReservationFleet
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Resource Type definition for AWS::EC2::CapacityReservationFleet
Example Usage
Example
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AwsNative = Pulumi.AwsNative;
return await Deployment.RunAsync(() => 
{
    var ec2CapacityReservationFleetCanary = new AwsNative.Ec2.CapacityReservationFleet("ec2CapacityReservationFleetCanary", new()
    {
        AllocationStrategy = "prioritized",
        InstanceTypeSpecifications = new[]
        {
            new AwsNative.Ec2.Inputs.CapacityReservationFleetInstanceTypeSpecificationArgs
            {
                InstanceType = "c4.large",
                InstancePlatform = "Linux/UNIX",
                AvailabilityZone = "us-east-1a",
                Weight = 1,
                Priority = 1,
            },
            new AwsNative.Ec2.Inputs.CapacityReservationFleetInstanceTypeSpecificationArgs
            {
                InstanceType = "c5.large",
                InstancePlatform = "Linux/UNIX",
                AvailabilityZone = "us-east-1a",
                Weight = 1,
                Priority = 2,
            },
        },
        Tenancy = AwsNative.Ec2.CapacityReservationFleetTenancy.Default,
        TotalTargetCapacity = 2,
        InstanceMatchCriteria = AwsNative.Ec2.CapacityReservationFleetInstanceMatchCriteria.Open,
    });
});
package main
import (
	"github.com/pulumi/pulumi-aws-native/sdk/go/aws/ec2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ec2.NewCapacityReservationFleet(ctx, "ec2CapacityReservationFleetCanary", &ec2.CapacityReservationFleetArgs{
			AllocationStrategy: pulumi.String("prioritized"),
			InstanceTypeSpecifications: ec2.CapacityReservationFleetInstanceTypeSpecificationArray{
				&ec2.CapacityReservationFleetInstanceTypeSpecificationArgs{
					InstanceType:     pulumi.String("c4.large"),
					InstancePlatform: pulumi.String("Linux/UNIX"),
					AvailabilityZone: pulumi.String("us-east-1a"),
					Weight:           pulumi.Float64(1),
					Priority:         pulumi.Int(1),
				},
				&ec2.CapacityReservationFleetInstanceTypeSpecificationArgs{
					InstanceType:     pulumi.String("c5.large"),
					InstancePlatform: pulumi.String("Linux/UNIX"),
					AvailabilityZone: pulumi.String("us-east-1a"),
					Weight:           pulumi.Float64(1),
					Priority:         pulumi.Int(2),
				},
			},
			Tenancy:               ec2.CapacityReservationFleetTenancyDefault,
			TotalTargetCapacity:   pulumi.Int(2),
			InstanceMatchCriteria: ec2.CapacityReservationFleetInstanceMatchCriteriaOpen,
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Coming soon!
import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";
const ec2CapacityReservationFleetCanary = new aws_native.ec2.CapacityReservationFleet("ec2CapacityReservationFleetCanary", {
    allocationStrategy: "prioritized",
    instanceTypeSpecifications: [
        {
            instanceType: "c4.large",
            instancePlatform: "Linux/UNIX",
            availabilityZone: "us-east-1a",
            weight: 1,
            priority: 1,
        },
        {
            instanceType: "c5.large",
            instancePlatform: "Linux/UNIX",
            availabilityZone: "us-east-1a",
            weight: 1,
            priority: 2,
        },
    ],
    tenancy: aws_native.ec2.CapacityReservationFleetTenancy.Default,
    totalTargetCapacity: 2,
    instanceMatchCriteria: aws_native.ec2.CapacityReservationFleetInstanceMatchCriteria.Open,
});
import pulumi
import pulumi_aws_native as aws_native
ec2_capacity_reservation_fleet_canary = aws_native.ec2.CapacityReservationFleet("ec2CapacityReservationFleetCanary",
    allocation_strategy="prioritized",
    instance_type_specifications=[
        {
            "instance_type": "c4.large",
            "instance_platform": "Linux/UNIX",
            "availability_zone": "us-east-1a",
            "weight": 1,
            "priority": 1,
        },
        {
            "instance_type": "c5.large",
            "instance_platform": "Linux/UNIX",
            "availability_zone": "us-east-1a",
            "weight": 1,
            "priority": 2,
        },
    ],
    tenancy=aws_native.ec2.CapacityReservationFleetTenancy.DEFAULT,
    total_target_capacity=2,
    instance_match_criteria=aws_native.ec2.CapacityReservationFleetInstanceMatchCriteria.OPEN)
Coming soon!
Create CapacityReservationFleet Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CapacityReservationFleet(name: string, args?: CapacityReservationFleetArgs, opts?: CustomResourceOptions);@overload
def CapacityReservationFleet(resource_name: str,
                             args: Optional[CapacityReservationFleetArgs] = None,
                             opts: Optional[ResourceOptions] = None)
@overload
def CapacityReservationFleet(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             allocation_strategy: Optional[str] = None,
                             end_date: Optional[str] = None,
                             instance_match_criteria: Optional[CapacityReservationFleetInstanceMatchCriteria] = None,
                             instance_type_specifications: Optional[Sequence[CapacityReservationFleetInstanceTypeSpecificationArgs]] = None,
                             no_remove_end_date: Optional[bool] = None,
                             remove_end_date: Optional[bool] = None,
                             tag_specifications: Optional[Sequence[CapacityReservationFleetTagSpecificationArgs]] = None,
                             tenancy: Optional[CapacityReservationFleetTenancy] = None,
                             total_target_capacity: Optional[int] = None)func NewCapacityReservationFleet(ctx *Context, name string, args *CapacityReservationFleetArgs, opts ...ResourceOption) (*CapacityReservationFleet, error)public CapacityReservationFleet(string name, CapacityReservationFleetArgs? args = null, CustomResourceOptions? opts = null)
public CapacityReservationFleet(String name, CapacityReservationFleetArgs args)
public CapacityReservationFleet(String name, CapacityReservationFleetArgs args, CustomResourceOptions options)
type: aws-native:ec2:CapacityReservationFleet
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args CapacityReservationFleetArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args CapacityReservationFleetArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args CapacityReservationFleetArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CapacityReservationFleetArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CapacityReservationFleetArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
CapacityReservationFleet Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The CapacityReservationFleet resource accepts the following input properties:
- AllocationStrategy string
- The strategy used by the Capacity Reservation Fleet to determine which of the specified instance types to use. Currently, only the - prioritizedallocation strategy is supported. For more information, see Allocation strategy in the Amazon EC2 User Guide .- Valid values: - prioritized
- EndDate string
- The date and time at which the Capacity Reservation Fleet expires. When the Capacity Reservation Fleet expires, its state changes to - expiredand 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:55and- 14:30:55on- 5/31/2019.
- InstanceMatch Pulumi.Criteria Aws Native. Ec2. Capacity Reservation Fleet Instance Match Criteria 
- 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 - openinstance 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.
- InstanceType List<Pulumi.Specifications Aws Native. Ec2. Inputs. Capacity Reservation Fleet Instance Type Specification> 
- Information about the instance types for which to reserve the capacity.
- NoRemove boolEnd Date 
- 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 truefor this paramater and specify the end date and time (in UTC time format) for the EndDate parameter.
- RemoveEnd boolDate 
- 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 truefor this paramater and omit the EndDate parameter.
- 
List<Pulumi.Aws Native. Ec2. Inputs. Capacity Reservation Fleet Tag Specification> 
- The tags to assign to the Capacity Reservation Fleet. The tags are automatically assigned to the Capacity Reservations in the Fleet.
- Tenancy
Pulumi.Aws Native. Ec2. Capacity Reservation Fleet Tenancy 
- 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 AWS accounts .
- dedicated- The Capacity Reservations are created on single-tenant hardware that is dedicated to a single AWS account .
 
- TotalTarget intCapacity 
- 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 .
- AllocationStrategy string
- The strategy used by the Capacity Reservation Fleet to determine which of the specified instance types to use. Currently, only the - prioritizedallocation strategy is supported. For more information, see Allocation strategy in the Amazon EC2 User Guide .- Valid values: - prioritized
- EndDate string
- The date and time at which the Capacity Reservation Fleet expires. When the Capacity Reservation Fleet expires, its state changes to - expiredand 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:55and- 14:30:55on- 5/31/2019.
- InstanceMatch CapacityCriteria Reservation Fleet Instance Match Criteria 
- 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 - openinstance 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.
- InstanceType []CapacitySpecifications Reservation Fleet Instance Type Specification Args 
- Information about the instance types for which to reserve the capacity.
- NoRemove boolEnd Date 
- 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 truefor this paramater and specify the end date and time (in UTC time format) for the EndDate parameter.
- RemoveEnd boolDate 
- 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 truefor this paramater and omit the EndDate parameter.
- 
[]CapacityReservation Fleet Tag Specification Args 
- The tags to assign to the Capacity Reservation Fleet. The tags are automatically assigned to the Capacity Reservations in the Fleet.
- Tenancy
CapacityReservation Fleet Tenancy 
- 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 AWS accounts .
- dedicated- The Capacity Reservations are created on single-tenant hardware that is dedicated to a single AWS account .
 
- TotalTarget intCapacity 
- 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 .
- allocationStrategy String
- The strategy used by the Capacity Reservation Fleet to determine which of the specified instance types to use. Currently, only the - prioritizedallocation strategy is supported. For more information, see Allocation strategy in the Amazon EC2 User Guide .- Valid values: - prioritized
- endDate String
- The date and time at which the Capacity Reservation Fleet expires. When the Capacity Reservation Fleet expires, its state changes to - expiredand 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:55and- 14:30:55on- 5/31/2019.
- instanceMatch CapacityCriteria Reservation Fleet Instance Match Criteria 
- 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 - openinstance 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.
- instanceType List<CapacitySpecifications Reservation Fleet Instance Type Specification> 
- Information about the instance types for which to reserve the capacity.
- noRemove BooleanEnd Date 
- 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 truefor this paramater and specify the end date and time (in UTC time format) for the EndDate parameter.
- removeEnd BooleanDate 
- 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 truefor this paramater and omit the EndDate parameter.
- 
List<CapacityReservation Fleet Tag Specification> 
- The tags to assign to the Capacity Reservation Fleet. The tags are automatically assigned to the Capacity Reservations in the Fleet.
- tenancy
CapacityReservation Fleet Tenancy 
- 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 AWS accounts .
- dedicated- The Capacity Reservations are created on single-tenant hardware that is dedicated to a single AWS account .
 
- totalTarget IntegerCapacity 
- 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 .
- allocationStrategy string
- The strategy used by the Capacity Reservation Fleet to determine which of the specified instance types to use. Currently, only the - prioritizedallocation strategy is supported. For more information, see Allocation strategy in the Amazon EC2 User Guide .- Valid values: - prioritized
- endDate string
- The date and time at which the Capacity Reservation Fleet expires. When the Capacity Reservation Fleet expires, its state changes to - expiredand 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:55and- 14:30:55on- 5/31/2019.
- instanceMatch CapacityCriteria Reservation Fleet Instance Match Criteria 
- 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 - openinstance 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.
- instanceType CapacitySpecifications Reservation Fleet Instance Type Specification[] 
- Information about the instance types for which to reserve the capacity.
- noRemove booleanEnd Date 
- 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 truefor this paramater and specify the end date and time (in UTC time format) for the EndDate parameter.
- removeEnd booleanDate 
- 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 truefor this paramater and omit the EndDate parameter.
- 
CapacityReservation Fleet Tag Specification[] 
- The tags to assign to the Capacity Reservation Fleet. The tags are automatically assigned to the Capacity Reservations in the Fleet.
- tenancy
CapacityReservation Fleet Tenancy 
- 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 AWS accounts .
- dedicated- The Capacity Reservations are created on single-tenant hardware that is dedicated to a single AWS account .
 
- totalTarget numberCapacity 
- 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 .
- allocation_strategy str
- The strategy used by the Capacity Reservation Fleet to determine which of the specified instance types to use. Currently, only the - prioritizedallocation strategy is supported. For more information, see Allocation strategy in the Amazon EC2 User Guide .- Valid values: - prioritized
- end_date str
- The date and time at which the Capacity Reservation Fleet expires. When the Capacity Reservation Fleet expires, its state changes to - expiredand 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:55and- 14:30:55on- 5/31/2019.
- instance_match_ Capacitycriteria Reservation Fleet Instance Match Criteria 
- 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 - openinstance 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.
- instance_type_ Sequence[Capacityspecifications Reservation Fleet Instance Type Specification Args] 
- Information about the instance types for which to reserve the capacity.
- no_remove_ boolend_ date 
- 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 truefor this paramater and specify the end date and time (in UTC time format) for the EndDate parameter.
- remove_end_ booldate 
- 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 truefor this paramater and omit the EndDate parameter.
- tag_specifications Sequence[CapacityReservation Fleet Tag Specification Args] 
- The tags to assign to the Capacity Reservation Fleet. The tags are automatically assigned to the Capacity Reservations in the Fleet.
- tenancy
CapacityReservation Fleet Tenancy 
- 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 AWS accounts .
- dedicated- The Capacity Reservations are created on single-tenant hardware that is dedicated to a single AWS account .
 
- total_target_ intcapacity 
- 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 .
- allocationStrategy String
- The strategy used by the Capacity Reservation Fleet to determine which of the specified instance types to use. Currently, only the - prioritizedallocation strategy is supported. For more information, see Allocation strategy in the Amazon EC2 User Guide .- Valid values: - prioritized
- endDate String
- The date and time at which the Capacity Reservation Fleet expires. When the Capacity Reservation Fleet expires, its state changes to - expiredand 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:55and- 14:30:55on- 5/31/2019.
- instanceMatch "open"Criteria 
- 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 - openinstance 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.
- instanceType List<Property Map>Specifications 
- Information about the instance types for which to reserve the capacity.
- noRemove BooleanEnd Date 
- 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 truefor this paramater and specify the end date and time (in UTC time format) for the EndDate parameter.
- removeEnd BooleanDate 
- 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 truefor this paramater and omit the EndDate parameter.
- List<Property Map>
- The tags to assign to the Capacity Reservation Fleet. The tags are automatically assigned to the Capacity Reservations in the Fleet.
- tenancy "default"
- 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 AWS accounts .
- dedicated- The Capacity Reservations are created on single-tenant hardware that is dedicated to a single AWS account .
 
- totalTarget NumberCapacity 
- 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 .
Outputs
All input properties are implicitly available as output properties. Additionally, the CapacityReservationFleet resource produces the following output properties:
- CapacityReservation stringFleet Id 
- The ID of the Capacity Reservation Fleet.
- Id string
- The provider-assigned unique ID for this managed resource.
- CapacityReservation stringFleet Id 
- The ID of the Capacity Reservation Fleet.
- Id string
- The provider-assigned unique ID for this managed resource.
- capacityReservation StringFleet Id 
- The ID of the Capacity Reservation Fleet.
- id String
- The provider-assigned unique ID for this managed resource.
- capacityReservation stringFleet Id 
- The ID of the Capacity Reservation Fleet.
- id string
- The provider-assigned unique ID for this managed resource.
- capacity_reservation_ strfleet_ id 
- The ID of the Capacity Reservation Fleet.
- id str
- The provider-assigned unique ID for this managed resource.
- capacityReservation StringFleet Id 
- The ID of the Capacity Reservation Fleet.
- id String
- The provider-assigned unique ID for this managed resource.
Supporting Types
CapacityReservationFleetInstanceMatchCriteria, CapacityReservationFleetInstanceMatchCriteriaArgs            
- Open
- open
- CapacityReservation Fleet Instance Match Criteria Open 
- open
- Open
- open
- Open
- open
- OPEN
- open
- "open"
- open
CapacityReservationFleetInstanceTypeSpecification, CapacityReservationFleetInstanceTypeSpecificationArgs            
- AvailabilityZone string
- The Availability Zone in which the Capacity Reservation Fleet reserves the capacity. A Capacity Reservation Fleet can't span Availability Zones. All instance type specifications that you specify for the Fleet must use the same Availability Zone.
- AvailabilityZone stringId 
- The ID of the Availability Zone in which the Capacity Reservation Fleet reserves the capacity. A Capacity Reservation Fleet can't span Availability Zones. All instance type specifications that you specify for the Fleet must use the same Availability Zone.
- EbsOptimized bool
- Indicates whether the Capacity Reservation Fleet supports EBS-optimized instances types. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using EBS-optimized instance types.
- InstancePlatform string
- The type of operating system for which the Capacity Reservation Fleet reserves capacity.
- InstanceType string
- The instance type for which the Capacity Reservation Fleet reserves capacity.
- Priority int
- The priority to assign to the instance type. This value is used to determine which of the instance types specified for the Fleet should be prioritized for use. A lower value indicates a high priority. For more information, see Instance type priority in the Amazon EC2 User Guide .
- Weight double
- The number of capacity units provided by the specified instance type. This value, together with the total target capacity that you specify for 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. - Valid Range: Minimum value of - 0.001. Maximum value of- 99.999.
- AvailabilityZone string
- The Availability Zone in which the Capacity Reservation Fleet reserves the capacity. A Capacity Reservation Fleet can't span Availability Zones. All instance type specifications that you specify for the Fleet must use the same Availability Zone.
- AvailabilityZone stringId 
- The ID of the Availability Zone in which the Capacity Reservation Fleet reserves the capacity. A Capacity Reservation Fleet can't span Availability Zones. All instance type specifications that you specify for the Fleet must use the same Availability Zone.
- EbsOptimized bool
- Indicates whether the Capacity Reservation Fleet supports EBS-optimized instances types. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using EBS-optimized instance types.
- InstancePlatform string
- The type of operating system for which the Capacity Reservation Fleet reserves capacity.
- InstanceType string
- The instance type for which the Capacity Reservation Fleet reserves capacity.
- Priority int
- The priority to assign to the instance type. This value is used to determine which of the instance types specified for the Fleet should be prioritized for use. A lower value indicates a high priority. For more information, see Instance type priority in the Amazon EC2 User Guide .
- Weight float64
- The number of capacity units provided by the specified instance type. This value, together with the total target capacity that you specify for 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. - Valid Range: Minimum value of - 0.001. Maximum value of- 99.999.
- availabilityZone String
- The Availability Zone in which the Capacity Reservation Fleet reserves the capacity. A Capacity Reservation Fleet can't span Availability Zones. All instance type specifications that you specify for the Fleet must use the same Availability Zone.
- availabilityZone StringId 
- The ID of the Availability Zone in which the Capacity Reservation Fleet reserves the capacity. A Capacity Reservation Fleet can't span Availability Zones. All instance type specifications that you specify for the Fleet must use the same Availability Zone.
- ebsOptimized Boolean
- Indicates whether the Capacity Reservation Fleet supports EBS-optimized instances types. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using EBS-optimized instance types.
- instancePlatform String
- The type of operating system for which the Capacity Reservation Fleet reserves capacity.
- instanceType String
- The instance type for which the Capacity Reservation Fleet reserves capacity.
- priority Integer
- The priority to assign to the instance type. This value is used to determine which of the instance types specified for the Fleet should be prioritized for use. A lower value indicates a high priority. For more information, see Instance type priority in the Amazon EC2 User Guide .
- weight Double
- The number of capacity units provided by the specified instance type. This value, together with the total target capacity that you specify for 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. - Valid Range: Minimum value of - 0.001. Maximum value of- 99.999.
- availabilityZone string
- The Availability Zone in which the Capacity Reservation Fleet reserves the capacity. A Capacity Reservation Fleet can't span Availability Zones. All instance type specifications that you specify for the Fleet must use the same Availability Zone.
- availabilityZone stringId 
- The ID of the Availability Zone in which the Capacity Reservation Fleet reserves the capacity. A Capacity Reservation Fleet can't span Availability Zones. All instance type specifications that you specify for the Fleet must use the same Availability Zone.
- ebsOptimized boolean
- Indicates whether the Capacity Reservation Fleet supports EBS-optimized instances types. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using EBS-optimized instance types.
- instancePlatform string
- The type of operating system for which the Capacity Reservation Fleet reserves capacity.
- instanceType string
- The instance type for which the Capacity Reservation Fleet reserves capacity.
- priority number
- The priority to assign to the instance type. This value is used to determine which of the instance types specified for the Fleet should be prioritized for use. A lower value indicates a high priority. For more information, see Instance type priority in the Amazon EC2 User Guide .
- weight number
- The number of capacity units provided by the specified instance type. This value, together with the total target capacity that you specify for 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. - Valid Range: Minimum value of - 0.001. Maximum value of- 99.999.
- availability_zone str
- The Availability Zone in which the Capacity Reservation Fleet reserves the capacity. A Capacity Reservation Fleet can't span Availability Zones. All instance type specifications that you specify for the Fleet must use the same Availability Zone.
- availability_zone_ strid 
- The ID of the Availability Zone in which the Capacity Reservation Fleet reserves the capacity. A Capacity Reservation Fleet can't span Availability Zones. All instance type specifications that you specify for the Fleet must use the same Availability Zone.
- ebs_optimized bool
- Indicates whether the Capacity Reservation Fleet supports EBS-optimized instances types. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using EBS-optimized instance types.
- instance_platform str
- The type of operating system for which the Capacity Reservation Fleet reserves capacity.
- instance_type str
- The instance type for which the Capacity Reservation Fleet reserves capacity.
- priority int
- The priority to assign to the instance type. This value is used to determine which of the instance types specified for the Fleet should be prioritized for use. A lower value indicates a high priority. For more information, see Instance type priority in the Amazon EC2 User Guide .
- weight float
- The number of capacity units provided by the specified instance type. This value, together with the total target capacity that you specify for 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. - Valid Range: Minimum value of - 0.001. Maximum value of- 99.999.
- availabilityZone String
- The Availability Zone in which the Capacity Reservation Fleet reserves the capacity. A Capacity Reservation Fleet can't span Availability Zones. All instance type specifications that you specify for the Fleet must use the same Availability Zone.
- availabilityZone StringId 
- The ID of the Availability Zone in which the Capacity Reservation Fleet reserves the capacity. A Capacity Reservation Fleet can't span Availability Zones. All instance type specifications that you specify for the Fleet must use the same Availability Zone.
- ebsOptimized Boolean
- Indicates whether the Capacity Reservation Fleet supports EBS-optimized instances types. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using EBS-optimized instance types.
- instancePlatform String
- The type of operating system for which the Capacity Reservation Fleet reserves capacity.
- instanceType String
- The instance type for which the Capacity Reservation Fleet reserves capacity.
- priority Number
- The priority to assign to the instance type. This value is used to determine which of the instance types specified for the Fleet should be prioritized for use. A lower value indicates a high priority. For more information, see Instance type priority in the Amazon EC2 User Guide .
- weight Number
- The number of capacity units provided by the specified instance type. This value, together with the total target capacity that you specify for 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. - Valid Range: Minimum value of - 0.001. Maximum value of- 99.999.
CapacityReservationFleetTag, CapacityReservationFleetTagArgs        
CapacityReservationFleetTagSpecification, CapacityReservationFleetTagSpecificationArgs          
- ResourceType string
- The type of resource to tag on creation. Specify - capacity-reservation-fleet.- To tag a resource after it has been created, see CreateTags . 
- 
List<Pulumi.Aws Native. Ec2. Inputs. Capacity Reservation Fleet Tag> 
- The tags to apply to the resource.
- ResourceType string
- The type of resource to tag on creation. Specify - capacity-reservation-fleet.- To tag a resource after it has been created, see CreateTags . 
- 
[]CapacityReservation Fleet Tag 
- The tags to apply to the resource.
- resourceType String
- The type of resource to tag on creation. Specify - capacity-reservation-fleet.- To tag a resource after it has been created, see CreateTags . 
- 
List<CapacityReservation Fleet Tag> 
- The tags to apply to the resource.
- resourceType string
- The type of resource to tag on creation. Specify - capacity-reservation-fleet.- To tag a resource after it has been created, see CreateTags . 
- 
CapacityReservation Fleet Tag[] 
- The tags to apply to the resource.
- resource_type str
- The type of resource to tag on creation. Specify - capacity-reservation-fleet.- To tag a resource after it has been created, see CreateTags . 
- 
Sequence[CapacityReservation Fleet Tag] 
- The tags to apply to the resource.
- resourceType String
- The type of resource to tag on creation. Specify - capacity-reservation-fleet.- To tag a resource after it has been created, see CreateTags . 
- List<Property Map>
- The tags to apply to the resource.
CapacityReservationFleetTenancy, CapacityReservationFleetTenancyArgs        
- Default
- default
- CapacityReservation Fleet Tenancy Default 
- default
- Default
- default
- Default
- default
- DEFAULT
- default
- "default"
- default
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.