Class: Aws::Redshift::Types::UsageLimit

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb

Overview

Describes a usage limit object for a cluster.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#amountInteger

The limit amount. If time-based, this amount is in minutes. If data-based, this amount is in terabytes (TB).

Returns:

  • (Integer)


12494
12495
12496
12497
12498
12499
12500
12501
12502
12503
12504
12505
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 12494

class UsageLimit < Struct.new(
  :usage_limit_id,
  :cluster_identifier,
  :feature_type,
  :limit_type,
  :amount,
  :period,
  :breach_action,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#breach_actionString

The action that Amazon Redshift takes when the limit is reached. Possible values are:

  • log - To log an event in a system table. The default is log.

  • emit-metric - To emit CloudWatch metrics.

  • disable - To disable the feature until the next usage period begins.

Returns:

  • (String)


12494
12495
12496
12497
12498
12499
12500
12501
12502
12503
12504
12505
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 12494

class UsageLimit < Struct.new(
  :usage_limit_id,
  :cluster_identifier,
  :feature_type,
  :limit_type,
  :amount,
  :period,
  :breach_action,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#cluster_identifierString

The identifier of the cluster with a usage limit.

Returns:

  • (String)


12494
12495
12496
12497
12498
12499
12500
12501
12502
12503
12504
12505
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 12494

class UsageLimit < Struct.new(
  :usage_limit_id,
  :cluster_identifier,
  :feature_type,
  :limit_type,
  :amount,
  :period,
  :breach_action,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#feature_typeString

The Amazon Redshift feature to which the limit applies.

Returns:

  • (String)


12494
12495
12496
12497
12498
12499
12500
12501
12502
12503
12504
12505
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 12494

class UsageLimit < Struct.new(
  :usage_limit_id,
  :cluster_identifier,
  :feature_type,
  :limit_type,
  :amount,
  :period,
  :breach_action,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#limit_typeString

The type of limit. Depending on the feature type, this can be based on a time duration or data size.

Returns:

  • (String)


12494
12495
12496
12497
12498
12499
12500
12501
12502
12503
12504
12505
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 12494

class UsageLimit < Struct.new(
  :usage_limit_id,
  :cluster_identifier,
  :feature_type,
  :limit_type,
  :amount,
  :period,
  :breach_action,
  :tags)
  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)


12494
12495
12496
12497
12498
12499
12500
12501
12502
12503
12504
12505
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 12494

class UsageLimit < Struct.new(
  :usage_limit_id,
  :cluster_identifier,
  :feature_type,
  :limit_type,
  :amount,
  :period,
  :breach_action,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#tagsArray<Types::Tag>

A list of tag instances.

Returns:



12494
12495
12496
12497
12498
12499
12500
12501
12502
12503
12504
12505
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 12494

class UsageLimit < Struct.new(
  :usage_limit_id,
  :cluster_identifier,
  :feature_type,
  :limit_type,
  :amount,
  :period,
  :breach_action,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#usage_limit_idString

The identifier of the usage limit.

Returns:

  • (String)


12494
12495
12496
12497
12498
12499
12500
12501
12502
12503
12504
12505
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 12494

class UsageLimit < Struct.new(
  :usage_limit_id,
  :cluster_identifier,
  :feature_type,
  :limit_type,
  :amount,
  :period,
  :breach_action,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end