AWS Native

Pulumi Official
Package maintained by Pulumi
v0.19.0 published on Wednesday, Jun 8, 2022 by Pulumi

getHostedZone

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
v_pcs 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.

v_pc_id str

The ID of an Amazon VPC.

v_pc_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
https://github.com/pulumi/pulumi-aws-native
License
Apache-2.0