aws_synthetics_canary

Nivis Nix constructor for the aws_synthetics_canary 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,
  artifact_s3_location,
  execution_role_arn,
  handler,
  runtime_version,
  delete_lambda ? null,
  failure_retention_period ? null,
  id ? null,
  kms_key_arn ? null,
  cfg_name ? null,
  region ? null,
  s3_bucket ? null,
  s3_key ? null,
  s3_version ? null,
  start_canary ? null,
  success_retention_period ? null,
  tags ? null,
  tags_all ? null,
  zip_file ? null,
  artifact_config ? null,
  run_config ? null,
  schedule ? null,
  vpc_config ? null,
  overrides ? {}
}
Required arguments
  • artifact_s3_location
  • execution_role_arn
  • handler
  • runtime_version
Optional arguments
  • delete_lambda (defaults to null)
  • failure_retention_period (defaults to null)
  • id (defaults to null)
  • kms_key_arn (defaults to null)
  • cfg_name (defaults to null)
  • region (defaults to null)
  • s3_bucket (defaults to null)
  • s3_key (defaults to null)
  • s3_version (defaults to null)
  • start_canary (defaults to null)
  • success_retention_period (defaults to null)
  • tags (defaults to null)
  • tags_all (defaults to null)
  • zip_file (defaults to null)
  • artifact_config (defaults to null)
  • run_config (defaults to null)
  • schedule (defaults to null)
  • vpc_config (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • arn
  • engine_arn
  • source_location_arn
  • status
  • timeline
Example
aws_synthetics_canary {
  name = "synthetics_canary";
  artifact_s3_location = …;  # required
  execution_role_arn = …;  # required
  handler = …;  # required
  runtime_version = …;  # required
}

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