@Generated(value="jsii-pacmak/1.60.0 (build ebcefe6)", date="2022-06-22T23:27:56.139Z") public class CfnFirewallDomainList extends CfnResource implements IInspectable
High-level information about a list of firewall domains for use in a AWS::Route53Resolver::FirewallRule . This is returned by GetFirewallDomainList .
To retrieve the domains that are defined for this domain list, call ListFirewallDomains .
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.route53resolver.*; CfnFirewallDomainList cfnFirewallDomainList = CfnFirewallDomainList.Builder.create(this, "MyCfnFirewallDomainList") .domainFileUrl("domainFileUrl") .domains(List.of("domains")) .name("name") .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .build();
Modifier and Type | Class and Description |
---|---|
static class |
CfnFirewallDomainList.Builder
A fluent builder for
CfnFirewallDomainList . |
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
IConstruct.Jsii$Default
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
Modifier | Constructor and Description |
---|---|
|
CfnFirewallDomainList(Construct scope,
java.lang.String id)
Create a new `AWS::Route53Resolver::FirewallDomainList`.
|
|
CfnFirewallDomainList(Construct scope,
java.lang.String id,
CfnFirewallDomainListProps props)
Create a new `AWS::Route53Resolver::FirewallDomainList`.
|
protected |
CfnFirewallDomainList(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnFirewallDomainList(software.amazon.jsii.JsiiObjectRef objRef) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAttrArn()
The Amazon Resource Name (ARN) of the firewall domain list.
|
java.lang.String |
getAttrCreationTime()
The date and time that the domain list was created, in Unix time format and Coordinated Universal Time (UTC).
|
java.lang.String |
getAttrCreatorRequestId()
A unique string defined by you to identify the request.
|
java.lang.Number |
getAttrDomainCount()
The number of domain names that are specified in the domain list.
|
java.lang.String |
getAttrId()
The ID of the domain list.
|
java.lang.String |
getAttrManagedOwnerName()
The owner of the list, used only for lists that are not managed by you.
|
java.lang.String |
getAttrModificationTime()
The date and time that the domain list was last modified, in Unix time format and Coordinated Universal Time (UTC).
|
java.lang.String |
getAttrStatus()
The status of the domain list.
|
java.lang.String |
getAttrStatusMessage()
Additional information about the status of the list, if available.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
getCfnProperties() |
java.lang.String |
getDomainFileUrl()
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.
|
java.util.List<java.lang.String> |
getDomains()
A list of the domain lists that you have defined.
|
java.lang.String |
getName()
The name of the domain list.
|
TagManager |
getTags()
A list of the tag keys and values that you want to associate with the domain list.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
renderProperties(java.util.Map<java.lang.String,java.lang.Object> props) |
void |
setDomainFileUrl(java.lang.String value)
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.
|
void |
setDomains(java.util.List<java.lang.String> value)
A list of the domain lists that you have defined.
|
void |
setName(java.lang.String value)
The name of the domain list.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validateProperties
getRef
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
public static final java.lang.String CFN_RESOURCE_TYPE_NAME
protected CfnFirewallDomainList(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnFirewallDomainList(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public CfnFirewallDomainList(Construct scope, java.lang.String id, CfnFirewallDomainListProps props)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.props
- - resource properties.public CfnFirewallDomainList(Construct scope, java.lang.String id)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.public void inspect(TreeInspector inspector)
inspect
in interface IInspectable
inspector
- - tree inspector to collect and process attributes. This parameter is required.protected java.util.Map<java.lang.String,java.lang.Object> renderProperties(java.util.Map<java.lang.String,java.lang.Object> props)
renderProperties
in class CfnResource
props
- This parameter is required.public java.lang.String getAttrArn()
public java.lang.String getAttrCreationTime()
public java.lang.String getAttrCreatorRequestId()
This allows you to retry failed requests without the risk of running the operation twice. This can be any unique string, for example, a timestamp.
public java.lang.Number getAttrDomainCount()
public java.lang.String getAttrId()
public java.lang.String getAttrManagedOwnerName()
For example, the managed domain list AWSManagedDomainsMalwareDomainList
has the managed owner name Route 53 Resolver DNS Firewall
.
public java.lang.String getAttrModificationTime()
public java.lang.String getAttrStatus()
public java.lang.String getAttrStatusMessage()
protected java.util.Map<java.lang.String,java.lang.Object> getCfnProperties()
getCfnProperties
in class CfnResource
public TagManager getTags()
public java.lang.String getDomainFileUrl()
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.
public void setDomainFileUrl(java.lang.String value)
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.
public java.util.List<java.lang.String> getDomains()
public void setDomains(java.util.List<java.lang.String> value)
public java.lang.String getName()
public void setName(java.lang.String value)