library
turbot/aws
Get Involved
Version
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
Name | Type | Required | Description | Default |
---|---|---|---|---|
region | string | Yes | The AWS region where the CloudTrail trail is located. | - |
conn | connection.aws | Yes | Name of AWS connection to use. If not provided, the default AWS connection will be used. | connection.aws.default |
trail_name | string | Yes | The name of the CloudTrail trail. | - |
event_selectors | string | Yes | The JSON string format of the event selector policy. | - |
Outputs
Name | Description |
---|---|
trail | The CloudTrail trail with event selectors set. |