title: CloudFormation - Enable TTL for DynamoDB Create Table
body: <p>I'd like to enable TTL for my newly-created-table via CloudFormation. I've tried the following to no avail:</p>
  
  <pre><code>{
    "Resources" : {
      "mytable" : {
        "Type" : "AWS::DynamoDB::Table",
        "Properties" : {
          "TableName" : "my_table",
          "ProvisionedThroughput" : {"ReadCapacityUnits" : 1, "WriteCapacityUnits" : 5},
          "KeySchema" :
          [
            {"AttributeName" : "user_email", "KeyType" : "HASH"},
            {"AttributeName" : "datetime", "KeyType" : "RANGE"}
          ],
          "AttributeDefinitions": [
            {"AttributeName" : "user_email", "AttributeType" : "S"},
            {"AttributeName" : "datetime", "AttributeType" : "S"}
          ],
          "TimeToLiveDescription": {
            "AttributeName": "expire_at", 
            "TimeToLiveStatus": "ENABLED"
          }
        }
      }
  }
  </code></pre>
  
  <p>I used the TimeToLiveDescription, which I obtained from <a href="http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/time-to-live-ttl-how-to.html#time-to-live-ttl-how-to-enable-cli-sdk" rel="noreferrer">this doc</a>.</p>
  
  <p>Attempting to create the stack gave me the following error: </p>
  
  <pre><code>Encountered unsupported property TimeToLiveDescription
  </code></pre>