Viewing docs for AWS v6.83.1 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
Viewing docs for AWS v6.83.1 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
aws.route53.ResolverQueryLogConfig provides details about a specific Route53 Resolver Query Logging Configuration.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = aws.route53.getQueryLogConfig({
resolverQueryLogConfigId: "rqlc-1abc2345ef678g91h",
});
import pulumi
import pulumi_aws as aws
example = aws.route53.get_query_log_config(resolver_query_log_config_id="rqlc-1abc2345ef678g91h")
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/route53"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := route53.GetQueryLogConfig(ctx, &route53.GetQueryLogConfigArgs{
ResolverQueryLogConfigId: pulumi.StringRef("rqlc-1abc2345ef678g91h"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = Aws.Route53.GetQueryLogConfig.Invoke(new()
{
ResolverQueryLogConfigId = "rqlc-1abc2345ef678g91h",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.route53.Route53Functions;
import com.pulumi.aws.route53.inputs.GetQueryLogConfigArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var example = Route53Functions.getQueryLogConfig(GetQueryLogConfigArgs.builder()
.resolverQueryLogConfigId("rqlc-1abc2345ef678g91h")
.build());
}
}
variables:
example:
fn::invoke:
function: aws:route53:getQueryLogConfig
arguments:
resolverQueryLogConfigId: rqlc-1abc2345ef678g91h
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = aws.route53.getQueryLogConfig({
filters: [
{
name: "Name",
values: ["shared-query-log-config"],
},
{
name: "ShareStatus",
values: ["SHARED_WITH_ME"],
},
],
});
import pulumi
import pulumi_aws as aws
example = aws.route53.get_query_log_config(filters=[
{
"name": "Name",
"values": ["shared-query-log-config"],
},
{
"name": "ShareStatus",
"values": ["SHARED_WITH_ME"],
},
])
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/route53"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := route53.GetQueryLogConfig(ctx, &route53.GetQueryLogConfigArgs{
Filters: []route53.GetQueryLogConfigFilter{
{
Name: "Name",
Values: []string{
"shared-query-log-config",
},
},
{
Name: "ShareStatus",
Values: []string{
"SHARED_WITH_ME",
},
},
},
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = Aws.Route53.GetQueryLogConfig.Invoke(new()
{
Filters = new[]
{
new Aws.Route53.Inputs.GetQueryLogConfigFilterInputArgs
{
Name = "Name",
Values = new[]
{
"shared-query-log-config",
},
},
new Aws.Route53.Inputs.GetQueryLogConfigFilterInputArgs
{
Name = "ShareStatus",
Values = new[]
{
"SHARED_WITH_ME",
},
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.route53.Route53Functions;
import com.pulumi.aws.route53.inputs.GetQueryLogConfigArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var example = Route53Functions.getQueryLogConfig(GetQueryLogConfigArgs.builder()
.filters(
GetQueryLogConfigFilterArgs.builder()
.name("Name")
.values("shared-query-log-config")
.build(),
GetQueryLogConfigFilterArgs.builder()
.name("ShareStatus")
.values("SHARED_WITH_ME")
.build())
.build());
}
}
variables:
example:
fn::invoke:
function: aws:route53:getQueryLogConfig
arguments:
filters:
- name: Name
values:
- shared-query-log-config
- name: ShareStatus
values:
- SHARED_WITH_ME
Using getQueryLogConfig
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 getQueryLogConfig(args: GetQueryLogConfigArgs, opts?: InvokeOptions): Promise<GetQueryLogConfigResult>
function getQueryLogConfigOutput(args: GetQueryLogConfigOutputArgs, opts?: InvokeOptions): Output<GetQueryLogConfigResult>def get_query_log_config(filters: Optional[Sequence[GetQueryLogConfigFilter]] = None,
name: Optional[str] = None,
resolver_query_log_config_id: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
opts: Optional[InvokeOptions] = None) -> GetQueryLogConfigResult
def get_query_log_config_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetQueryLogConfigFilterArgs]]]] = None,
name: Optional[pulumi.Input[str]] = None,
resolver_query_log_config_id: Optional[pulumi.Input[str]] = None,
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetQueryLogConfigResult]func GetQueryLogConfig(ctx *Context, args *GetQueryLogConfigArgs, opts ...InvokeOption) (*GetQueryLogConfigResult, error)
func GetQueryLogConfigOutput(ctx *Context, args *GetQueryLogConfigOutputArgs, opts ...InvokeOption) GetQueryLogConfigResultOutput> Note: This function is named GetQueryLogConfig in the Go SDK.
public static class GetQueryLogConfig
{
public static Task<GetQueryLogConfigResult> InvokeAsync(GetQueryLogConfigArgs args, InvokeOptions? opts = null)
public static Output<GetQueryLogConfigResult> Invoke(GetQueryLogConfigInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetQueryLogConfigResult> getQueryLogConfig(GetQueryLogConfigArgs args, InvokeOptions options)
public static Output<GetQueryLogConfigResult> getQueryLogConfig(GetQueryLogConfigArgs args, InvokeOptions options)
fn::invoke:
function: aws:route53/getQueryLogConfig:getQueryLogConfig
arguments:
# arguments dictionaryThe following arguments are supported:
- Filters
List<Get
Query Log Config Filter> - One or more name/value pairs to use as filters. There are several valid keys, for a full reference, check out [Route53resolver Filter value in the AWS API reference][1].
- Name string
- The name of the query logging configuration.
- Resolver
Query stringLog Config Id - ID of the Route53 Resolver Query Logging Configuration.
- Dictionary<string, string>
- Map of tags to assign to the service.
- Filters
[]Get
Query Log Config Filter - One or more name/value pairs to use as filters. There are several valid keys, for a full reference, check out [Route53resolver Filter value in the AWS API reference][1].
- Name string
- The name of the query logging configuration.
- Resolver
Query stringLog Config Id - ID of the Route53 Resolver Query Logging Configuration.
- map[string]string
- Map of tags to assign to the service.
- filters
List<Get
Query Log Config Filter> - One or more name/value pairs to use as filters. There are several valid keys, for a full reference, check out [Route53resolver Filter value in the AWS API reference][1].
- name String
- The name of the query logging configuration.
- resolver
Query StringLog Config Id - ID of the Route53 Resolver Query Logging Configuration.
- Map<String,String>
- Map of tags to assign to the service.
- filters
Get
Query Log Config Filter[] - One or more name/value pairs to use as filters. There are several valid keys, for a full reference, check out [Route53resolver Filter value in the AWS API reference][1].
- name string
- The name of the query logging configuration.
- resolver
Query stringLog Config Id - ID of the Route53 Resolver Query Logging Configuration.
- {[key: string]: string}
- Map of tags to assign to the service.
- filters
Sequence[Get
Query Log Config Filter] - One or more name/value pairs to use as filters. There are several valid keys, for a full reference, check out [Route53resolver Filter value in the AWS API reference][1].
- name str
- The name of the query logging configuration.
- resolver_
query_ strlog_ config_ id - ID of the Route53 Resolver Query Logging Configuration.
- Mapping[str, str]
- Map of tags to assign to the service.
- filters List<Property Map>
- One or more name/value pairs to use as filters. There are several valid keys, for a full reference, check out [Route53resolver Filter value in the AWS API reference][1].
- name String
- The name of the query logging configuration.
- resolver
Query StringLog Config Id - ID of the Route53 Resolver Query Logging Configuration.
- Map<String>
- Map of tags to assign to the service.
getQueryLogConfig Result
The following output properties are available:
- Arn string
- Computed ARN of the Route53 Resolver Query Logging Configuration.
- Destination
Arn string - The ARN of the resource that you want Resolver to send query logs: an Amazon S3 bucket, a CloudWatch Logs log group or a Kinesis Data Firehose delivery stream.
- Id string
- The provider-assigned unique ID for this managed resource.
- Owner
Id string - The AWS account ID for the account that created the query logging configuration.
- string
- An indication of whether the query logging configuration is shared with other AWS accounts or was shared with the current account by another AWS account.
- Dictionary<string, string>
- Map of tags to assign to the service.
- Filters
List<Get
Query Log Config Filter> - Name string
- The name of the query logging configuration.
- Resolver
Query stringLog Config Id
- Arn string
- Computed ARN of the Route53 Resolver Query Logging Configuration.
- Destination
Arn string - The ARN of the resource that you want Resolver to send query logs: an Amazon S3 bucket, a CloudWatch Logs log group or a Kinesis Data Firehose delivery stream.
- Id string
- The provider-assigned unique ID for this managed resource.
- Owner
Id string - The AWS account ID for the account that created the query logging configuration.
- string
- An indication of whether the query logging configuration is shared with other AWS accounts or was shared with the current account by another AWS account.
- map[string]string
- Map of tags to assign to the service.
- Filters
[]Get
Query Log Config Filter - Name string
- The name of the query logging configuration.
- Resolver
Query stringLog Config Id
- arn String
- Computed ARN of the Route53 Resolver Query Logging Configuration.
- destination
Arn String - The ARN of the resource that you want Resolver to send query logs: an Amazon S3 bucket, a CloudWatch Logs log group or a Kinesis Data Firehose delivery stream.
- id String
- The provider-assigned unique ID for this managed resource.
- owner
Id String - The AWS account ID for the account that created the query logging configuration.
- String
- An indication of whether the query logging configuration is shared with other AWS accounts or was shared with the current account by another AWS account.
- Map<String,String>
- Map of tags to assign to the service.
- filters
List<Get
Query Log Config Filter> - name String
- The name of the query logging configuration.
- resolver
Query StringLog Config Id
- arn string
- Computed ARN of the Route53 Resolver Query Logging Configuration.
- destination
Arn string - The ARN of the resource that you want Resolver to send query logs: an Amazon S3 bucket, a CloudWatch Logs log group or a Kinesis Data Firehose delivery stream.
- id string
- The provider-assigned unique ID for this managed resource.
- owner
Id string - The AWS account ID for the account that created the query logging configuration.
- string
- An indication of whether the query logging configuration is shared with other AWS accounts or was shared with the current account by another AWS account.
- {[key: string]: string}
- Map of tags to assign to the service.
- filters
Get
Query Log Config Filter[] - name string
- The name of the query logging configuration.
- resolver
Query stringLog Config Id
- arn str
- Computed ARN of the Route53 Resolver Query Logging Configuration.
- destination_
arn str - The ARN of the resource that you want Resolver to send query logs: an Amazon S3 bucket, a CloudWatch Logs log group or a Kinesis Data Firehose delivery stream.
- id str
- The provider-assigned unique ID for this managed resource.
- owner_
id str - The AWS account ID for the account that created the query logging configuration.
- str
- An indication of whether the query logging configuration is shared with other AWS accounts or was shared with the current account by another AWS account.
- Mapping[str, str]
- Map of tags to assign to the service.
- filters
Sequence[Get
Query Log Config Filter] - name str
- The name of the query logging configuration.
- resolver_
query_ strlog_ config_ id
- arn String
- Computed ARN of the Route53 Resolver Query Logging Configuration.
- destination
Arn String - The ARN of the resource that you want Resolver to send query logs: an Amazon S3 bucket, a CloudWatch Logs log group or a Kinesis Data Firehose delivery stream.
- id String
- The provider-assigned unique ID for this managed resource.
- owner
Id String - The AWS account ID for the account that created the query logging configuration.
- String
- An indication of whether the query logging configuration is shared with other AWS accounts or was shared with the current account by another AWS account.
- Map<String>
- Map of tags to assign to the service.
- filters List<Property Map>
- name String
- The name of the query logging configuration.
- resolver
Query StringLog Config Id
Supporting Types
GetQueryLogConfigFilter
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
awsTerraform Provider.
Viewing docs for AWS v6.83.1 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
