Skip to content

Lists the details of a Protection object

Description

Lists the details of a Protection object.

Usage

shield_describe_protection(ProtectionId, ResourceArn)

Arguments

  • ProtectionId

    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.

  • ResourceArn

    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.

Value

A list with the following syntax:

list(
  Protection = list(
    Id = "string",
    Name = "string",
    ResourceArn = "string",
    HealthCheckIds = list(
      "string"
    ),
    ProtectionArn = "string",
    ApplicationLayerAutomaticResponseConfiguration = list(
      Status = "ENABLED"|"DISABLED",
      Action = list(
        Block = list(),
        Count = list()
      )
    )
  )
)

Request syntax

svc$describe_protection(
  ProtectionId = "string",
  ResourceArn = "string"
)