DateTimeValue - AWS Billing and Cost Management
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

DateTimeValue

Represents a point in time that can be specified as either an absolute date (for example, "2025-07-01") or a relative time period using ISO 8601 duration format (for example, "-P3M" for three months ago).

Contents

type

The type of date/time value: ABSOLUTE for specific dates or RELATIVE for dynamic time periods.

Type: String

Valid Values: ABSOLUTE | RELATIVE

Required: Yes

value

The actual date/time value.

Type: String

Length Constraints: Minimum length of 0. Maximum length of 1024.

Pattern: [\S\s]*

Required: Yes

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: