Class CfnFirewallDomainList.Builder
java.lang.Object
software.amazon.awscdk.services.route53resolver.CfnFirewallDomainList.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFirewallDomainList>
- Enclosing class:
CfnFirewallDomainList
@Stability(Stable)
public static final class CfnFirewallDomainList.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFirewallDomainList>
A fluent builder for
CfnFirewallDomainList
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
domainFileUrl
(String domainFileUrl) The fully qualified URL or URI of the file stored in Amazon Simple Storage Service (Amazon S3) that contains the list of domains to import.A list of the domain lists that you have defined.The name of the domain list.A list of the tag keys and values that you want to associate with the domain list.
-
Method Details
-
create
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnFirewallDomainList.Builder
.
-
domainFileUrl
The fully qualified URL or URI of the file stored in Amazon Simple Storage Service (Amazon S3) that contains the list of domains to import.The file must be in an S3 bucket that's in the same Region as your DNS Firewall. The file must be a text file and must contain a single domain per line.
- Parameters:
domainFileUrl
- The fully qualified URL or URI of the file stored in Amazon Simple Storage Service (Amazon S3) that contains the list of domains to import. This parameter is required.- Returns:
this
-
domains
A list of the domain lists that you have defined.- Parameters:
domains
- A list of the domain lists that you have defined. This parameter is required.- Returns:
this
-
name
The name of the domain list.- Parameters:
name
- The name of the domain list. This parameter is required.- Returns:
this
-
tags
A list of the tag keys and values that you want to associate with the domain list.- Parameters:
tags
- A list of the tag keys and values that you want to associate with the domain list. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnFirewallDomainList>
- Returns:
- a newly built instance of
CfnFirewallDomainList
.
-