library
turbot/aws
OverviewPipelines
0
Triggers
0
Variables
GitHub

Create CloudTrail Trail

Creates a trail with specified name.

Run the pipeline

To run this pipeline from your terminal:

flowpipe pipeline run aws.pipeline.create_cloudtrail_trail \
--arg 'region=<string>' \
--arg 'name=<string>' \
--arg 'bucket_name=<string>' \
--arg 'is_multi_region_trail=<bool>' \
--arg 'include_global_service_events=<bool>' \
--arg 'enable_log_file_validation=<bool>'

Use this pipeline

To call this pipeline from your pipeline, use a step:

step "pipeline" "step_name" {
pipeline = aws.pipeline.create_cloudtrail_trail
args = {
region = <string>
name = <string>
bucket_name = <string>
is_multi_region_trail = <bool>
include_global_service_events = <bool>
enable_log_file_validation = <bool>
}
}

Params

NameTypeRequiredDescriptionDefault
regionstringYesThe name of the Region.-
credstringYesName for credentials to use. If not provided, the default credentials will be used.default
namestringYesThe name of the trail.-
bucket_namestringYesThe name of the bucket.-
is_multi_region_trailboolYesIndicate whether a multi region trail.-
include_global_service_eventsboolYesIndicate whether to include the global service events.-
enable_log_file_validationboolYesIndicate whether to enable log file validation.-

Outputs

NameDescription
trailInformation about the created trail.