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)


2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/types.rb', line 2349

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)


2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/types.rb', line 2349

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)


2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/types.rb', line 2349

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)


2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/types.rb', line 2349

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)


2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/types.rb', line 2349

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)


2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/types.rb', line 2349

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)


2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
# File 'gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/types.rb', line 2349

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