AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing DescribeProtectionRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  protection_id: "ProtectionId",
  resource_arn: "ResourceArn",
}

Instance Attribute Summary collapse

Instance Attribute Details

#protection_idString

The unique identifier (ID) for the Protection object that is described. When submitting the DescribeProtection request you must provide either the ResourceArn or the ProtectionID, but not both.

Returns:

  • (String)

    The unique identifier (ID) for the Protection object that is described.

#resource_arnString

The ARN (Amazon Resource Name) of the AWS resource for the Protection object that is described. When submitting the DescribeProtection request you must provide either the ResourceArn or the ProtectionID, but not both.

Returns:

  • (String)

    The ARN (Amazon Resource Name) of the AWS resource for the Protection object that is described.