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 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)
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,
});
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:
- Allocation
Strategy 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
- End
Date string 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 between13:30:55
and14:30:55
on5/31/2019
.- Instance
Match 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
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.- Instance
Type List<Pulumi.Specifications Aws Native. Ec2. Inputs. Capacity Reservation Fleet Instance Type Specification> - 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
true
for 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
true
for 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 .
- 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 .
- Allocation
Strategy 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
- End
Date string 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 between13:30:55
and14:30:55
on5/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
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.- Instance
Type []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
true
for 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
true
for this paramater and omit the EndDate parameter. - []Capacity
Reservation 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
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 .
- 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 .
- allocation
Strategy 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
- end
Date String 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 between13:30:55
and14:30:55
on5/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
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.- instance
Type List<CapacitySpecifications Reservation Fleet Instance Type Specification> - Information about the instance types for which to reserve the capacity.
- no
Remove 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
true
for this paramater and specify the end date and time (in UTC time format) for the EndDate parameter. - remove
End 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
true
for this paramater and omit the EndDate parameter. - List<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
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 .
- total
Target 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 .
- allocation
Strategy 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
- end
Date string 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 between13:30:55
and14:30:55
on5/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
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.- instance
Type CapacitySpecifications Reservation Fleet Instance Type Specification[] - Information about the instance types for which to reserve the capacity.
- no
Remove 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
true
for this paramater and specify the end date and time (in UTC time format) for the EndDate parameter. - remove
End 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
true
for this paramater and omit the EndDate parameter. - 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
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 .
- total
Target 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
prioritized
allocation 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
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 between13:30:55
and14:30:55
on5/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
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.- 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
true
for 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
true
for 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
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 .
- 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 .
- allocation
Strategy 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
- end
Date String 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 between13:30:55
and14:30:55
on5/31/2019
.- instance
Match "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
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.- instance
Type List<Property Map>Specifications - Information about the instance types for which to reserve the capacity.
- no
Remove 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
true
for this paramater and specify the end date and time (in UTC time format) for the EndDate parameter. - remove
End 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
true
for 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 .
- total
Target 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:
- Capacity
Reservation stringFleet Id - The ID of the Capacity Reservation Fleet.
- Id string
- The provider-assigned unique ID for this managed resource.
- Capacity
Reservation stringFleet Id - The ID of the Capacity Reservation Fleet.
- Id string
- The provider-assigned unique ID for this managed resource.
- capacity
Reservation StringFleet Id - The ID of the Capacity Reservation Fleet.
- id String
- The provider-assigned unique ID for this managed resource.
- capacity
Reservation 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.
- capacity
Reservation 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
- Capacity
Reservation Fleet Instance Match Criteria Open - open
- Open
- open
- Open
- open
- OPEN
- open
- "open"
- open
CapacityReservationFleetInstanceTypeSpecification, CapacityReservationFleetInstanceTypeSpecificationArgs
- Availability
Zone 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.
- Availability
Zone 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.
- 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 string - The type of operating system for which the Capacity Reservation Fleet reserves capacity.
- Instance
Type 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 of99.999
.
- Availability
Zone 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.
- Availability
Zone 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.
- 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 string - The type of operating system for which the Capacity Reservation Fleet reserves capacity.
- Instance
Type 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 of99.999
.
- availability
Zone 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.
- availability
Zone 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.
- ebs
Optimized 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.
- instance
Platform String - The type of operating system for which the Capacity Reservation Fleet reserves capacity.
- instance
Type 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 of99.999
.
- availability
Zone 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.
- availability
Zone 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.
- ebs
Optimized 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.
- instance
Platform string - The type of operating system for which the Capacity Reservation Fleet reserves capacity.
- instance
Type 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 of99.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 of99.999
.
- availability
Zone 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.
- availability
Zone 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.
- ebs
Optimized 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.
- instance
Platform String - The type of operating system for which the Capacity Reservation Fleet reserves capacity.
- instance
Type 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 of99.999
.
CapacityReservationFleetTag, CapacityReservationFleetTagArgs
CapacityReservationFleetTagSpecification, CapacityReservationFleetTagSpecificationArgs
- Resource
Type 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.
- Resource
Type string The type of resource to tag on creation. Specify
capacity-reservation-fleet
.To tag a resource after it has been created, see CreateTags .
- []Capacity
Reservation Fleet Tag - The tags to apply to the resource.
- resource
Type 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<Capacity
Reservation Fleet Tag> - The tags to apply to the resource.
- resource
Type string The type of resource to tag on creation. Specify
capacity-reservation-fleet
.To tag a resource after it has been created, see CreateTags .
- Capacity
Reservation 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[Capacity
Reservation Fleet Tag] - The tags to apply to the resource.
- resource
Type 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
- Capacity
Reservation 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.