library
turbot/aws
OverviewPipelines
0
Triggers
0
Variables
GitHub

Pipeline: 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
region
string
YesThe name of the Region.-
conn
connection.aws
YesName of AWS connection to use. If not provided, the default AWS connection will be used.connection.aws.default
name
string
YesThe name of the trail.-
bucket_name
string
YesThe name of the bucket.-
is_multi_region_trail
bool
YesIndicate whether a multi region trail.-
include_global_service_events
bool
YesIndicate whether to include the global service events.-
enable_log_file_validation
bool
YesIndicate whether to enable log file validation.-

Outputs

NameDescription
trailInformation about the created trail.