aws_ec2_capacity_block_reservation

Nivis 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_id
  • instance_platform
Optional arguments
  • region (defaults to null)
  • tags (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • arn
  • availability_zone
  • created_date
  • ebs_optimized
  • end_date
  • end_date_type
  • id
  • instance_count
  • instance_type
  • outpost_arn
  • placement_group_arn
  • reservation_type
  • start_date
  • tags_all
  • tenancy
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.