We recommend new projects start with resources from the AWS provider.
published on Monday, Sep 28, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
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 dictionarydata "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.
- Breach
Action Pulumi.Aws Native. Redshift. Usage Limit Breach Action - The action that Amazon Redshift takes when the limit is reached. The default is log.
-
List<Pulumi.
Aws Native. Outputs. Tag> - A list of tag instances.
- Usage
Limit stringId - 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.
- Breach
Action UsageLimit Breach Action - The action that Amazon Redshift takes when the limit is reached. The default is log.
- Tag
- A list of tag instances.
- Usage
Limit stringId - 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.
- list(object)
- A list of tag instances.
- usage_
limit_ stringid - 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.
- breach
Action UsageLimit Breach Action - The action that Amazon Redshift takes when the limit is reached. The default is log.
- List<Tag>
- A list of tag instances.
- usage
Limit StringId - 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 UsageLimit Breach Action - The action that Amazon Redshift takes when the limit is reached. The default is log.
- Tag[]
- A list of tag instances.
- usage
Limit stringId - 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 UsageLimit Breach Action - The action that Amazon Redshift takes when the limit is reached. The default is log.
- Sequence[root_Tag]
- A list of tag instances.
- usage_
limit_ strid - 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.
- List<Property Map>
- A list of tag instances.
- usage
Limit StringId - The identifier of the usage limit.
Supporting Types
Tag
UsageLimitBreachAction
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 28, 2026 by Pulumi