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

#amount ⇒ Integer

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)


4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/types.rb', line 4475

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

#breach_action ⇒ String

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

Returns:

  • (String)


4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/types.rb', line 4475

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

#period ⇒ String

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

Returns:

  • (String)


4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/types.rb', line 4475

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

#resource_arn ⇒ String

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

Returns:

  • (String)


4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/types.rb', line 4475

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

#usage_limit_arn ⇒ String

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

Returns:

  • (String)


4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/types.rb', line 4475

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

#usage_limit_id ⇒ String

The identifier of the usage limit.

Returns:

  • (String)


4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/types.rb', line 4475

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

#usage_type ⇒ String

The Amazon Redshift Serverless feature to limit.

Returns:

  • (String)


4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/types.rb', line 4475

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