1. Packages
  2. AWS Native
  3. API Docs
  4. route53
  5. getHostedZone

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.97.0 published on Wednesday, Feb 21, 2024 by Pulumi

aws-native.route53.getHostedZone

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.97.0 published on Wednesday, Feb 21, 2024 by Pulumi

    Resource schema for AWS::Route53::HostedZone.

    Using getHostedZone

    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 getHostedZone(args: GetHostedZoneArgs, opts?: InvokeOptions): Promise<GetHostedZoneResult>
    function getHostedZoneOutput(args: GetHostedZoneOutputArgs, opts?: InvokeOptions): Output<GetHostedZoneResult>
    def get_hosted_zone(id: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetHostedZoneResult
    def get_hosted_zone_output(id: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetHostedZoneResult]
    func LookupHostedZone(ctx *Context, args *LookupHostedZoneArgs, opts ...InvokeOption) (*LookupHostedZoneResult, error)
    func LookupHostedZoneOutput(ctx *Context, args *LookupHostedZoneOutputArgs, opts ...InvokeOption) LookupHostedZoneResultOutput

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

    public static class GetHostedZone 
    {
        public static Task<GetHostedZoneResult> InvokeAsync(GetHostedZoneArgs args, InvokeOptions? opts = null)
        public static Output<GetHostedZoneResult> Invoke(GetHostedZoneInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetHostedZoneResult> getHostedZone(GetHostedZoneArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws-native:route53:getHostedZone
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    Id string
    id String
    id string
    id str
    id String

    getHostedZone Result

    The following output properties are available:

    HostedZoneConfig Pulumi.AwsNative.Route53.Outputs.HostedZoneConfig
    HostedZoneTags List<Pulumi.AwsNative.Route53.Outputs.HostedZoneTag>

    Adds, edits, or deletes tags for a health check or a hosted zone.

    For information about using tags for cost allocation, see Using Cost Allocation Tags in the AWS Billing and Cost Management User Guide.

    Id string
    NameServers List<string>
    QueryLoggingConfig Pulumi.AwsNative.Route53.Outputs.HostedZoneQueryLoggingConfig
    Vpcs List<Pulumi.AwsNative.Route53.Outputs.HostedZoneVpc>
    A complex type that contains information about the VPCs that are associated with the specified hosted zone.
    HostedZoneConfig HostedZoneConfig
    HostedZoneTags []HostedZoneTag

    Adds, edits, or deletes tags for a health check or a hosted zone.

    For information about using tags for cost allocation, see Using Cost Allocation Tags in the AWS Billing and Cost Management User Guide.

    Id string
    NameServers []string
    QueryLoggingConfig HostedZoneQueryLoggingConfig
    Vpcs []HostedZoneVpc
    A complex type that contains information about the VPCs that are associated with the specified hosted zone.
    hostedZoneConfig HostedZoneConfig
    hostedZoneTags List<HostedZoneTag>

    Adds, edits, or deletes tags for a health check or a hosted zone.

    For information about using tags for cost allocation, see Using Cost Allocation Tags in the AWS Billing and Cost Management User Guide.

    id String
    nameServers List<String>
    queryLoggingConfig HostedZoneQueryLoggingConfig
    vpcs List<HostedZoneVpc>
    A complex type that contains information about the VPCs that are associated with the specified hosted zone.
    hostedZoneConfig HostedZoneConfig
    hostedZoneTags HostedZoneTag[]

    Adds, edits, or deletes tags for a health check or a hosted zone.

    For information about using tags for cost allocation, see Using Cost Allocation Tags in the AWS Billing and Cost Management User Guide.

    id string
    nameServers string[]
    queryLoggingConfig HostedZoneQueryLoggingConfig
    vpcs HostedZoneVpc[]
    A complex type that contains information about the VPCs that are associated with the specified hosted zone.
    hosted_zone_config HostedZoneConfig
    hosted_zone_tags Sequence[HostedZoneTag]

    Adds, edits, or deletes tags for a health check or a hosted zone.

    For information about using tags for cost allocation, see Using Cost Allocation Tags in the AWS Billing and Cost Management User Guide.

    id str
    name_servers Sequence[str]
    query_logging_config HostedZoneQueryLoggingConfig
    vpcs Sequence[HostedZoneVpc]
    A complex type that contains information about the VPCs that are associated with the specified hosted zone.
    hostedZoneConfig Property Map
    hostedZoneTags List<Property Map>

    Adds, edits, or deletes tags for a health check or a hosted zone.

    For information about using tags for cost allocation, see Using Cost Allocation Tags in the AWS Billing and Cost Management User Guide.

    id String
    nameServers List<String>
    queryLoggingConfig Property Map
    vpcs List<Property Map>
    A complex type that contains information about the VPCs that are associated with the specified hosted zone.

    Supporting Types

    HostedZoneConfig

    Comment string
    Any comments that you want to include about the hosted zone.
    Comment string
    Any comments that you want to include about the hosted zone.
    comment String
    Any comments that you want to include about the hosted zone.
    comment string
    Any comments that you want to include about the hosted zone.
    comment str
    Any comments that you want to include about the hosted zone.
    comment String
    Any comments that you want to include about the hosted zone.

    HostedZoneQueryLoggingConfig

    CloudWatchLogsLogGroupArn string
    The Amazon Resource Name (ARN) of the CloudWatch Logs log group that Amazon Route 53 is publishing logs to.
    CloudWatchLogsLogGroupArn string
    The Amazon Resource Name (ARN) of the CloudWatch Logs log group that Amazon Route 53 is publishing logs to.
    cloudWatchLogsLogGroupArn String
    The Amazon Resource Name (ARN) of the CloudWatch Logs log group that Amazon Route 53 is publishing logs to.
    cloudWatchLogsLogGroupArn string
    The Amazon Resource Name (ARN) of the CloudWatch Logs log group that Amazon Route 53 is publishing logs to.
    cloud_watch_logs_log_group_arn str
    The Amazon Resource Name (ARN) of the CloudWatch Logs log group that Amazon Route 53 is publishing logs to.
    cloudWatchLogsLogGroupArn String
    The Amazon Resource Name (ARN) of the CloudWatch Logs log group that Amazon Route 53 is publishing logs to.

    HostedZoneTag

    Key string
    The key name of the tag.
    Value string
    The value for the tag.
    Key string
    The key name of the tag.
    Value string
    The value for the tag.
    key String
    The key name of the tag.
    value String
    The value for the tag.
    key string
    The key name of the tag.
    value string
    The value for the tag.
    key str
    The key name of the tag.
    value str
    The value for the tag.
    key String
    The key name of the tag.
    value String
    The value for the tag.

    HostedZoneVpc

    VpcId string
    The ID of an Amazon VPC.
    VpcRegion string
    The region that an Amazon VPC was created in. See https://docs.aws.amazon.com/general/latest/gr/rande.html for a list of up to date regions.
    VpcId string
    The ID of an Amazon VPC.
    VpcRegion string
    The region that an Amazon VPC was created in. See https://docs.aws.amazon.com/general/latest/gr/rande.html for a list of up to date regions.
    vpcId String
    The ID of an Amazon VPC.
    vpcRegion String
    The region that an Amazon VPC was created in. See https://docs.aws.amazon.com/general/latest/gr/rande.html for a list of up to date regions.
    vpcId string
    The ID of an Amazon VPC.
    vpcRegion string
    The region that an Amazon VPC was created in. See https://docs.aws.amazon.com/general/latest/gr/rande.html for a list of up to date regions.
    vpc_id str
    The ID of an Amazon VPC.
    vpc_region str
    The region that an Amazon VPC was created in. See https://docs.aws.amazon.com/general/latest/gr/rande.html for a list of up to date regions.
    vpcId String
    The ID of an Amazon VPC.
    vpcRegion String
    The region that an Amazon VPC was created in. See https://docs.aws.amazon.com/general/latest/gr/rande.html for a list of up to date regions.

    Package Details

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

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.97.0 published on Wednesday, Feb 21, 2024 by Pulumi