CfnQueryLoggingConfigPropsMixin

class aws_cdk.cfn_property_mixins.aws_route53.CfnQueryLoggingConfigPropsMixin(props, *, strategy=None)

Bases: Mixin

Resource Type definition for AWS::Route53::QueryLoggingConfig.

Creates a configuration for DNS query logging, which publishes query logs for a public hosted zone to an Amazon CloudWatch Logs log group.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53-queryloggingconfig.html

CloudformationResource:

AWS::Route53::QueryLoggingConfig

Mixin:

true

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.cfn_property_mixins import aws_route53 as route53
import aws_cdk as cdk

# merge_strategy: cdk.IMergeStrategy

cfn_query_logging_config_props_mixin = route53.CfnQueryLoggingConfigPropsMixin(route53.CfnQueryLoggingConfigMixinProps(
    cloud_watch_logs_log_group_arn="cloudWatchLogsLogGroupArn",
    hosted_zone_id="hostedZoneId"
),
    strategy=merge_strategy
)

Create a mixin to apply properties to AWS::Route53::QueryLoggingConfig.

Parameters:

Methods

apply_to(construct)

Apply the mixin properties to the construct.

Parameters:

construct (IConstruct)

Return type:

None

supports(construct)

Check if this mixin supports the given construct.

Parameters:

construct (IConstruct)

Return type:

bool

Attributes

CFN_PROPERTY_KEYS = ['cloudWatchLogsLogGroupArn', 'hostedZoneId']

Static Methods

classmethod is_mixin(x)

Checks if x is a Mixin.

Parameters:

x (Any) – Any object.

Return type:

bool

Returns:

true if x is an object created from a class which extends Mixin.