github.com/nathanielks/terraform@v0.6.1-0.20170509030759-13e1a62319dc/website/source/docs/providers/aws/d/kms_alias.html.markdown (about)

     1  ---
     2  layout: "aws"
     3  page_title: "AWS: aws_kms_alias"
     4  sidebar_current: "docs-aws-datasource-kms-alias"
     5  description: |-
     6    Get information on a AWS Key Management Service (KMS) Alias
     7  ---
     8  
     9  # aws\_kms\_alias
    10  
    11  Use this data source to get the ARN of a KMS key alias.
    12  By using this data source, you can reference key alias
    13  without having to hard code the ARN as input.
    14  
    15  ## Example Usage
    16  
    17  ```hcl
    18  data "aws_kms_alias" "s3" {
    19    name = "alias/aws/s3"
    20  }
    21  ```
    22  
    23  ## Argument Reference
    24  
    25  * `name` - (Required) The display name of the alias. The name must start with the word "alias" followed by a forward slash (alias/)
    26  
    27  ## Attributes Reference
    28  
    29  * `arn` - The Amazon Resource Name(ARN) of the key alias.
    30  * `target_key_id` - Key identifier pointed to by the alias.