1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. route53globalresolver
  5. getHostedZoneAssociation

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.58.0
published on Monday, Mar 23, 2026 by Pulumi
aws-native logo

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.58.0
published on Monday, Mar 23, 2026 by Pulumi

    Resource schema for AWS::Route53GlobalResolver::HostedZoneAssociation

    Using getHostedZoneAssociation

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getHostedZoneAssociation(args: GetHostedZoneAssociationArgs, opts?: InvokeOptions): Promise<GetHostedZoneAssociationResult>
    function getHostedZoneAssociationOutput(args: GetHostedZoneAssociationOutputArgs, opts?: InvokeOptions): Output<GetHostedZoneAssociationResult>
    def get_hosted_zone_association(hosted_zone_association_id: Optional[str] = None,
                                    opts: Optional[InvokeOptions] = None) -> GetHostedZoneAssociationResult
    def get_hosted_zone_association_output(hosted_zone_association_id: Optional[pulumi.Input[str]] = None,
                                    opts: Optional[InvokeOptions] = None) -> Output[GetHostedZoneAssociationResult]
    func LookupHostedZoneAssociation(ctx *Context, args *LookupHostedZoneAssociationArgs, opts ...InvokeOption) (*LookupHostedZoneAssociationResult, error)
    func LookupHostedZoneAssociationOutput(ctx *Context, args *LookupHostedZoneAssociationOutputArgs, opts ...InvokeOption) LookupHostedZoneAssociationResultOutput

    > Note: This function is named LookupHostedZoneAssociation in the Go SDK.

    public static class GetHostedZoneAssociation 
    {
        public static Task<GetHostedZoneAssociationResult> InvokeAsync(GetHostedZoneAssociationArgs args, InvokeOptions? opts = null)
        public static Output<GetHostedZoneAssociationResult> Invoke(GetHostedZoneAssociationInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetHostedZoneAssociationResult> getHostedZoneAssociation(GetHostedZoneAssociationArgs args, InvokeOptions options)
    public static Output<GetHostedZoneAssociationResult> getHostedZoneAssociation(GetHostedZoneAssociationArgs args, InvokeOptions options)
    
    fn::invoke:
      function: aws-native:route53globalresolver:getHostedZoneAssociation
      arguments:
        # arguments dictionary

    The following arguments are supported:

    getHostedZoneAssociation Result

    The following output properties are available:

    Supporting Types

    HostedZoneAssociationStatus

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    We recommend new projects start with resources from the AWS provider.

    Viewing docs for AWS Cloud Control v1.58.0
    published on Monday, Mar 23, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.