Data Source: azurermCdnFrontdoorFirewallPolicy
Use this data source to access information about an existing Front Door (standard/premium) Firewall Policy.
Example Usage
/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as azurerm from "./.gen/providers/azurerm";
/*The following providers are missing schema information and might need manual adjustments to synthesize correctly: azurerm.
For a more precise conversion please use the --provider flag in convert.*/
new azurerm.dataAzurermCdnFrontdoorFirewallPolicy.DataAzurermCdnFrontdoorFirewallPolicy(
this,
"example",
{
name: "examplecdnfdwafpolicy",
resource_group_name: "${azurerm_resource_group.example.name}",
}
);
Argument Reference
The following arguments are supported:
-
name
- (Required) The name of the Front Door Firewall Policy. -
resourceGroupName
- (Required) The name of the resource group.
Attributes Reference
The following attributes are exported:
-
id
- The ID of the Front Door Firewall Policy. -
enabled
- The enabled state of the Front Door Firewall Policy. -
frontendEndpointIds
- The Front Door Profiles frontend endpoints associated with this Front Door Firewall Policy. -
mode
- The Front Door Firewall Policy mode. -
redirectUrl
- The redirect URL for the client. -
skuName
- The sku's pricing tier for this Front Door Firewall Policy.
Timeouts
The timeouts
block allows you to specify timeouts for certain actions:
read
- (Defaults to 5 minutes) Used when retrieving the Front Door Firewall Policy.