Skip to content

/AWS1/CL_EC2=>GETFLOWLOGSINTEGRATIONTMPL()

About GetFlowLogsIntegrationTemplate

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.

Method Signature

IMPORTING

Required arguments:

IV_FLOWLOGID TYPE /AWS1/EC2VPCFLOWLOGID /AWS1/EC2VPCFLOWLOGID

The ID of the flow log.

IV_CONFIGDELIVERYS3DSTARN TYPE /AWS1/EC2STRING /AWS1/EC2STRING

To store the CloudFormation template in Amazon S3, specify the location in Amazon S3.

IO_INTEGRATESERVICES TYPE REF TO /AWS1/CL_EC2INTEGRATESERVICES /AWS1/CL_EC2INTEGRATESERVICES

Information about the service integration.

Optional arguments:

IV_DRYRUN TYPE /AWS1/EC2BOOLEAN /AWS1/EC2BOOLEAN

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 is UnauthorizedOperation.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_EC2GETFLOWLOGSINTEG01 /AWS1/CL_EC2GETFLOWLOGSINTEG01