library
turbot/aws
OverviewPipelines
0
Triggers
0
Variables
GitHub

Update Cloudtrail Trail

Update the cloudtrail trail

Run the pipeline

To run this pipeline from your terminal:

flowpipe pipeline run aws.pipeline.update_cloudtrail_trail \
--arg 'region=<string>' \
--arg 'trail_name=<string>' \
--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.update_cloudtrail_trail
args = {
region = <string>
trail_name = <string>
enable_log_file_validation = <bool>
}
}

Params

NameTypeRequiredDescriptionDefault
regionstringYesThe AWS region where the CloudTrail trail is located.-
credstringYesThe AWS credentials to use.default
trail_namestringYesThe name of the CloudTrail trail.-
s3_bucket_namestringNoThe name of the S3 Bucket.-
enable_log_file_validationboolYesEnable the log file validation for CloudTrail trail.-
cloudwatch_logs_log_group_arnstringNoThe ARN of the Cloudwatch Logs LogGroup-
cloudwatch_logs_role_arnstringNoThe ARN of the IAM role for Cloudwatch Logs.-
kms_key_idstringNoThe KMS key ID for the trail.-

Outputs

NameDescription
trailThe updated CloudTrail trail.