pulumi_wasm_providers_aws_mini::ec2::capacity_reservation

Struct CapacityReservationResult

source
pub struct CapacityReservationResult {
Show 16 fields pub arn: Output<String>, pub availability_zone: Output<String>, pub ebs_optimized: Output<Option<bool>>, pub end_date: Output<Option<String>>, pub end_date_type: Output<Option<String>>, pub ephemeral_storage: Output<Option<bool>>, pub instance_count: Output<i32>, pub instance_match_criteria: Output<Option<String>>, pub instance_platform: Output<String>, pub instance_type: Output<String>, pub outpost_arn: Output<Option<String>>, pub owner_id: Output<String>, pub placement_group_arn: Output<Option<String>>, pub tags: Output<Option<HashMap<String, String>>>, pub tags_all: Output<HashMap<String, String>>, pub tenancy: Output<Option<String>>,
}

Fields§

§arn: Output<String>

The ARN of the Capacity Reservation.

§availability_zone: Output<String>

The Availability Zone in which to create the Capacity Reservation.

§ebs_optimized: Output<Option<bool>>

Indicates whether the Capacity Reservation supports EBS-optimized instances.

§end_date: Output<Option<String>>

The date and time at which the Capacity Reservation expires. When a Capacity Reservation expires, the reserved capacity is released and you can no longer launch instances into it. Valid values: RFC3339 time string (YYYY-MM-DDTHH:MM:SSZ)

§end_date_type: Output<Option<String>>

Indicates the way in which the Capacity Reservation ends. Specify either unlimited or limited.

§ephemeral_storage: Output<Option<bool>>

Indicates whether the Capacity Reservation supports instances with temporary, block-level storage.

§instance_count: Output<i32>

The number of instances for which to reserve capacity.

§instance_match_criteria: Output<Option<String>>

Indicates the type of instance launches that the Capacity Reservation accepts. Specify either open or targeted.

§instance_platform: Output<String>

The type of operating system for which to reserve capacity. Valid options are Linux/UNIX, Red Hat Enterprise Linux, SUSE Linux, Windows, Windows with SQL Server, Windows with SQL Server Enterprise, Windows with SQL Server Standard or Windows with SQL Server Web.

§instance_type: Output<String>

The instance type for which to reserve capacity.

§outpost_arn: Output<Option<String>>

The Amazon Resource Name (ARN) of the Outpost on which to create the Capacity Reservation.

§owner_id: Output<String>

The ID of the AWS account that owns the Capacity Reservation.

§placement_group_arn: Output<Option<String>>

The Amazon Resource Name (ARN) of the cluster placement group in which to create the Capacity Reservation.

§tags: Output<Option<HashMap<String, String>>>

A map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

§tags_all: Output<HashMap<String, String>>

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block

§tenancy: Output<Option<String>>

Indicates the tenancy of the Capacity Reservation. Specify either default or dedicated.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.