CfnVPCRoute53ResolverQueryLogs
- class aws_cdk.mixins_preview.aws_ec2.mixins.CfnVPCRoute53ResolverQueryLogs
Bases:
objectBuilder for CfnVPCLogsMixin to generate ROUTE53_RESOLVER_QUERY_LOGS for CfnVPC.
- CloudformationResource:
AWS::EC2::VPC
- LogType:
ROUTE53_RESOLVER_QUERY_LOGS
- 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.mixins_preview.aws_ec2 import mixins as ec2_mixins cfn_vPCRoute53_resolver_query_logs = ec2_mixins.CfnVPCRoute53ResolverQueryLogs()
- Stability:
experimental
Methods
- to_destination(destination)
Delivers logs to a pre-created delivery destination.
Supported destinations are S3, CWL, FH You are responsible for setting up the correct permissions for your delivery destination, toDestination() does not set up any permissions for you. Delivery destinations that are imported from another stack using CfnDeliveryDestination.fromDeliveryDestinationArn() or CfnDeliveryDestination.fromDeliveryDestinationName() are supported by toDestination().
- Parameters:
destination (
IDeliveryDestinationRef)- Return type:
- to_firehose(delivery_stream)
Send logs to a Firehose Delivery Stream.
- Parameters:
delivery_stream (
IDeliveryStreamRef)- Return type:
- to_log_group(log_group)
Send logs to a CloudWatch Log Group.
- Parameters:
log_group (
ILogGroupRef)- Return type:
- to_s3(bucket, props=None)
Send logs to an S3 Bucket.
- Parameters:
bucket (
IBucketRef)props (
Optional[IS3LogsDestinationProps])
- Return type: