AWS Native

v0.29.0 published on Thursday, Sep 8, 2022 by Pulumi

CapacityReservation

Resource Type definition for AWS::EC2::CapacityReservation

Create a CapacityReservation Resource

new CapacityReservation(name: string, args: CapacityReservationArgs, opts?: CustomResourceOptions);
@overload
def CapacityReservation(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        availability_zone: Optional[str] = None,
                        ebs_optimized: Optional[bool] = None,
                        end_date: Optional[str] = None,
                        end_date_type: Optional[str] = None,
                        ephemeral_storage: Optional[bool] = None,
                        instance_count: Optional[int] = None,
                        instance_match_criteria: Optional[str] = None,
                        instance_platform: Optional[str] = None,
                        instance_type: Optional[str] = None,
                        out_post_arn: Optional[str] = None,
                        placement_group_arn: Optional[str] = None,
                        tag_specifications: Optional[Sequence[CapacityReservationTagSpecificationArgs]] = None,
                        tenancy: Optional[str] = None)
@overload
def CapacityReservation(resource_name: str,
                        args: CapacityReservationArgs,
                        opts: Optional[ResourceOptions] = None)
func NewCapacityReservation(ctx *Context, name string, args CapacityReservationArgs, opts ...ResourceOption) (*CapacityReservation, error)
public CapacityReservation(string name, CapacityReservationArgs args, CustomResourceOptions? opts = null)
public CapacityReservation(String name, CapacityReservationArgs args)
public CapacityReservation(String name, CapacityReservationArgs args, CustomResourceOptions options)
type: aws-native:ec2:CapacityReservation
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args CapacityReservationArgs
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 CapacityReservationArgs
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 CapacityReservationArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args CapacityReservationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args CapacityReservationArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

CapacityReservation Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The CapacityReservation resource accepts the following input properties:

Outputs

All input properties are implicitly available as output properties. Additionally, the CapacityReservation resource produces the following output properties:

AvailableInstanceCount int
Id string

The provider-assigned unique ID for this managed resource.

TotalInstanceCount int
AvailableInstanceCount int
Id string

The provider-assigned unique ID for this managed resource.

TotalInstanceCount int
availableInstanceCount Integer
id String

The provider-assigned unique ID for this managed resource.

totalInstanceCount Integer
availableInstanceCount number
id string

The provider-assigned unique ID for this managed resource.

totalInstanceCount number
available_instance_count int
id str

The provider-assigned unique ID for this managed resource.

total_instance_count int
availableInstanceCount Number
id String

The provider-assigned unique ID for this managed resource.

totalInstanceCount Number

Supporting Types

CapacityReservationTag

Key string
Value string
Key string
Value string
key String
value String
key string
value string
key str
value str
key String
value String

CapacityReservationTagSpecification

Package Details

Repository
https://github.com/pulumi/pulumi-aws-native
License
Apache-2.0