Interface IFirewallDomainListProps
(experimental) Properties for a Firewall Domain List.
Namespace: Amazon.CDK.AWS.Route53Resolver.Alpha
Assembly: Amazon.CDK.AWS.Route53Resolver.Alpha.dll
Syntax (csharp)
public interface IFirewallDomainListProps
Syntax (vb)
Public Interface IFirewallDomainListProps
Remarks
Stability: Experimental
ExampleMetadata: infused
Examples
var blockList = new FirewallDomainList(this, "BlockList", new FirewallDomainListProps {
Domains = FirewallDomains.FromList(new [] { "bad-domain.com", "bot-domain.net" })
});
var s3List = new FirewallDomainList(this, "S3List", new FirewallDomainListProps {
Domains = FirewallDomains.FromS3Url("s3://bucket/prefix/object")
});
var assetList = new FirewallDomainList(this, "AssetList", new FirewallDomainListProps {
Domains = FirewallDomains.FromAsset("/path/to/domains.txt")
});
Synopsis
Properties
Domains | (experimental) A list of domains. |
Name | (experimental) A name for the domain list. |
Properties
Domains
(experimental) A list of domains.
FirewallDomains Domains { get; }
Property Value
Remarks
Stability: Experimental
Name
(experimental) A name for the domain list.
virtual string Name { get; }
Property Value
System.String
Remarks
Default: - a CloudFormation generated name
Stability: Experimental