AWS::Logs::StorageTierPolicy

Logs StorageTierPolicy

Resource Type definition for AWS::Logs::StorageTierPolicy. Manages the storage tier policy for a CloudWatch Logs account. When created, enables Intelligent-Tiering which automatically moves infrequently accessed log data to lower-cost storage tiers. Deleting this resource reverts the account to standard (single-tier) storage.

Properties

1 configurable property. 1 required. Click a row to see details.

Filter:
PropertyTypeFlags
StorageTier
string
Required

Return Values

Values returned after the resource is created. Access these with Fn::GetAtt.

AttributeTypeDescription
AccountIdstringThe AWS account ID that owns this storage tier policy.
LastUpdatedTimenumberTimestamp (milliseconds after Jan 1, 1970 00:00:00 UTC) when the storage tier policy was last updated.

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::Logs::StorageTierPolicy

Resources:
  MyResource:
    Type: AWS::Logs::StorageTierPolicy
    Properties:
      StorageTier: "INTELLIGENT_TIERING"

Required IAM Permissions

Permissions CloudFormation needs in your IAM role to manage this resource.

create

logs:PutStorageTierPolicylogs:GetStorageTierPolicy

read

logs:GetStorageTierPolicy

update

logs:PutStorageTierPolicylogs:GetStorageTierPolicy

delete

logs:PutStorageTierPolicylogs:GetStorageTierPolicy

list

logs:GetStorageTierPolicy

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Facts

ServiceLogs
Properties3
Required1
TaggingNot supported
Primary IDAccountId

Supported Operations

CreateReadUpdateDeleteList

External Links