Class: Aws::Route53GlobalResolver::Types::CreateFirewallRuleInput

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-route53globalresolver/lib/aws-sdk-route53globalresolver/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#actionString

The action that DNS Firewall should take on a DNS query when it matches one of the domains in the rule's domain list:

  • ALLOW - Permit the request to go through.

  • ALERT - Permit the request and send metrics and logs to CloudWatch.

  • BLOCK - Disallow the request. This option requires additional details in the rule's BlockResponse.

Returns:

  • (String)


1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
# File 'gems/aws-sdk-route53globalresolver/lib/aws-sdk-route53globalresolver/types.rb', line 1341

class CreateFirewallRuleInput < Struct.new(
  :action,
  :block_override_dns_type,
  :block_override_domain,
  :block_override_ttl,
  :block_response,
  :client_token,
  :confidence_threshold,
  :description,
  :dns_advanced_protection,
  :firewall_domain_list_id,
  :name,
  :priority,
  :dns_view_id,
  :q_type)
  SENSITIVE = []
  include Aws::Structure
end

#block_override_dns_typeString

The DNS record's type. This determines the format of the record value that you provided in BlockOverrideDomain. Used for the rule action BLOCK with a BlockResponse setting of OVERRIDE.

This setting is required if the BlockResponse setting is OVERRIDE.

Returns:

  • (String)


1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
# File 'gems/aws-sdk-route53globalresolver/lib/aws-sdk-route53globalresolver/types.rb', line 1341

class CreateFirewallRuleInput < Struct.new(
  :action,
  :block_override_dns_type,
  :block_override_domain,
  :block_override_ttl,
  :block_response,
  :client_token,
  :confidence_threshold,
  :description,
  :dns_advanced_protection,
  :firewall_domain_list_id,
  :name,
  :priority,
  :dns_view_id,
  :q_type)
  SENSITIVE = []
  include Aws::Structure
end

#block_override_domainString

The custom DNS record to send back in response to the query. Used for the rule action BLOCK with a BlockResponse setting of OVERRIDE.

This setting is required if the BlockResponse setting is OVERRIDE.

Returns:

  • (String)


1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
# File 'gems/aws-sdk-route53globalresolver/lib/aws-sdk-route53globalresolver/types.rb', line 1341

class CreateFirewallRuleInput < Struct.new(
  :action,
  :block_override_dns_type,
  :block_override_domain,
  :block_override_ttl,
  :block_response,
  :client_token,
  :confidence_threshold,
  :description,
  :dns_advanced_protection,
  :firewall_domain_list_id,
  :name,
  :priority,
  :dns_view_id,
  :q_type)
  SENSITIVE = []
  include Aws::Structure
end

#block_override_ttlInteger

The recommended amount of time, in seconds, for the DNS resolver or web browser to cache the provided override record. Used for the rule action BLOCK with a BlockResponse setting of OVERRIDE.

This setting is required if the BlockResponse setting is OVERRIDE.

Returns:

  • (Integer)


1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
# File 'gems/aws-sdk-route53globalresolver/lib/aws-sdk-route53globalresolver/types.rb', line 1341

class CreateFirewallRuleInput < Struct.new(
  :action,
  :block_override_dns_type,
  :block_override_domain,
  :block_override_ttl,
  :block_response,
  :client_token,
  :confidence_threshold,
  :description,
  :dns_advanced_protection,
  :firewall_domain_list_id,
  :name,
  :priority,
  :dns_view_id,
  :q_type)
  SENSITIVE = []
  include Aws::Structure
end

#block_responseString

The response to return when the action is BLOCK. Valid values are NXDOMAIN (domain does not exist), NODATA (domain exists but no records), or OVERRIDE (return custom response).

Returns:

  • (String)


1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
# File 'gems/aws-sdk-route53globalresolver/lib/aws-sdk-route53globalresolver/types.rb', line 1341

class CreateFirewallRuleInput < Struct.new(
  :action,
  :block_override_dns_type,
  :block_override_domain,
  :block_override_ttl,
  :block_response,
  :client_token,
  :confidence_threshold,
  :description,
  :dns_advanced_protection,
  :firewall_domain_list_id,
  :name,
  :priority,
  :dns_view_id,
  :q_type)
  SENSITIVE = []
  include Aws::Structure
end

#client_tokenString

A unique, case-sensitive identifier to ensure idempotency. This means that making the same request multiple times with the same clientToken has the same result every time.

A suitable default value is auto-generated. You should normally not need to pass this option.

Returns:

  • (String)


1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
# File 'gems/aws-sdk-route53globalresolver/lib/aws-sdk-route53globalresolver/types.rb', line 1341

class CreateFirewallRuleInput < Struct.new(
  :action,
  :block_override_dns_type,
  :block_override_domain,
  :block_override_ttl,
  :block_response,
  :client_token,
  :confidence_threshold,
  :description,
  :dns_advanced_protection,
  :firewall_domain_list_id,
  :name,
  :priority,
  :dns_view_id,
  :q_type)
  SENSITIVE = []
  include Aws::Structure
end

#confidence_thresholdString

The confidence threshold for advanced threat detection. Valid values are HIGH, MEDIUM, or LOW, indicating the accuracy level required for threat detection.

Returns:

  • (String)


1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
# File 'gems/aws-sdk-route53globalresolver/lib/aws-sdk-route53globalresolver/types.rb', line 1341

class CreateFirewallRuleInput < Struct.new(
  :action,
  :block_override_dns_type,
  :block_override_domain,
  :block_override_ttl,
  :block_response,
  :client_token,
  :confidence_threshold,
  :description,
  :dns_advanced_protection,
  :firewall_domain_list_id,
  :name,
  :priority,
  :dns_view_id,
  :q_type)
  SENSITIVE = []
  include Aws::Structure
end

#descriptionString

An optional description for the firewall rule.

Returns:

  • (String)


1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
# File 'gems/aws-sdk-route53globalresolver/lib/aws-sdk-route53globalresolver/types.rb', line 1341

class CreateFirewallRuleInput < Struct.new(
  :action,
  :block_override_dns_type,
  :block_override_domain,
  :block_override_ttl,
  :block_response,
  :client_token,
  :confidence_threshold,
  :description,
  :dns_advanced_protection,
  :firewall_domain_list_id,
  :name,
  :priority,
  :dns_view_id,
  :q_type)
  SENSITIVE = []
  include Aws::Structure
end

#dns_advanced_protectionString

Whether to enable advanced DNS threat protection for this rule. Advanced protection can detect and block DNS tunneling and Domain Generation Algorithm (DGA) threats.

Returns:

  • (String)


1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
# File 'gems/aws-sdk-route53globalresolver/lib/aws-sdk-route53globalresolver/types.rb', line 1341

class CreateFirewallRuleInput < Struct.new(
  :action,
  :block_override_dns_type,
  :block_override_domain,
  :block_override_ttl,
  :block_response,
  :client_token,
  :confidence_threshold,
  :description,
  :dns_advanced_protection,
  :firewall_domain_list_id,
  :name,
  :priority,
  :dns_view_id,
  :q_type)
  SENSITIVE = []
  include Aws::Structure
end

#dns_view_idString

The ID of the DNS view to associate with this firewall rule.

Returns:

  • (String)


1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
# File 'gems/aws-sdk-route53globalresolver/lib/aws-sdk-route53globalresolver/types.rb', line 1341

class CreateFirewallRuleInput < Struct.new(
  :action,
  :block_override_dns_type,
  :block_override_domain,
  :block_override_ttl,
  :block_response,
  :client_token,
  :confidence_threshold,
  :description,
  :dns_advanced_protection,
  :firewall_domain_list_id,
  :name,
  :priority,
  :dns_view_id,
  :q_type)
  SENSITIVE = []
  include Aws::Structure
end

#firewall_domain_list_idString

The ID of the firewall domain list to use in this rule.

Returns:

  • (String)


1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
# File 'gems/aws-sdk-route53globalresolver/lib/aws-sdk-route53globalresolver/types.rb', line 1341

class CreateFirewallRuleInput < Struct.new(
  :action,
  :block_override_dns_type,
  :block_override_domain,
  :block_override_ttl,
  :block_response,
  :client_token,
  :confidence_threshold,
  :description,
  :dns_advanced_protection,
  :firewall_domain_list_id,
  :name,
  :priority,
  :dns_view_id,
  :q_type)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

A descriptive name for the firewall rule.

Returns:

  • (String)


1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
# File 'gems/aws-sdk-route53globalresolver/lib/aws-sdk-route53globalresolver/types.rb', line 1341

class CreateFirewallRuleInput < Struct.new(
  :action,
  :block_override_dns_type,
  :block_override_domain,
  :block_override_ttl,
  :block_response,
  :client_token,
  :confidence_threshold,
  :description,
  :dns_advanced_protection,
  :firewall_domain_list_id,
  :name,
  :priority,
  :dns_view_id,
  :q_type)
  SENSITIVE = []
  include Aws::Structure
end

#priorityInteger

The priority of this rule. Rules are evaluated in priority order, with lower numbers having higher priority. When a DNS query matches multiple rules, the rule with the highest priority (lowest number) is applied.

Returns:

  • (Integer)


1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
# File 'gems/aws-sdk-route53globalresolver/lib/aws-sdk-route53globalresolver/types.rb', line 1341

class CreateFirewallRuleInput < Struct.new(
  :action,
  :block_override_dns_type,
  :block_override_domain,
  :block_override_ttl,
  :block_response,
  :client_token,
  :confidence_threshold,
  :description,
  :dns_advanced_protection,
  :firewall_domain_list_id,
  :name,
  :priority,
  :dns_view_id,
  :q_type)
  SENSITIVE = []
  include Aws::Structure
end

#q_typeString

The DNS query type to match for this rule. Examples include A (IPv4 address), AAAA (IPv6 address), MX (mail exchange), or TXT (text record).

Returns:

  • (String)


1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
# File 'gems/aws-sdk-route53globalresolver/lib/aws-sdk-route53globalresolver/types.rb', line 1341

class CreateFirewallRuleInput < Struct.new(
  :action,
  :block_override_dns_type,
  :block_override_domain,
  :block_override_ttl,
  :block_response,
  :client_token,
  :confidence_threshold,
  :description,
  :dns_advanced_protection,
  :firewall_domain_list_id,
  :name,
  :priority,
  :dns_view_id,
  :q_type)
  SENSITIVE = []
  include Aws::Structure
end