Class CfnFirewallDomainList

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.route53resolver.CfnFirewallDomainList
All Implemented Interfaces:
IInspectable, ITaggable, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.101.0 (build b95fe5d)", date="2024-07-11T03:46:00.652Z") @Stability(Stable) public class CfnFirewallDomainList extends CfnResource implements IInspectable, ITaggable
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();
 

See Also:
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String CFN_RESOURCE_TYPE_NAME
      The CloudFormation resource type name for this resource class.
  • Constructor Details

    • CfnFirewallDomainList

      protected CfnFirewallDomainList(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnFirewallDomainList

      protected CfnFirewallDomainList(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnFirewallDomainList

      @Stability(Stable) public CfnFirewallDomainList(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable CfnFirewallDomainListProps props)
      Parameters:
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). This parameter is required.
      props - Resource properties.
    • CfnFirewallDomainList

      @Stability(Stable) public CfnFirewallDomainList(@NotNull software.constructs.Construct scope, @NotNull String id)
      Parameters:
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). This parameter is required.
  • Method Details

    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      Parameters:
      inspector - tree inspector to collect and process attributes. This parameter is required.
    • renderProperties

      @Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
      Overrides:
      renderProperties in class CfnResource
      Parameters:
      props - This parameter is required.
    • getAttrArn

      @Stability(Stable) @NotNull public String getAttrArn()
      The Amazon Resource Name (ARN) of the firewall domain list.
    • getAttrCreationTime

      @Stability(Stable) @NotNull public String getAttrCreationTime()
      The date and time that the domain list was created, in Unix time format and Coordinated Universal Time (UTC).
    • getAttrCreatorRequestId

      @Stability(Stable) @NotNull public String getAttrCreatorRequestId()
      A unique string defined by you to identify the request.

      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.

    • getAttrDomainCount

      @Stability(Stable) @NotNull public Number getAttrDomainCount()
      The number of domain names that are specified in the domain list.
    • getAttrId

      @Stability(Stable) @NotNull public String getAttrId()
      The ID of the domain list.
    • getAttrManagedOwnerName

      @Stability(Stable) @NotNull public String getAttrManagedOwnerName()
      The owner of the list, used only for lists that are not managed by you.

      For example, the managed domain list AWSManagedDomainsMalwareDomainList has the managed owner name Route 53 Resolver DNS Firewall .

    • getAttrModificationTime

      @Stability(Stable) @NotNull public String getAttrModificationTime()
      The date and time that the domain list was last modified, in Unix time format and Coordinated Universal Time (UTC).
    • getAttrStatus

      @Stability(Stable) @NotNull public String getAttrStatus()
      The status of the domain list.
    • getAttrStatusMessage

      @Stability(Stable) @NotNull public String getAttrStatusMessage()
      Additional information about the status of the list, if available.
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getTags

      @Stability(Stable) @NotNull public TagManager getTags()
      Tag Manager which manages the tags for this resource.
      Specified by:
      getTags in interface ITaggable
    • getDomainFileUrl

      @Stability(Stable) @Nullable public 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.
    • setDomainFileUrl

      @Stability(Stable) public void setDomainFileUrl(@Nullable 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.
    • getDomains

      @Stability(Stable) @Nullable public List<String> getDomains()
      A list of the domain lists that you have defined.
    • setDomains

      @Stability(Stable) public void setDomains(@Nullable List<String> value)
      A list of the domain lists that you have defined.
    • getName

      @Stability(Stable) @Nullable public String getName()
      The name of the domain list.
    • setName

      @Stability(Stable) public void setName(@Nullable String value)
      The name of the domain list.
    • getTagsRaw

      @Stability(Stable) @Nullable public List<CfnTag> getTagsRaw()
      A list of the tag keys and values that you want to associate with the domain list.
    • setTagsRaw

      @Stability(Stable) public void setTagsRaw(@Nullable List<CfnTag> value)
      A list of the tag keys and values that you want to associate with the domain list.