get_flow_logs_integration_template
async
¶
get_flow_logs_integration_template(
*,
config_overrides: Optional[AsyncEC2ClientConfig] = 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/async_ec2.py
44224 44225 44226 44227 44228 44229 44230 44231 44232 44233 44234 44235 44236 44237 44238 44239 44240 44241 44242 44243 44244 44245 44246 44247 44248 44249 44250 44251 44252 44253 44254 44255 44256 44257 44258 44259 44260 44261 44262 44263 44264 44265 44266 44267 44268 44269 44270 44271 44272 44273 44274 44275 44276 44277 44278 44279 44280 44281 44282 44283 44284 44285 | |