aws_lightsail_lb_stickiness_policyNivis Nix constructor for the aws_lightsail_lb_stickiness_policy 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,
cookie_duration,
enabled,
lb_name,
id ? null,
region ? null,
overrides ? {}
}Required arguments
cookie_durationenabledlb_name
Optional arguments
id(defaults tonull)region(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
(none)
Example
aws_lightsail_lb_stickiness_policy {
name = "lightsail_lb_stickiness_policy";
cookie_duration = …; # required
enabled = …; # required
lb_name = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.