Class: Aws::Shield::Types::Limit

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

Overview

Specifies how many protections of a given type you can create.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#maxInteger

The maximum number of protections that can be created for the specified Type.

Returns:

  • (Integer)


1159
1160
1161
1162
1163
1164
# File 'gems/aws-sdk-shield/lib/aws-sdk-shield/types.rb', line 1159

class Limit < Struct.new(
  :type,
  :max)
  SENSITIVE = []
  include Aws::Structure
end

#typeString

The type of protection.

Returns:

  • (String)


1159
1160
1161
1162
1163
1164
# File 'gems/aws-sdk-shield/lib/aws-sdk-shield/types.rb', line 1159

class Limit < Struct.new(
  :type,
  :max)
  SENSITIVE = []
  include Aws::Structure
end