Options
All
  • Public
  • Public/Protected
  • All
Menu

Class GetFlowLogsIntegrationTemplateCommand

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

example

Use a bare-bones client and the command you need to make an API call.

import { EC2Client, GetFlowLogsIntegrationTemplateCommand } from "@aws-sdk/client-ec2"; // ES Modules import
// const { EC2Client, GetFlowLogsIntegrationTemplateCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
const client = new EC2Client(config);
const command = new GetFlowLogsIntegrationTemplateCommand(input);
const response = await client.send(command);
see

GetFlowLogsIntegrationTemplateCommandInput for command's input shape.

see

GetFlowLogsIntegrationTemplateCommandOutput for command's response shape.

see

config for EC2Client's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: GetFlowLogsIntegrationTemplateCommandInput

Readonly middlewareStack

Methods

Static getEndpointParameterInstructions