github.com/jpreese/tflint@v0.19.2-0.20200908152133-b01686250fb6/rules/awsrules/models/mappings/kms.hcl (about)

     1  import = "aws-sdk-go/models/apis/kms/2014-11-01/api-2.json"
     2  
     3  mapping "aws_kms_alias" {
     4    name          = AliasNameType
     5    name_prefix   = any
     6    target_key_id = KeyIdType
     7  }
     8  
     9  mapping "aws_kms_external_key" {
    10    deletion_window_in_days = any
    11    description             = DescriptionType
    12    enabled                 = BooleanType
    13    key_material_base64     = any
    14    policy                  = PolicyType
    15    tags                    = TagList
    16    valid_to                = DateType
    17  }
    18  
    19  mapping "aws_kms_grant" {
    20    name                  = GrantNameType
    21    key_id                = KeyIdType
    22    grantee_principal     = PrincipalIdType
    23    operations            = GrantOperationList
    24    retiring_principal    = PrincipalIdType
    25    constraints           = GrantConstraints
    26    grant_creation_tokens = GrantTokenList
    27    retire_on_delete      = BooleanType
    28  }
    29  
    30  mapping "aws_kms_ciphertext" {
    31    plaintext = PlaintextType
    32    key_id    = KeyIdType
    33    context   = EncryptionContextType
    34  }
    35  
    36  mapping "aws_kms_key" {
    37    description             = DescriptionType
    38    key_usage               = KeyUsageType
    39    policy                  = PolicyType
    40    deletion_window_in_days = any
    41    is_enabled              = BooleanType
    42    enable_key_rotation     = BooleanType
    43    tags                    = TagList
    44  }