Class: Aws::RedshiftServerless::Types::UsageLimit

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-redshiftserverless/types.rb

Overview

The usage limit object.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#amountInteger

The limit amount. If time-based, this amount is in RPUs consumed per hour. If data-based, this amount is in terabytes (TB). The value must be a positive number.

Returns:

  • (Integer)


2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
# File 'lib/aws-sdk-redshiftserverless/types.rb', line 2692

class UsageLimit < Struct.new(
  :amount,
  :breach_action,
  :period,
  :resource_arn,
  :usage_limit_arn,
  :usage_limit_id,
  :usage_type)
  SENSITIVE = []
  include Aws::Structure
end

#breach_actionString

The action that Amazon Redshift Serverless takes when the limit is reached.

Returns:

  • (String)


2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
# File 'lib/aws-sdk-redshiftserverless/types.rb', line 2692

class UsageLimit < Struct.new(
  :amount,
  :breach_action,
  :period,
  :resource_arn,
  :usage_limit_arn,
  :usage_limit_id,
  :usage_type)
  SENSITIVE = []
  include Aws::Structure
end

#periodString

The time period that the amount applies to. A weekly period begins on Sunday. The default is monthly.

Returns:

  • (String)


2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
# File 'lib/aws-sdk-redshiftserverless/types.rb', line 2692

class UsageLimit < Struct.new(
  :amount,
  :breach_action,
  :period,
  :resource_arn,
  :usage_limit_arn,
  :usage_limit_id,
  :usage_type)
  SENSITIVE = []
  include Aws::Structure
end

#resource_arnString

The Amazon Resource Name (ARN) that identifies the Amazon Redshift Serverless resource.

Returns:

  • (String)


2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
# File 'lib/aws-sdk-redshiftserverless/types.rb', line 2692

class UsageLimit < Struct.new(
  :amount,
  :breach_action,
  :period,
  :resource_arn,
  :usage_limit_arn,
  :usage_limit_id,
  :usage_type)
  SENSITIVE = []
  include Aws::Structure
end

#usage_limit_arnString

The Amazon Resource Name (ARN) of the resource associated with the usage limit.

Returns:

  • (String)


2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
# File 'lib/aws-sdk-redshiftserverless/types.rb', line 2692

class UsageLimit < Struct.new(
  :amount,
  :breach_action,
  :period,
  :resource_arn,
  :usage_limit_arn,
  :usage_limit_id,
  :usage_type)
  SENSITIVE = []
  include Aws::Structure
end

#usage_limit_idString

The identifier of the usage limit.

Returns:

  • (String)


2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
# File 'lib/aws-sdk-redshiftserverless/types.rb', line 2692

class UsageLimit < Struct.new(
  :amount,
  :breach_action,
  :period,
  :resource_arn,
  :usage_limit_arn,
  :usage_limit_id,
  :usage_type)
  SENSITIVE = []
  include Aws::Structure
end

#usage_typeString

The Amazon Redshift Serverless feature to limit.

Returns:

  • (String)


2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
# File 'lib/aws-sdk-redshiftserverless/types.rb', line 2692

class UsageLimit < Struct.new(
  :amount,
  :breach_action,
  :period,
  :resource_arn,
  :usage_limit_arn,
  :usage_limit_id,
  :usage_type)
  SENSITIVE = []
  include Aws::Structure
end