Class: Aws::Shield::Types::Protection

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

Overview

An object that represents a resource that is under DDoS protection.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#application_layer_automatic_response_configurationTypes::ApplicationLayerAutomaticResponseConfiguration

The automatic application layer DDoS mitigation settings for the protection. This configuration determines whether Shield Advanced automatically manages rules in the web ACL in order to respond to application layer events that Shield Advanced determines to be DDoS attacks.



1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
# File 'gems/aws-sdk-shield/lib/aws-sdk-shield/types.rb', line 1637

class Protection < Struct.new(
  :id,
  :name,
  :resource_arn,
  :health_check_ids,
  :protection_arn,
  :application_layer_automatic_response_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#health_check_idsArray<String>

The unique identifier (ID) for the RouteĀ 53 health check that's associated with the protection.

Returns:

  • (Array<String>)


1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
# File 'gems/aws-sdk-shield/lib/aws-sdk-shield/types.rb', line 1637

class Protection < Struct.new(
  :id,
  :name,
  :resource_arn,
  :health_check_ids,
  :protection_arn,
  :application_layer_automatic_response_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#idString

The unique identifier (ID) of the protection.

Returns:

  • (String)


1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
# File 'gems/aws-sdk-shield/lib/aws-sdk-shield/types.rb', line 1637

class Protection < Struct.new(
  :id,
  :name,
  :resource_arn,
  :health_check_ids,
  :protection_arn,
  :application_layer_automatic_response_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The name of the protection. For example, My CloudFront distributions.

Returns:

  • (String)


1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
# File 'gems/aws-sdk-shield/lib/aws-sdk-shield/types.rb', line 1637

class Protection < Struct.new(
  :id,
  :name,
  :resource_arn,
  :health_check_ids,
  :protection_arn,
  :application_layer_automatic_response_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#protection_arnString

The ARN (Amazon Resource Name) of the protection.

Returns:

  • (String)


1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
# File 'gems/aws-sdk-shield/lib/aws-sdk-shield/types.rb', line 1637

class Protection < Struct.new(
  :id,
  :name,
  :resource_arn,
  :health_check_ids,
  :protection_arn,
  :application_layer_automatic_response_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#resource_arnString

The ARN (Amazon Resource Name) of the Amazon Web Services resource that is protected.

Returns:

  • (String)


1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
# File 'gems/aws-sdk-shield/lib/aws-sdk-shield/types.rb', line 1637

class Protection < Struct.new(
  :id,
  :name,
  :resource_arn,
  :health_check_ids,
  :protection_arn,
  :application_layer_automatic_response_configuration)
  SENSITIVE = []
  include Aws::Structure
end