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

#health_check_idsArray<String>

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

Returns:

  • (Array<String>)


1131
1132
1133
1134
1135
1136
1137
1138
# File 'gems/aws-sdk-shield/lib/aws-sdk-shield/types.rb', line 1131

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

#idString

The unique identifier (ID) of the protection.

Returns:

  • (String)


1131
1132
1133
1134
1135
1136
1137
1138
# File 'gems/aws-sdk-shield/lib/aws-sdk-shield/types.rb', line 1131

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

#nameString

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

Returns:

  • (String)


1131
1132
1133
1134
1135
1136
1137
1138
# File 'gems/aws-sdk-shield/lib/aws-sdk-shield/types.rb', line 1131

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

#resource_arnString

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

Returns:

  • (String)


1131
1132
1133
1134
1135
1136
1137
1138
# File 'gems/aws-sdk-shield/lib/aws-sdk-shield/types.rb', line 1131

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