Skip to content
v2.277.0

CfnResolverQueryLoggingConfigAssociationProps Struct ​

Properties for defining a CfnResolverQueryLoggingConfigAssociation.

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 cfnResolverQueryLoggingConfigAssociationProps: route53resolver.CfnResolverQueryLoggingConfigAssociationProps = {
  resolverQueryLogConfigId: 'resolverQueryLogConfigId',
  resourceId: 'resourceId',
};
python
# 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_association_props = route53resolver.CfnResolverQueryLoggingConfigAssociationProps(
    resolver_query_log_config_id="resolverQueryLogConfigId",
    resource_id="resourceId"
)
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.*;

CfnResolverQueryLoggingConfigAssociationProps cfnResolverQueryLoggingConfigAssociationProps = CfnResolverQueryLoggingConfigAssociationProps.builder()
        .resolverQueryLogConfigId("resolverQueryLogConfigId")
        .resourceId("resourceId")
        .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 cfnResolverQueryLoggingConfigAssociationProps = new CfnResolverQueryLoggingConfigAssociationProps {
    ResolverQueryLogConfigId = "resolverQueryLogConfigId",
    ResourceId = "resourceId"
};
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"

cfnResolverQueryLoggingConfigAssociationProps := &CfnResolverQueryLoggingConfigAssociationProps{
	ResolverQueryLogConfigId: jsii.String("resolverQueryLogConfigId"),
	ResourceId: jsii.String("resourceId"),
}

Properties ​

resolverQueryLogConfigIdoptionalstring | IResolverQueryLoggingConfigRefresolver_query_log_config_idoptionaltyping.Union[str, IResolverQueryLoggingConfigRef]resolverQueryLogConfigIdoptionalStringResolverQueryLogConfigIdoptionalstringResolverQueryLogConfigIdoptionalinterface{} #
The ID of the query logging configuration that a VPC is associated with.
resourceIdoptionalstring | IVPCRefresource_idoptionaltyping.Union[str, IVPCRef]resourceIdoptionalStringResourceIdoptionalstringResourceIdoptionalinterface{} #
The ID of the Amazon VPC that is associated with the query logging configuration.