AWS::Logs::StorageTierPolicyResource 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.
1 configurable property. 1 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
StorageTier | string | Required |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
AccountId | string | The AWS account ID that owns this storage tier policy. |
LastUpdatedTime | number | Timestamp (milliseconds after Jan 1, 1970 00:00:00 UTC) when the storage tier policy was last updated. |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::Logs::StorageTierPolicy
Resources:
MyResource:
Type: AWS::Logs::StorageTierPolicy
Properties:
StorageTier: "INTELLIGENT_TIERING"Permissions CloudFormation needs in your IAM role to manage this resource.
logs:PutStorageTierPolicylogs:GetStorageTierPolicylogs:GetStorageTierPolicylogs:PutStorageTierPolicylogs:GetStorageTierPolicylogs:PutStorageTierPolicylogs:GetStorageTierPolicylogs:GetStorageTierPolicyOur bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to NewsletterAccountId