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.
Using getStorageTierPolicy
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getStorageTierPolicy(args: GetStorageTierPolicyArgs, opts?: InvokeOptions): Promise<GetStorageTierPolicyResult>
function getStorageTierPolicyOutput(args: GetStorageTierPolicyOutputArgs, opts?: InvokeOutputOptions): Output<GetStorageTierPolicyResult>def get_storage_tier_policy(account_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetStorageTierPolicyResult
def get_storage_tier_policy_output(account_id: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetStorageTierPolicyResult]func LookupStorageTierPolicy(ctx *Context, args *LookupStorageTierPolicyArgs, opts ...InvokeOption) (*LookupStorageTierPolicyResult, error)
func LookupStorageTierPolicyOutput(ctx *Context, args *LookupStorageTierPolicyOutputArgs, opts ...InvokeOption) LookupStorageTierPolicyResultOutput> Note: This function is named LookupStorageTierPolicy in the Go SDK.
public static class GetStorageTierPolicy
{
public static Task<GetStorageTierPolicyResult> InvokeAsync(GetStorageTierPolicyArgs args, InvokeOptions? opts = null)
public static Output<GetStorageTierPolicyResult> Invoke(GetStorageTierPolicyInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetStorageTierPolicyResult> Invoke(GetStorageTierPolicyInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetStorageTierPolicyResult> getStorageTierPolicy(GetStorageTierPolicyArgs args, InvokeOptions options)
public static Output<GetStorageTierPolicyResult> getStorageTierPolicy(GetStorageTierPolicyArgs args, InvokeOptions options)
public static Output<GetStorageTierPolicyResult> getStorageTierPolicy(GetStorageTierPolicyArgs args, InvokeOutputOptions options)
fn::invoke:
function: aws-native:logs:getStorageTierPolicy
arguments:
# arguments dictionarydata "aws-native_logs_get_storage_tier_policy" "name" {
# arguments
}The following arguments are supported:
- Account
Id string - The AWS account ID that owns this storage tier policy.
- Account
Id string - The AWS account ID that owns this storage tier policy.
- account_
id string - The AWS account ID that owns this storage tier policy.
- account
Id String - The AWS account ID that owns this storage tier policy.
- account
Id string - The AWS account ID that owns this storage tier policy.
- account_
id str - The AWS account ID that owns this storage tier policy.
- account
Id String - The AWS account ID that owns this storage tier policy.
getStorageTierPolicy Result
The following output properties are available:
- Account
Id string - The AWS account ID that owns this storage tier policy.
- Last
Updated doubleTime - Timestamp (milliseconds after Jan 1, 1970 00:00:00 UTC) when the storage tier policy was last updated.
- Storage
Tier Pulumi.Aws Native. Logs. Storage Tier Policy Storage Tier - The storage tier to apply. Only INTELLIGENT_TIERING is accepted for creation.
- Account
Id string - The AWS account ID that owns this storage tier policy.
- Last
Updated float64Time - Timestamp (milliseconds after Jan 1, 1970 00:00:00 UTC) when the storage tier policy was last updated.
- Storage
Tier StorageTier Policy Storage Tier - The storage tier to apply. Only INTELLIGENT_TIERING is accepted for creation.
- account_
id string - The AWS account ID that owns this storage tier policy.
- last_
updated_ numbertime - Timestamp (milliseconds after Jan 1, 1970 00:00:00 UTC) when the storage tier policy was last updated.
- storage_
tier "INTELLIGENT_TIERING" - The storage tier to apply. Only INTELLIGENT_TIERING is accepted for creation.
- account
Id String - The AWS account ID that owns this storage tier policy.
- last
Updated DoubleTime - Timestamp (milliseconds after Jan 1, 1970 00:00:00 UTC) when the storage tier policy was last updated.
- storage
Tier StorageTier Policy Storage Tier - The storage tier to apply. Only INTELLIGENT_TIERING is accepted for creation.
- account
Id string - The AWS account ID that owns this storage tier policy.
- last
Updated numberTime - Timestamp (milliseconds after Jan 1, 1970 00:00:00 UTC) when the storage tier policy was last updated.
- storage
Tier StorageTier Policy Storage Tier - The storage tier to apply. Only INTELLIGENT_TIERING is accepted for creation.
- account_
id str - The AWS account ID that owns this storage tier policy.
- last_
updated_ floattime - Timestamp (milliseconds after Jan 1, 1970 00:00:00 UTC) when the storage tier policy was last updated.
- storage_
tier StorageTier Policy Storage Tier - The storage tier to apply. Only INTELLIGENT_TIERING is accepted for creation.
- account
Id String - The AWS account ID that owns this storage tier policy.
- last
Updated NumberTime - Timestamp (milliseconds after Jan 1, 1970 00:00:00 UTC) when the storage tier policy was last updated.
- storage
Tier "INTELLIGENT_TIERING" - The storage tier to apply. Only INTELLIGENT_TIERING is accepted for creation.
Supporting Types
StorageTierPolicyStorageTier
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