Interface FirewallDomainListProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
FirewallDomainListProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:40.406Z")
@Stability(Experimental)
public interface FirewallDomainListProps
extends software.amazon.jsii.JsiiSerializable
(experimental) Properties for a Firewall Domain List.
Example:
FirewallDomainList blockList = FirewallDomainList.Builder.create(this, "BlockList") .domains(FirewallDomains.fromList(List.of("bad-domain.com", "bot-domain.net"))) .build(); FirewallDomainList s3List = FirewallDomainList.Builder.create(this, "S3List") .domains(FirewallDomains.fromS3Url("s3://bucket/prefix/object")) .build(); FirewallDomainList assetList = FirewallDomainList.Builder.create(this, "AssetList") .domains(FirewallDomains.fromAsset("/path/to/domains.txt")) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forFirewallDomainListProps
static final class
An implementation forFirewallDomainListProps
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDomains
(experimental) A list of domains. -
getName
(experimental) A name for the domain list.Default: - a CloudFormation generated name
-
builder
- Returns:
- a
FirewallDomainListProps.Builder
ofFirewallDomainListProps
-