The Create Directory Service Snapshots action will create snapshots for one or more AWS Directory Service directories.
For example, a snapshot can be created every day at 1am for all directories.
Please see Common Action Settings for a description of settings common to all action types.
Directory Identification Method
Indicates the selection method of the Directory Service directories to have snapshots created.
All - Creates snapshots for all volumes
By Directory Name - Creates snapshots for directories with the specified name
By Directory ID - Creates snapshots for the specified directory ID
Required when Directory Identification Method is set to "By Directory ID". Indicates the directory ID of the directory which will have snapshots created.
Required if Directory Identification Method is "By Directory Name". Indicates the name of the directory which will have snapshots created..
Optional. Name of the new snapshot. Macros can be used to include run-time data. See below.
The following macros can be used to include some run-time information.
Date of snapshot in year-month-day format
Time of snapshot in 24-hour format
Day of the week, as a short name.
Day of the week, as a long name.
Day of the month.
Week of the month, starting at day 1 of the month.
Day 1 - 7 is week 1
Day 8 - 14 is week 2
Day 15 - 21 is week 3
Day 22 - 28 is week 4
Day 29 - 31 is week 5
Week to the end of the month, ending at the last day of the month. For example, for a 31-day month:
Day 25 - 31 is week 1
Day 18 - 24 is week 2
Day 11 - 17 is week 3
Day 4 - 10 is week 4
Day 1 - 3 is week 5
Month of the year, as a short name.
Month of the year, as a long name.
ID of the directory
Name of the directory
Macros are case-sensitive. For example, $(Time) is not valid. $(TIME) must be used.
Amazon Commands Used
The following Amazon AWS commands are used. The access key should have permission to execute all of them.