We recommend new projects start with resources from the AWS provider.
published on Monday, Sep 14, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
published on Monday, Sep 14, 2026 by Pulumi
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.
Create StorageTierPolicy Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new StorageTierPolicy(name: string, args: StorageTierPolicyArgs, opts?: CustomResourceOptions);@overload
def StorageTierPolicy(resource_name: str,
args: StorageTierPolicyArgs,
opts: Optional[ResourceOptions] = None)
@overload
def StorageTierPolicy(resource_name: str,
opts: Optional[ResourceOptions] = None,
storage_tier: Optional[StorageTierPolicyStorageTier] = None)func NewStorageTierPolicy(ctx *Context, name string, args StorageTierPolicyArgs, opts ...ResourceOption) (*StorageTierPolicy, error)public StorageTierPolicy(string name, StorageTierPolicyArgs args, CustomResourceOptions? opts = null)
public StorageTierPolicy(String name, StorageTierPolicyArgs args)
public StorageTierPolicy(String name, StorageTierPolicyArgs args, CustomResourceOptions options)
type: aws-native:logs:StorageTierPolicy
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "aws-native_logs_storage_tier_policy" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args StorageTierPolicyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args StorageTierPolicyArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args StorageTierPolicyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args StorageTierPolicyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args StorageTierPolicyArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
StorageTierPolicy Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The StorageTierPolicy resource accepts the following input properties:
- Storage
Tier Pulumi.Aws Native. Logs. Storage Tier Policy Storage Tier - The storage tier to apply. Only INTELLIGENT_TIERING is accepted for creation.
- Storage
Tier StorageTier Policy Storage Tier - The storage tier to apply. Only INTELLIGENT_TIERING is accepted for creation.
- storage_
tier "INTELLIGENT_TIERING" - The storage tier to apply. Only INTELLIGENT_TIERING is accepted for creation.
- storage
Tier StorageTier Policy Storage Tier - The storage tier to apply. Only INTELLIGENT_TIERING is accepted for creation.
- storage
Tier StorageTier Policy Storage Tier - The storage tier to apply. Only INTELLIGENT_TIERING is accepted for creation.
- storage_
tier StorageTier Policy Storage Tier - The storage tier to apply. Only INTELLIGENT_TIERING is accepted for creation.
- storage
Tier "INTELLIGENT_TIERING" - The storage tier to apply. Only INTELLIGENT_TIERING is accepted for creation.
Outputs
All input properties are implicitly available as output properties. Additionally, the StorageTierPolicy resource produces the following output properties:
- Account
Id string - The AWS account ID that owns this storage tier policy.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Updated doubleTime - Timestamp (milliseconds after Jan 1, 1970 00:00:00 UTC) when the storage tier policy was last updated.
- Account
Id string - The AWS account ID that owns this storage tier policy.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Updated float64Time - Timestamp (milliseconds after Jan 1, 1970 00:00:00 UTC) when the storage tier policy was last updated.
- account_
id string - The AWS account ID that owns this storage tier policy.
- id string
- The provider-assigned unique ID for this managed resource.
- last_
updated_ numbertime - Timestamp (milliseconds after Jan 1, 1970 00:00:00 UTC) when the storage tier policy was last updated.
- account
Id String - The AWS account ID that owns this storage tier policy.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Updated DoubleTime - Timestamp (milliseconds after Jan 1, 1970 00:00:00 UTC) when the storage tier policy was last updated.
- account
Id string - The AWS account ID that owns this storage tier policy.
- id string
- The provider-assigned unique ID for this managed resource.
- last
Updated numberTime - Timestamp (milliseconds after Jan 1, 1970 00:00:00 UTC) when the storage tier policy was last updated.
- account_
id str - The AWS account ID that owns this storage tier policy.
- id str
- The provider-assigned unique ID for this managed resource.
- last_
updated_ floattime - Timestamp (milliseconds after Jan 1, 1970 00:00:00 UTC) when the storage tier policy was last updated.
- account
Id String - The AWS account ID that owns this storage tier policy.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Updated NumberTime - Timestamp (milliseconds after Jan 1, 1970 00:00:00 UTC) when the storage tier policy was last updated.
Supporting Types
StorageTierPolicyStorageTier, StorageTierPolicyStorageTierArgs
- Intelligent
Tiering INTELLIGENT_TIERING
- Storage
Tier Policy Storage Tier Intelligent Tiering INTELLIGENT_TIERING
- "INTELLIGENT_TIERING"
INTELLIGENT_TIERING
- Intelligent
Tiering INTELLIGENT_TIERING
- Intelligent
Tiering INTELLIGENT_TIERING
- INTELLIGENT_TIERING
INTELLIGENT_TIERING
- "INTELLIGENT_TIERING"
INTELLIGENT_TIERING
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
published on Monday, Sep 14, 2026 by Pulumi