library
turbot/aws
OverviewPipelines
0
Triggers
0
Variables
GitHub

Pipeline: 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
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.-
s3_bucket_name
string
NoThe name of the S3 Bucket.-
enable_log_file_validation
bool
YesEnable the log file validation for CloudTrail trail.false
cloudwatch_logs_log_group_arn
string
NoThe ARN of the Cloudwatch Logs LogGroup-
cloudwatch_logs_role_arn
string
NoThe ARN of the IAM role for Cloudwatch Logs.-
kms_key_id
string
NoThe KMS key ID for the trail.-

Outputs

NameDescription
trailThe updated CloudTrail trail.