1. Registry
  2. Packages
  3. AWS Cloud Control
  4. API Docs
  5. logs
  6. StorageTierPolicy

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.79.0
published on Monday, Sep 14, 2026 by Pulumi
aws-native logo aws-native logo

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.79.0
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:

    StorageTier Pulumi.AwsNative.Logs.StorageTierPolicyStorageTier
    The storage tier to apply. Only INTELLIGENT_TIERING is accepted for creation.
    StorageTier StorageTierPolicyStorageTier
    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.
    storageTier StorageTierPolicyStorageTier
    The storage tier to apply. Only INTELLIGENT_TIERING is accepted for creation.
    storageTier StorageTierPolicyStorageTier
    The storage tier to apply. Only INTELLIGENT_TIERING is accepted for creation.
    storage_tier StorageTierPolicyStorageTier
    The storage tier to apply. Only INTELLIGENT_TIERING is accepted for creation.
    storageTier "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:

    AccountId string
    The AWS account ID that owns this storage tier policy.
    Id string
    The provider-assigned unique ID for this managed resource.
    LastUpdatedTime double
    Timestamp (milliseconds after Jan 1, 1970 00:00:00 UTC) when the storage tier policy was last updated.
    AccountId string
    The AWS account ID that owns this storage tier policy.
    Id string
    The provider-assigned unique ID for this managed resource.
    LastUpdatedTime float64
    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_time number
    Timestamp (milliseconds after Jan 1, 1970 00:00:00 UTC) when the storage tier policy was last updated.
    accountId String
    The AWS account ID that owns this storage tier policy.
    id String
    The provider-assigned unique ID for this managed resource.
    lastUpdatedTime Double
    Timestamp (milliseconds after Jan 1, 1970 00:00:00 UTC) when the storage tier policy was last updated.
    accountId string
    The AWS account ID that owns this storage tier policy.
    id string
    The provider-assigned unique ID for this managed resource.
    lastUpdatedTime number
    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_time float
    Timestamp (milliseconds after Jan 1, 1970 00:00:00 UTC) when the storage tier policy was last updated.
    accountId String
    The AWS account ID that owns this storage tier policy.
    id String
    The provider-assigned unique ID for this managed resource.
    lastUpdatedTime Number
    Timestamp (milliseconds after Jan 1, 1970 00:00:00 UTC) when the storage tier policy was last updated.

    Supporting Types

    StorageTierPolicyStorageTier, StorageTierPolicyStorageTierArgs

    IntelligentTiering
    INTELLIGENT_TIERING
    StorageTierPolicyStorageTierIntelligentTiering
    INTELLIGENT_TIERING
    "INTELLIGENT_TIERING"
    INTELLIGENT_TIERING
    IntelligentTiering
    INTELLIGENT_TIERING
    IntelligentTiering
    INTELLIGENT_TIERING
    INTELLIGENT_TIERING
    INTELLIGENT_TIERING
    "INTELLIGENT_TIERING"
    INTELLIGENT_TIERING

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo aws-native logo

    We recommend new projects start with resources from the AWS provider.

    Viewing docs for AWS Cloud Control v1.79.0
    published on Monday, Sep 14, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial