1. Registry
  2. Packages
  3. AWS Cloud Control
  4. API Docs
  5. redshift
  6. getUsageLimit

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

Viewing docs for AWS Cloud Control v1.81.0
published on Monday, Sep 28, 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.81.0
published on Monday, Sep 28, 2026 by Pulumi

    Resource Type definition for AWS::Redshift::UsageLimit. Creates a usage limit for a specified Amazon Redshift feature on a cluster. The usage limit is identified by the returned usage limit identifier.

    Using getUsageLimit

    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 getUsageLimit(args: GetUsageLimitArgs, opts?: InvokeOptions): Promise<GetUsageLimitResult>
    function getUsageLimitOutput(args: GetUsageLimitOutputArgs, opts?: InvokeOutputOptions): Output<GetUsageLimitResult>
    def get_usage_limit(arn: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetUsageLimitResult
    def get_usage_limit_output(arn: pulumi.Input[Optional[str]] = None,
                        opts: Optional[InvokeOutputOptions] = None) -> Output[GetUsageLimitResult]
    func LookupUsageLimit(ctx *Context, args *LookupUsageLimitArgs, opts ...InvokeOption) (*LookupUsageLimitResult, error)
    func LookupUsageLimitOutput(ctx *Context, args *LookupUsageLimitOutputArgs, opts ...InvokeOption) LookupUsageLimitResultOutput

    > Note: This function is named LookupUsageLimit in the Go SDK.

    public static class GetUsageLimit 
    {
        public static Task<GetUsageLimitResult> InvokeAsync(GetUsageLimitArgs args, InvokeOptions? opts = null)
        public static Output<GetUsageLimitResult> Invoke(GetUsageLimitInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetUsageLimitResult> Invoke(GetUsageLimitInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetUsageLimitResult> getUsageLimit(GetUsageLimitArgs args, InvokeOptions options)
    public static Output<GetUsageLimitResult> getUsageLimit(GetUsageLimitArgs args, InvokeOptions options)
    public static Output<GetUsageLimitResult> getUsageLimit(GetUsageLimitArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: aws-native:redshift:getUsageLimit
      arguments:
        # arguments dictionary
    data "aws-native_redshift_get_usage_limit" "name" {
        # arguments
    }

    The following arguments are supported:

    Arn string
    The Amazon Resource Name (ARN) of the usage limit.
    Arn string
    The Amazon Resource Name (ARN) of the usage limit.
    arn string
    The Amazon Resource Name (ARN) of the usage limit.
    arn String
    The Amazon Resource Name (ARN) of the usage limit.
    arn string
    The Amazon Resource Name (ARN) of the usage limit.
    arn str
    The Amazon Resource Name (ARN) of the usage limit.
    arn String
    The Amazon Resource Name (ARN) of the usage limit.

    getUsageLimit Result

    The following output properties are available:

    Amount double
    The limit amount. If time-based, this amount is in minutes. If data-based, this amount is in terabytes (TB). The value must be a positive number.
    Arn string
    The Amazon Resource Name (ARN) of the usage limit.
    BreachAction Pulumi.AwsNative.Redshift.UsageLimitBreachAction
    The action that Amazon Redshift takes when the limit is reached. The default is log.
    Tags List<Pulumi.AwsNative.Outputs.Tag>
    A list of tag instances.
    UsageLimitId string
    The identifier of the usage limit.
    Amount float64
    The limit amount. If time-based, this amount is in minutes. If data-based, this amount is in terabytes (TB). The value must be a positive number.
    Arn string
    The Amazon Resource Name (ARN) of the usage limit.
    BreachAction UsageLimitBreachAction
    The action that Amazon Redshift takes when the limit is reached. The default is log.
    Tags Tag
    A list of tag instances.
    UsageLimitId string
    The identifier of the usage limit.
    amount number
    The limit amount. If time-based, this amount is in minutes. If data-based, this amount is in terabytes (TB). The value must be a positive number.
    arn string
    The Amazon Resource Name (ARN) of the usage limit.
    breach_action "log" | "emit-metric" | "disable"
    The action that Amazon Redshift takes when the limit is reached. The default is log.
    tags list(object)
    A list of tag instances.
    usage_limit_id string
    The identifier of the usage limit.
    amount Double
    The limit amount. If time-based, this amount is in minutes. If data-based, this amount is in terabytes (TB). The value must be a positive number.
    arn String
    The Amazon Resource Name (ARN) of the usage limit.
    breachAction UsageLimitBreachAction
    The action that Amazon Redshift takes when the limit is reached. The default is log.
    tags List<Tag>
    A list of tag instances.
    usageLimitId String
    The identifier of the usage limit.
    amount number
    The limit amount. If time-based, this amount is in minutes. If data-based, this amount is in terabytes (TB). The value must be a positive number.
    arn string
    The Amazon Resource Name (ARN) of the usage limit.
    breachAction UsageLimitBreachAction
    The action that Amazon Redshift takes when the limit is reached. The default is log.
    tags Tag[]
    A list of tag instances.
    usageLimitId string
    The identifier of the usage limit.
    amount float
    The limit amount. If time-based, this amount is in minutes. If data-based, this amount is in terabytes (TB). The value must be a positive number.
    arn str
    The Amazon Resource Name (ARN) of the usage limit.
    breach_action UsageLimitBreachAction
    The action that Amazon Redshift takes when the limit is reached. The default is log.
    tags Sequence[root_Tag]
    A list of tag instances.
    usage_limit_id str
    The identifier of the usage limit.
    amount Number
    The limit amount. If time-based, this amount is in minutes. If data-based, this amount is in terabytes (TB). The value must be a positive number.
    arn String
    The Amazon Resource Name (ARN) of the usage limit.
    breachAction "log" | "emit-metric" | "disable"
    The action that Amazon Redshift takes when the limit is reached. The default is log.
    tags List<Property Map>
    A list of tag instances.
    usageLimitId String
    The identifier of the usage limit.

    Supporting Types

    Tag

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    UsageLimitBreachAction

    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.81.0
    published on Monday, Sep 28, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial