Skip to content
Start here

Configurations

resource cloudflare_api_shield

required Expand Collapse
zone_id: String

Identifier.

auth_id_characteristics: List[Attributes]
name: String

The name of the characteristic field, i.e., the header or cookie name.

type: String

The type of characteristic.

computed Expand Collapse
id: String

Identifier.

cloudflare_api_shield

resource "cloudflare_api_shield" "example_api_shield" {
  zone_id = "023e105f4ecef8ad9ca31a8372d0c353"
  auth_id_characteristics = [{
    name = "authorization"
    type = "header"
  }]
}

data cloudflare_api_shield

required Expand Collapse
zone_id: String

Identifier.

optional Expand Collapse
normalize?: Bool

Ensures that the configuration is written or retrieved in normalized fashion

computed Expand Collapse
id: String

Identifier.

auth_id_characteristics: List[Attributes]
name: String

The name of the characteristic field, i.e., the header or cookie name.

type: String

The type of characteristic.

cloudflare_api_shield

data "cloudflare_api_shield" "example_api_shield" {
  zone_id = "023e105f4ecef8ad9ca31a8372d0c353"
  normalize = true
}