java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
All Implemented Interfaces:
IInspectable, IEnvironmentAware, IDnsViewRef, ITaggableV2, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)", date="2026-03-27T13:12:06.767Z") @Stability(Stable) public class CfnDnsView extends CfnResource implements IInspectable, IDnsViewRef, ITaggableV2
Resource schema for AWS::Route53GlobalResolver::DnsView.

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.route53globalresolver.*;
 CfnDnsView cfnDnsView = CfnDnsView.Builder.create(this, "MyCfnDnsView")
         .globalResolverId("globalResolverId")
         .name("name")
         // the properties below are optional
         .clientToken("clientToken")
         .description("description")
         .dnssecValidation("dnssecValidation")
         .ednsClientSubnet("ednsClientSubnet")
         .firewallRulesFailOpen("firewallRulesFailOpen")
         .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

    • CfnDnsView

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

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

      @Stability(Stable) public CfnDnsView(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnDnsViewProps props)
      Create a new AWS::Route53GlobalResolver::DnsView.

      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. This parameter is required.
  • Method Details

    • arnForDnsView

      @Stability(Stable) @NotNull public static String arnForDnsView(@NotNull IDnsViewRef resource)
      Parameters:
      resource - This parameter is required.
    • isCfnDnsView

      @Stability(Stable) @NotNull public static Boolean isCfnDnsView(@NotNull Object x)
      Checks whether the given object is a CfnDnsView.

      Parameters:
      x - This parameter is required.
    • 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()
    • getAttrCreatedAt

      @Stability(Stable) @NotNull public String getAttrCreatedAt()
    • getAttrDnsViewId

      @Stability(Stable) @NotNull public String getAttrDnsViewId()
    • getAttrStatus

      @Stability(Stable) @NotNull public String getAttrStatus()
    • getAttrUpdatedAt

      @Stability(Stable) @NotNull public String getAttrUpdatedAt()
    • getCdkTagManager

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

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

      @Stability(Stable) @NotNull public DnsViewReference getDnsViewRef()
      A reference to a DnsView resource.
      Specified by:
      getDnsViewRef in interface IDnsViewRef
    • getGlobalResolverId

      @Stability(Stable) @NotNull public String getGlobalResolverId()
    • setGlobalResolverId

      @Stability(Stable) public void setGlobalResolverId(@NotNull String value)
    • getName

      @Stability(Stable) @NotNull public String getName()
    • setName

      @Stability(Stable) public void setName(@NotNull String value)
    • getClientToken

      @Stability(Stable) @Nullable public String getClientToken()
    • setClientToken

      @Stability(Stable) public void setClientToken(@Nullable String value)
    • getDescription

      @Stability(Stable) @Nullable public String getDescription()
    • setDescription

      @Stability(Stable) public void setDescription(@Nullable String value)
    • getDnssecValidation

      @Stability(Stable) @Nullable public String getDnssecValidation()
    • setDnssecValidation

      @Stability(Stable) public void setDnssecValidation(@Nullable String value)
    • getEdnsClientSubnet

      @Stability(Stable) @Nullable public String getEdnsClientSubnet()
    • setEdnsClientSubnet

      @Stability(Stable) public void setEdnsClientSubnet(@Nullable String value)
    • getFirewallRulesFailOpen

      @Stability(Stable) @Nullable public String getFirewallRulesFailOpen()
    • setFirewallRulesFailOpen

      @Stability(Stable) public void setFirewallRulesFailOpen(@Nullable String value)
    • getTags

      @Stability(Stable) @Nullable public List<CfnTag> getTags()
    • setTags

      @Stability(Stable) public void setTags(@Nullable List<CfnTag> value)