PARALLAX

dynamodb_ttl

Set TTL for a given DynamoDB table

Collection: community.aws

Full Name: community.aws.dynamodb_ttl

Synopsis

Set TTL for a given DynamoDB table

Parameters

NameTypeRequiredDefaultDescription
access_keystr
attribute_namestryes
aws_ca_bundlepath
aws_configdict
debug_botocore_endpoint_logsboolfalse
endpoint_urlstr
profilestr
regionstr
secret_keystr
session_tokenstr
statestr
table_namestryes
validate_certsbooltrue

Example

yaml
- name: enable TTL on my cowfacts table
  community.aws.dynamodb_ttl:
    state: enable
    table_name: cowfacts
    attribute_name: cow_deleted_date

- name: disable TTL on my cowfacts table
  community.aws.dynamodb_ttl:
    state: disable
    table_name: cowfacts
    attribute_name: cow_deleted_date
Search
    ↑ ↓ move↵ openesc close