View source: R/cloudwatchlogs_operations.R
| cloudwatchlogs_create_log_group | R Documentation |
Creates a log group with the specified name. You can create up to 1,000,000 log groups per Region per account.
See https://www.paws-r-sdk.com/docs/cloudwatchlogs_create_log_group/ for full documentation.
cloudwatchlogs_create_log_group(
logGroupName,
kmsKeyId = NULL,
tags = NULL,
logGroupClass = NULL,
deletionProtectionEnabled = NULL
)
logGroupName |
[required] A name for the log group. |
kmsKeyId |
The Amazon Resource Name (ARN) of the KMS key to use when encrypting log data. For more information, see Amazon Resource Names. |
tags |
The key-value pairs to use for the tags. You can grant users access to certain log groups while preventing them from accessing other log groups. To do so, tag your groups and use IAM policies that refer to those tags. To assign tags when you create a log group, you must have either the |
logGroupClass |
Use this parameter to specify the log group class for this log group. There are three classes:
If you omit this parameter, the default of The value of For details about the features supported by each class, see Log classes |
deletionProtectionEnabled |
Use this parameter to enable deletion protection for the new log group. When enabled on a log group, deletion protection blocks all deletion operations until it is explicitly disabled. By default log groups are created without deletion protection enabled. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.