aws_synthetics_canaryNivis 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_locationexecution_role_arnhandlerruntime_version
Optional arguments
delete_lambda(defaults tonull)failure_retention_period(defaults tonull)id(defaults tonull)kms_key_arn(defaults tonull)cfg_name(defaults tonull)region(defaults tonull)s3_bucket(defaults tonull)s3_key(defaults tonull)s3_version(defaults tonull)start_canary(defaults tonull)success_retention_period(defaults tonull)tags(defaults tonull)tags_all(defaults tonull)zip_file(defaults tonull)artifact_config(defaults tonull)run_config(defaults tonull)schedule(defaults tonull)vpc_config(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
arnengine_arnsource_location_arnstatustimeline
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.