Usage Limit Args
    data class UsageLimitArgs(val amount: Output<Int>? = null, val breachAction: Output<String>? = null, val clusterIdentifier: Output<String>? = null, val featureType: Output<String>? = null, val limitType: Output<String>? = null, val period: Output<String>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<UsageLimitArgs> 
Creates a new Amazon Redshift Usage Limit.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.redshift.UsageLimit("example", {
    clusterIdentifier: exampleAwsRedshiftCluster.id,
    featureType: "concurrency-scaling",
    limitType: "time",
    amount: 60,
});Content copied to clipboard
import pulumi
import pulumi_aws as aws
example = aws.redshift.UsageLimit("example",
    cluster_identifier=example_aws_redshift_cluster["id"],
    feature_type="concurrency-scaling",
    limit_type="time",
    amount=60)Content copied to clipboard
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
    var example = new Aws.RedShift.UsageLimit("example", new()
    {
        ClusterIdentifier = exampleAwsRedshiftCluster.Id,
        FeatureType = "concurrency-scaling",
        LimitType = "time",
        Amount = 60,
    });
});Content copied to clipboard
package main
import (
	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/redshift"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := redshift.NewUsageLimit(ctx, "example", &redshift.UsageLimitArgs{
			ClusterIdentifier: pulumi.Any(exampleAwsRedshiftCluster.Id),
			FeatureType:       pulumi.String("concurrency-scaling"),
			LimitType:         pulumi.String("time"),
			Amount:            pulumi.Int(60),
		})
		if err != nil {
			return err
		}
		return nil
	})
}Content copied to clipboard
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.redshift.UsageLimit;
import com.pulumi.aws.redshift.UsageLimitArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        var example = new UsageLimit("example", UsageLimitArgs.builder()
            .clusterIdentifier(exampleAwsRedshiftCluster.id())
            .featureType("concurrency-scaling")
            .limitType("time")
            .amount(60)
            .build());
    }
}Content copied to clipboard
resources:
  example:
    type: aws:redshift:UsageLimit
    properties:
      clusterIdentifier: ${exampleAwsRedshiftCluster.id}
      featureType: concurrency-scaling
      limitType: time
      amount: 60Content copied to clipboard
Import
Using pulumi import, import Redshift usage limits using the id. For example:
$ pulumi import aws:redshift/usageLimit:UsageLimit example example-idContent copied to clipboard
Constructors
Functions
Properties
Link copied to clipboard
                The type of limit. Depending on the feature type, this can be based on a time duration or data size. If FeatureType is spectrum, then LimitType must be data-scanned. If FeatureType is concurrency-scaling, then LimitType must be time. If FeatureType is cross-region-datasharing, then LimitType must be data-scanned. Valid values are data-scanned, and time.