library
turbot/aws
Get Involved
Version
Pipeline: Create CloudWatch Log Group
Creates a new CloudWatch log group.
Run the pipeline
To run this pipeline from your terminal:
flowpipe pipeline run aws.pipeline.create_cloudwatch_log_group \ --arg 'region=<string>' \ --arg 'log_group_name=<string>'Use this pipeline
To call this pipeline from your pipeline, use a step:
step "pipeline" "step_name" { pipeline = aws.pipeline.create_cloudwatch_log_group args = { region = <string> log_group_name = <string> }}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 |
| log_group_name | string | Yes | The name of the CloudWatch log group to be created. | - |
| retention_days | number | No | The retention period in days for the log group. | 0 |
Outputs
| Name | Description |
|---|---|
| log_group_creation | Confirmation of the CloudWatch log group creation. |