library
turbot/aws
Get Involved
Version
Pipeline: Create CloudTrail Trail
Creates a trail with specified name.
Run the pipeline
To run this pipeline from your terminal:
flowpipe pipeline run aws.pipeline.create_cloudtrail_trail \ --arg 'region=<string>' \ --arg 'name=<string>' \ --arg 'bucket_name=<string>' \ --arg 'is_multi_region_trail=<bool>' \ --arg 'include_global_service_events=<bool>' \ --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.create_cloudtrail_trail args = { region = <string> name = <string> bucket_name = <string> is_multi_region_trail = <bool> include_global_service_events = <bool> enable_log_file_validation = <bool> }}
Params
Name | Type | Required | Description | Default |
---|---|---|---|---|
region | string | Yes | The name of the Region. | - |
conn | connection.aws | Yes | Name of AWS connection to use. If not provided, the default AWS connection will be used. | connection.aws.default |
name | string | Yes | The name of the trail. | - |
bucket_name | string | Yes | The name of the bucket. | - |
is_multi_region_trail | bool | Yes | Indicate whether a multi region trail. | - |
include_global_service_events | bool | Yes | Indicate whether to include the global service events. | - |
enable_log_file_validation | bool | Yes | Indicate whether to enable log file validation. | - |
Outputs
Name | Description |
---|---|
trail | Information about the created trail. |