Skip to content

aws.kms-alias resource

Description

Alias manages a friendly name that points at a KMS key. The alias name is the alias's identity: KMS has no rename, so a change to it replaces the alias. The target key can be re-pointed in place, and accepts either a key id or a key ARN, which KMS treats as the same key.

Source: internal/service/kms/alias_rsrc.go:22

Example usage:

imports: {
  aws: 'github.com/cloudboss/unobin-library-aws'
}

resources: {
  example: aws.kms-alias {
    # Set input fields here.
  }
}

Inputs

alias-name

string

required

target-key-id

string

required

Input Constraints

This kind declares no extra input constraints.

Outputs

arn

string

target-key-arn

string