get_flow_logs_integration_template
(**kwargs)¶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:
See also: AWS API Documentation
Request Syntax
response = client.get_flow_logs_integration_template(
DryRun=True|False,
FlowLogId='string',
ConfigDeliveryS3DestinationArn='string',
IntegrateServices={
'AthenaIntegrations': [
{
'IntegrationResultS3DestinationArn': 'string',
'PartitionLoadFrequency': 'none'|'daily'|'weekly'|'monthly',
'PartitionStartDate': datetime(2015, 1, 1),
'PartitionEndDate': datetime(2015, 1, 1)
},
]
}
)
DryRunOperation
. Otherwise, it is UnauthorizedOperation
.[REQUIRED]
The ID of the flow log.
[REQUIRED]
To store the CloudFormation template in Amazon S3, specify the location in Amazon S3.
[REQUIRED]
Information about the service integration.
Information about the integration with Amazon Athena.
Describes integration options for Amazon Athena.
The location in Amazon S3 to store the generated CloudFormation template.
The schedule for adding new partitions to the table.
The start date for the partition.
The end date for the partition.
dict
Response Syntax
{
'Result': 'string'
}
Response Structure
(dict) --
Result (string) --
The generated CloudFormation template.