get_flow_logs_integration_template
¶
get_flow_logs_integration_template(
*,
config_overrides: Optional[EC2ClientConfig] = None,
dry_run: Optional[Boolean] = None,
flow_log_id: Optional[VpcFlowLogId] = None,
config_delivery_s3_destination_arn: Optional[String] = None,
integrate_services: Optional[IntegrateServices] = None,
) -> GetFlowLogsIntegrationTemplateResult
Generates a CloudFormation template that streamlines and automates the integration of VPC flow logs with Amazon Athena. This make it easier for you to query and gain insights from VPC flow logs data. Based on the information that you provide, we configure resources in the template to do the following:
-
Create a table in Athena that maps fields to a custom log format
-
Create a Lambda function that updates the table with new partitions on a daily, weekly, or monthly basis
-
Create a table partitioned between two timestamps in the past
-
Create a set of named queries in Athena that you can use to get started quickly
GetFlowLogsIntegrationTemplate does not support integration between Amazon Web Services Transit Gateway Flow Logs and Amazon Athena.
Parameters:
-
dry_run(Optional[Boolean], default:None) –Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation. Otherwise, it isUnauthorizedOperation. -
flow_log_id(Optional[VpcFlowLogId], default:None) –The ID of the flow log.
-
config_delivery_s3_destination_arn(Optional[String], default:None) –To store the CloudFormation template in Amazon S3, specify the location in Amazon S3.
-
integrate_services(Optional[IntegrateServices], default:None) –Information about the service integration.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_ec2/_services/ec2.py
43620 43621 43622 43623 43624 43625 43626 43627 43628 43629 43630 43631 43632 43633 43634 43635 43636 43637 43638 43639 43640 43641 43642 43643 43644 43645 43646 43647 43648 43649 43650 43651 43652 43653 43654 43655 43656 43657 43658 43659 43660 43661 43662 43663 43664 43665 43666 43667 43668 43669 43670 43671 43672 43673 43674 43675 43676 43677 43678 43679 43680 | |