library
turbot/aws
Get Involved
Version
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
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. | - |
s3_bucket_name | string | No | The name of the S3 Bucket. | - |
enable_log_file_validation | bool | Yes | Enable the log file validation for CloudTrail trail. | false |
cloudwatch_logs_log_group_arn | string | No | The ARN of the Cloudwatch Logs LogGroup | - |
cloudwatch_logs_role_arn | string | No | The ARN of the IAM role for Cloudwatch Logs. | - |
kms_key_id | string | No | The KMS key ID for the trail. | - |
Outputs
Name | Description |
---|---|
trail | The updated CloudTrail trail. |