You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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.

Instance Attribute Summary collapse

Instance Attribute Details

#idString

The unique identifier (ID) of the protection.

Returns:

  • (String)


406
407
408
409
410
411
# File 'gems/aws-sdk-shield/lib/aws-sdk-shield/types.rb', line 406

class Protection < Struct.new(
  :id,
  :name,
  :resource_arn)
  include Aws::Structure
end

#nameString

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

Returns:

  • (String)


406
407
408
409
410
411
# File 'gems/aws-sdk-shield/lib/aws-sdk-shield/types.rb', line 406

class Protection < Struct.new(
  :id,
  :name,
  :resource_arn)
  include Aws::Structure
end

#resource_arnString

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

Returns:

  • (String)


406
407
408
409
410
411
# File 'gems/aws-sdk-shield/lib/aws-sdk-shield/types.rb', line 406

class Protection < Struct.new(
  :id,
  :name,
  :resource_arn)
  include Aws::Structure
end