Skip to content

Sets the storage tier policy for the account

Description

Sets the storage tier policy for the account. When you set the storage tier to INTELLIGENT_TIERING, the service automatically moves log data to the most cost-effective storage tier based on access frequency.

Usage

cloudwatchlogs_put_storage_tier_policy(storageTier)

Arguments

  • storageTier

    [required] The storage tier to set for the account. Use INTELLIGENT_TIERING to automatically optimize storage costs by moving log data to the appropriate tier based on access frequency.

Value

A list with the following syntax:

list(
  storageTier = "STANDARD"|"INTELLIGENT_TIERING",
  lastUpdatedTime = 123
)

Request syntax

svc$put_storage_tier_policy(
  storageTier = "STANDARD"|"INTELLIGENT_TIERING"
)