CfnResolverQueryLoggingConfigProps Struct
Properties for defining a CfnResolverQueryLoggingConfig.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_route53resolver as route53resolver } from 'aws-cdk-lib';
const cfnResolverQueryLoggingConfigProps: route53resolver.CfnResolverQueryLoggingConfigProps = {
destinationArn: 'destinationArn',
name: 'name',
tags: [{
key: 'key',
value: 'value',
}],
};
python
from aws_cdk import CfnTag
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_route53resolver as route53resolver
cfn_resolver_query_logging_config_props = route53resolver.CfnResolverQueryLoggingConfigProps(
destination_arn="destinationArn",
name="name",
tags=[CfnTag(
key="key",
value="value"
)]
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.route53resolver.*;
CfnResolverQueryLoggingConfigProps cfnResolverQueryLoggingConfigProps = CfnResolverQueryLoggingConfigProps.builder()
.destinationArn("destinationArn")
.name("name")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Route53Resolver;
var cfnResolverQueryLoggingConfigProps = new CfnResolverQueryLoggingConfigProps {
DestinationArn = "destinationArn",
Name = "name",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
cfnResolverQueryLoggingConfigProps := &CfnResolverQueryLoggingConfigProps{
DestinationArn: jsii.String("destinationArn"),
Name: jsii.String("name"),
Tags: []CfnTag{
&CfnTag{
Key: jsii.String("key"),
Value: jsii.String("value"),
},
},
}
Properties
destinationArnoptionalstring | ILogGroupRef | IBucketRefdestination_arnoptionaltyping.Union[str, ILogGroupRef, IBucketRef]destinationArnoptionalStringDestinationArnoptionalstringDestinationArnoptionalinterface{}#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.
The name of the query logging configuration.