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.route53globalresolver.CfnGlobalResolver
All Implemented Interfaces:
IInspectable, IEnvironmentAware, IGlobalResolverRef, 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.771Z") @Stability(Stable) public class CfnGlobalResolver extends CfnResource implements IInspectable, IGlobalResolverRef, ITaggableV2
Resource schema for AWS::Route53GlobalResolver::GlobalResolver.

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.*;
 CfnGlobalResolver cfnGlobalResolver = CfnGlobalResolver.Builder.create(this, "MyCfnGlobalResolver")
         .name("name")
         .regions(List.of("regions"))
         // the properties below are optional
         .clientToken("clientToken")
         .description("description")
         .ipAddressType("ipAddressType")
         .observabilityRegion("observabilityRegion")
         .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

    • CfnGlobalResolver

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

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

      @Stability(Stable) public CfnGlobalResolver(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnGlobalResolverProps props)
      Create a new AWS::Route53GlobalResolver::GlobalResolver.

      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

    • arnForGlobalResolver

      @Stability(Stable) @NotNull public static String arnForGlobalResolver(@NotNull IGlobalResolverRef resource)
      Parameters:
      resource - This parameter is required.
    • isCfnGlobalResolver

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

      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()
    • getAttrDnsName

      @Stability(Stable) @NotNull public String getAttrDnsName()
    • getAttrGlobalResolverId

      @Stability(Stable) @NotNull public String getAttrGlobalResolverId()
    • getAttrIPv4Addresses

      @Stability(Stable) @NotNull public List<String> getAttrIPv4Addresses()
    • getAttrIPv6Addresses

      @Stability(Stable) @NotNull public List<String> getAttrIPv6Addresses()
    • 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
    • getGlobalResolverRef

      @Stability(Stable) @NotNull public GlobalResolverReference getGlobalResolverRef()
      A reference to a GlobalResolver resource.
      Specified by:
      getGlobalResolverRef in interface IGlobalResolverRef
    • getName

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

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

      @Stability(Stable) @NotNull public List<String> getRegions()
    • setRegions

      @Stability(Stable) public void setRegions(@NotNull List<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)
    • getIpAddressType

      @Stability(Stable) @Nullable public String getIpAddressType()
    • setIpAddressType

      @Stability(Stable) public void setIpAddressType(@Nullable String value)
    • getObservabilityRegion

      @Stability(Stable) @Nullable public String getObservabilityRegion()
    • setObservabilityRegion

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

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

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