library
turbot/aws
OverviewPipelines
0
Triggers
0
Variables
GitHub

Pipeline: Put event selectors to CloudTrail Trail

Enables log file validation for an AWS CloudTrail trail.

Run the pipeline

To run this pipeline from your terminal:

flowpipe pipeline run aws.pipeline.put_cloudtrail_trail_event_selector \
--arg 'region=<string>' \
--arg 'trail_name=<string>' \
--arg 'event_selectors=<string>'

Use this pipeline

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

step "pipeline" "step_name" {
pipeline = aws.pipeline.put_cloudtrail_trail_event_selector
args = {
region = <string>
trail_name = <string>
event_selectors = <string>
}
}

Params

NameTypeRequiredDescriptionDefault
region
string
YesThe AWS region where the CloudTrail trail is located.-
conn
connection.aws
YesName of AWS connection to use. If not provided, the default AWS connection will be used.connection.aws.default
trail_name
string
YesThe name of the CloudTrail trail.-
event_selectors
string
YesThe JSON string format of the event selector policy.-

Outputs

NameDescription
trailThe CloudTrail trail with event selectors set.