aws_storagegateway_cached_iscsi_volume

Nivis Nix constructor for the aws_storagegateway_cached_iscsi_volume 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,
  gateway_arn,
  network_interface_id,
  target_name,
  volume_size_in_bytes,
  id ? null,
  kms_encrypted ? null,
  kms_key ? null,
  region ? null,
  snapshot_id ? null,
  source_volume_arn ? null,
  tags ? null,
  tags_all ? null,
  overrides ? {}
}
Required arguments
  • gateway_arn
  • network_interface_id
  • target_name
  • volume_size_in_bytes
Optional arguments
  • id (defaults to null)
  • kms_encrypted (defaults to null)
  • kms_key (defaults to null)
  • region (defaults to null)
  • snapshot_id (defaults to null)
  • source_volume_arn (defaults to null)
  • tags (defaults to null)
  • tags_all (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • arn
  • chap_enabled
  • lun_number
  • network_interface_port
  • target_arn
  • volume_arn
  • volume_id
Example
aws_storagegateway_cached_iscsi_volume {
  name = "storagegateway_cached_iscsi_volume";
  gateway_arn = …;  # required
  network_interface_id = …;  # required
  target_name = …;  # required
  volume_size_in_bytes = …;  # required
}

The reference for every provider is generated from the provider's own schema, not copied from its documentation.