aws_iam_user_ssh_keyNivis Nix constructor for the aws_iam_user_ssh_key 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,
encoding,
public_key,
username,
id ? null,
status ? null,
overrides ? {}
}Required arguments
encodingpublic_keyusername
Optional arguments
id(defaults tonull)status(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
fingerprintssh_public_key_id
Example
aws_iam_user_ssh_key {
name = "iam_user_ssh_key";
encoding = …; # required
public_key = …; # required
username = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.