Class CfnHostedZoneAssociation

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.CfnHostedZoneAssociation
All Implemented Interfaces:
IInspectable, IEnvironmentAware, IHostedZoneAssociationRef, 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.772Z") @Stability(Stable) public class CfnHostedZoneAssociation extends CfnResource implements IInspectable, IHostedZoneAssociationRef
Resource schema for AWS::Route53GlobalResolver::HostedZoneAssociation.

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.*;
 CfnHostedZoneAssociation cfnHostedZoneAssociation = CfnHostedZoneAssociation.Builder.create(this, "MyCfnHostedZoneAssociation")
         .hostedZoneId("hostedZoneId")
         .name("name")
         .resourceArn("resourceArn")
         .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

    • CfnHostedZoneAssociation

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

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

      @Stability(Stable) public CfnHostedZoneAssociation(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnHostedZoneAssociationProps props)
      Create a new AWS::Route53GlobalResolver::HostedZoneAssociation.

      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

    • isCfnHostedZoneAssociation

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

      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.
    • getAttrCreatedAt

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

      @Stability(Stable) @NotNull public String getAttrHostedZoneAssociationId()
    • getAttrHostedZoneName

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

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

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

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

      @Stability(Stable) @NotNull public HostedZoneAssociationReference getHostedZoneAssociationRef()
      A reference to a HostedZoneAssociation resource.
      Specified by:
      getHostedZoneAssociationRef in interface IHostedZoneAssociationRef
    • getHostedZoneId

      @Stability(Stable) @NotNull public String getHostedZoneId()
    • setHostedZoneId

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

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

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

      @Stability(Stable) @NotNull public String getResourceArn()
    • setResourceArn

      @Stability(Stable) public void setResourceArn(@NotNull String value)