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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-redshiftserverless/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)


3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/types.rb', line 3478

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)


3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/types.rb', line 3478

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)


3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/types.rb', line 3478

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)


3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/types.rb', line 3478

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)


3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/types.rb', line 3478

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)


3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/types.rb', line 3478

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)


3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/types.rb', line 3478

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