Class: Aws::RedshiftServerless::Types::CreateUsageLimitRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#amountInteger

The limit amount. If time-based, this amount is in Redshift Processing Units (RPU) consumed per hour. If data-based, this amount is in terabytes (TB) of data transferred between Regions in cross-account sharing. The value must be a positive number.

Returns:

  • (Integer)


600
601
602
603
604
605
606
607
608
# File 'lib/aws-sdk-redshiftserverless/types.rb', line 600

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

#breach_actionString

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

Returns:

  • (String)


600
601
602
603
604
605
606
607
608
# File 'lib/aws-sdk-redshiftserverless/types.rb', line 600

class CreateUsageLimitRequest < Struct.new(
  :amount,
  :breach_action,
  :period,
  :resource_arn,
  :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)


600
601
602
603
604
605
606
607
608
# File 'lib/aws-sdk-redshiftserverless/types.rb', line 600

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

#resource_arnString

The Amazon Resource Name (ARN) of the Amazon Redshift Serverless resource to create the usage limit for.

Returns:

  • (String)


600
601
602
603
604
605
606
607
608
# File 'lib/aws-sdk-redshiftserverless/types.rb', line 600

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

#usage_typeString

The type of Amazon Redshift Serverless usage to create a usage limit for.

Returns:

  • (String)


600
601
602
603
604
605
606
607
608
# File 'lib/aws-sdk-redshiftserverless/types.rb', line 600

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