Skip to content

Creates multiple DNS Firewall rules in the specified rule group

Description

Creates multiple DNS Firewall rules in the specified rule group.

Usage

route53resolver_batch_create_firewall_rule(CreateFirewallRuleEntries)

Arguments

  • CreateFirewallRuleEntries

    [required] The list of firewall rules to create.

Value

A list with the following syntax:

list(
  CreatedFirewallRules = list(
    list(
      FirewallRuleGroupId = "string",
      FirewallDomainListId = "string",
      FirewallThreatProtectionId = "string",
      Name = "string",
      Priority = 123,
      Action = "ALLOW"|"BLOCK"|"ALERT",
      BlockResponse = "NODATA"|"NXDOMAIN"|"OVERRIDE",
      BlockOverrideDomain = "string",
      BlockOverrideDnsType = "CNAME",
      BlockOverrideTtl = 123,
      CreatorRequestId = "string",
      CreationTime = "string",
      ModificationTime = "string",
      FirewallDomainRedirectionAction = "INSPECT_REDIRECTION_DOMAIN"|"TRUST_REDIRECTION_DOMAIN",
      Qtype = "string",
      DnsThreatProtection = "DGA"|"DNS_TUNNELING"|"DICTIONARY_DGA",
      ConfidenceThreshold = "LOW"|"MEDIUM"|"HIGH",
      FirewallRuleType = list(
        PartnerThreatProtection = list(
          Partner = "string"
        ),
        FirewallAdvancedContentCategory = list(
          Category = "string"
        ),
        FirewallAdvancedThreatCategory = list(
          Category = "string"
        ),
        DnsThreatProtection = list(
          Value = "string",
          ConfidenceThreshold = "LOW"|"MEDIUM"|"HIGH"
        )
      ),
      Status = "string",
      StatusMessage = "string"
    )
  ),
  CreateErrors = list(
    list(
      FirewallRule = list(
        CreatorRequestId = "string",
        FirewallRuleGroupId = "string",
        FirewallDomainListId = "string",
        Priority = 123,
        Action = "ALLOW"|"BLOCK"|"ALERT",
        BlockResponse = "NODATA"|"NXDOMAIN"|"OVERRIDE",
        BlockOverrideDomain = "string",
        BlockOverrideDnsType = "CNAME",
        BlockOverrideTtl = 123,
        Name = "string",
        FirewallDomainRedirectionAction = "INSPECT_REDIRECTION_DOMAIN"|"TRUST_REDIRECTION_DOMAIN",
        Qtype = "string",
        DnsThreatProtection = "DGA"|"DNS_TUNNELING"|"DICTIONARY_DGA",
        ConfidenceThreshold = "LOW"|"MEDIUM"|"HIGH",
        FirewallRuleType = list(
          PartnerThreatProtection = list(
            Partner = "string"
          ),
          FirewallAdvancedContentCategory = list(
            Category = "string"
          ),
          FirewallAdvancedThreatCategory = list(
            Category = "string"
          ),
          DnsThreatProtection = list(
            Value = "string",
            ConfidenceThreshold = "LOW"|"MEDIUM"|"HIGH"
          )
        )
      ),
      Code = "string",
      Message = "string"
    )
  )
)

Request syntax

svc$batch_create_firewall_rule(
  CreateFirewallRuleEntries = list(
    list(
      CreatorRequestId = "string",
      FirewallRuleGroupId = "string",
      FirewallDomainListId = "string",
      Priority = 123,
      Action = "ALLOW"|"BLOCK"|"ALERT",
      BlockResponse = "NODATA"|"NXDOMAIN"|"OVERRIDE",
      BlockOverrideDomain = "string",
      BlockOverrideDnsType = "CNAME",
      BlockOverrideTtl = 123,
      Name = "string",
      FirewallDomainRedirectionAction = "INSPECT_REDIRECTION_DOMAIN"|"TRUST_REDIRECTION_DOMAIN",
      Qtype = "string",
      DnsThreatProtection = "DGA"|"DNS_TUNNELING"|"DICTIONARY_DGA",
      ConfidenceThreshold = "LOW"|"MEDIUM"|"HIGH",
      FirewallRuleType = list(
        PartnerThreatProtection = list(
          Partner = "string"
        ),
        FirewallAdvancedContentCategory = list(
          Category = "string"
        ),
        FirewallAdvancedThreatCategory = list(
          Category = "string"
        ),
        DnsThreatProtection = list(
          Value = "string",
          ConfidenceThreshold = "LOW"|"MEDIUM"|"HIGH"
        )
      )
    )
  )
)