Class: Aws::Shield::Types::DescribeProtectionRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#protection_idString

The unique identifier (ID) for the Protection object to describe. You must provide either the ‘ResourceArn` of the protected resource or the `ProtectionID` of the protection, but not both.

Returns:

  • (String)


800
801
802
803
804
805
# File 'lib/aws-sdk-shield/types.rb', line 800

class DescribeProtectionRequest < Struct.new(
  :protection_id,
  :resource_arn)
  SENSITIVE = []
  include Aws::Structure
end

#resource_arnString

The ARN (Amazon Resource Name) of the protected Amazon Web Services resource. You must provide either the ‘ResourceArn` of the protected resource or the `ProtectionID` of the protection, but not both.

Returns:

  • (String)


800
801
802
803
804
805
# File 'lib/aws-sdk-shield/types.rb', line 800

class DescribeProtectionRequest < Struct.new(
  :protection_id,
  :resource_arn)
  SENSITIVE = []
  include Aws::Structure
end