aws_ec2_capacity_block_reservationNivis Nix constructor for the aws_ec2_capacity_block_reservation resource (provider aws). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.
Constructor
{
name,
capacity_block_offering_id,
instance_platform,
region ? null,
tags ? null,
timeouts ? null,
overrides ? {}
}Required arguments
capacity_block_offering_idinstance_platform
Optional arguments
region(defaults tonull)tags(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
arnavailability_zonecreated_dateebs_optimizedend_dateend_date_typeidinstance_countinstance_typeoutpost_arnplacement_group_arnreservation_typestart_datetags_alltenancy
Example
aws_ec2_capacity_block_reservation {
name = "ec2_capacity_block_reservation";
capacity_block_offering_id = …; # required
instance_platform = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.