aws redshift create-usage-limit
Creates a usage limit for a specified Amazon Redshift feature on a cluster. The usage limit is identified by the returned usage limit identifier
Options
Name | Description |
---|---|
--cluster-identifier <string> | The identifier of the cluster that you want to limit usage |
--feature-type <string> | The Amazon Redshift feature that you want to limit |
--limit-type <string> | 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 |
--amount <long> | 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 |
--period <string> | The time period that the amount applies to. A weekly period begins on Sunday. The default is monthly |
--breach-action <string> | The action that Amazon Redshift takes when the limit is reached. The default is log. For more information about this parameter, see UsageLimit |
--tags <list> | A list of tag instances |
--cli-input-json <string> | Performs service operation based on the JSON string provided. The JSON string follows the format provided by ``--generate-cli-skeleton``. If other arguments are provided on the command line, the CLI values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally |
--generate-cli-skeleton <string> | Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value ``input``, prints a sample input JSON that can be used as an argument for ``--cli-input-json``. If provided with the value ``output``, it validates the command inputs and returns a sample output JSON for that command |