Interface FirewallRuleDomain.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<FirewallRuleDomain.Builder,,FirewallRuleDomain> SdkBuilder<FirewallRuleDomain.Builder,,FirewallRuleDomain> SdkPojo
- Enclosing class:
FirewallRuleDomain
-
Method Summary
Modifier and TypeMethodDescriptionThe date and time when the domain was first observed and added, in RFC 3339 format.domainName(String domainName) The domain name.domainStatus(String domainStatus) The review status of the domain:domainStatus(FirewallDomainStatus domainStatus) The review status of the domain:last24HourRequests(Long last24HourRequests) The number of DNS requests observed for this domain in the last 24 hours.totalRequests(Long totalRequests) The total number of DNS requests observed for this domain since it was first added, including the requests in the look-back window that seeded the rule.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
domainName
The domain name.
- Parameters:
domainName- The domain name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainStatus
The review status of the domain:
-
OBSERVED- DNS Firewall saw the domain in the VPCs' DNS traffic and you haven't allowed or denied it. The look-back window seeds the initial observed domains. After that, a domain becomes observed when any DNS Firewall rule blocks a query for it from a VPC that uses the rule group, including rules in other rule groups, or when you remove it from the managed domain list withREMOVE. To keep observing new domains, place a rule that blocks the domains you haven't approved after the AutoAllowlist rule. Domains from the look-back period that keep being queried and aren't blocked move toALLOWEDwithin about a day after the rule is created. Observed domains aren't evaluated for safety, so review them before you allow them. -
ALLOWED- DNS Firewall allowed queries for the domain, whether or not the domain is in the rule's managed domain list. To get the domains in the managed domain list (the allowlist that the rule enforces), call ListFirewallRuleDomains withFirewallDomainListId. -
DENIED- The domain was denied with theDENYoperation of UpdateFirewallDomains, which also removes it from the managed domain list if it was there. A denied domain that is still queried and not blocked can move toALLOWED.
- Parameters:
domainStatus- The review status of the domain:-
OBSERVED- DNS Firewall saw the domain in the VPCs' DNS traffic and you haven't allowed or denied it. The look-back window seeds the initial observed domains. After that, a domain becomes observed when any DNS Firewall rule blocks a query for it from a VPC that uses the rule group, including rules in other rule groups, or when you remove it from the managed domain list withREMOVE. To keep observing new domains, place a rule that blocks the domains you haven't approved after the AutoAllowlist rule. Domains from the look-back period that keep being queried and aren't blocked move toALLOWEDwithin about a day after the rule is created. Observed domains aren't evaluated for safety, so review them before you allow them. -
ALLOWED- DNS Firewall allowed queries for the domain, whether or not the domain is in the rule's managed domain list. To get the domains in the managed domain list (the allowlist that the rule enforces), call ListFirewallRuleDomains withFirewallDomainListId. -
DENIED- The domain was denied with theDENYoperation of UpdateFirewallDomains, which also removes it from the managed domain list if it was there. A denied domain that is still queried and not blocked can move toALLOWED.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
domainStatus
The review status of the domain:
-
OBSERVED- DNS Firewall saw the domain in the VPCs' DNS traffic and you haven't allowed or denied it. The look-back window seeds the initial observed domains. After that, a domain becomes observed when any DNS Firewall rule blocks a query for it from a VPC that uses the rule group, including rules in other rule groups, or when you remove it from the managed domain list withREMOVE. To keep observing new domains, place a rule that blocks the domains you haven't approved after the AutoAllowlist rule. Domains from the look-back period that keep being queried and aren't blocked move toALLOWEDwithin about a day after the rule is created. Observed domains aren't evaluated for safety, so review them before you allow them. -
ALLOWED- DNS Firewall allowed queries for the domain, whether or not the domain is in the rule's managed domain list. To get the domains in the managed domain list (the allowlist that the rule enforces), call ListFirewallRuleDomains withFirewallDomainListId. -
DENIED- The domain was denied with theDENYoperation of UpdateFirewallDomains, which also removes it from the managed domain list if it was there. A denied domain that is still queried and not blocked can move toALLOWED.
- Parameters:
domainStatus- The review status of the domain:-
OBSERVED- DNS Firewall saw the domain in the VPCs' DNS traffic and you haven't allowed or denied it. The look-back window seeds the initial observed domains. After that, a domain becomes observed when any DNS Firewall rule blocks a query for it from a VPC that uses the rule group, including rules in other rule groups, or when you remove it from the managed domain list withREMOVE. To keep observing new domains, place a rule that blocks the domains you haven't approved after the AutoAllowlist rule. Domains from the look-back period that keep being queried and aren't blocked move toALLOWEDwithin about a day after the rule is created. Observed domains aren't evaluated for safety, so review them before you allow them. -
ALLOWED- DNS Firewall allowed queries for the domain, whether or not the domain is in the rule's managed domain list. To get the domains in the managed domain list (the allowlist that the rule enforces), call ListFirewallRuleDomains withFirewallDomainListId. -
DENIED- The domain was denied with theDENYoperation of UpdateFirewallDomains, which also removes it from the managed domain list if it was there. A denied domain that is still queried and not blocked can move toALLOWED.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
last24HourRequests
The number of DNS requests observed for this domain in the last 24 hours.
- Parameters:
last24HourRequests- The number of DNS requests observed for this domain in the last 24 hours.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
totalRequests
The total number of DNS requests observed for this domain since it was first added, including the requests in the look-back window that seeded the rule.
- Parameters:
totalRequests- The total number of DNS requests observed for this domain since it was first added, including the requests in the look-back window that seeded the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addedTime
The date and time when the domain was first observed and added, in RFC 3339 format.
- Parameters:
addedTime- The date and time when the domain was first observed and added, in RFC 3339 format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-