class Aws::CloudWatchLogs::Types::CreateLogGroupRequest
@note When making an API call, you may pass CreateLogGroupRequest
data as a hash: { log_group_name: "LogGroupName", # required kms_key_id: "KmsKeyId", tags: { "TagKey" => "TagValue", }, }
@!attribute [rw] log_group_name
The name of the log group. @return [String]
@!attribute [rw] kms_key_id
The Amazon Resource Name (ARN) of the CMK to use when encrypting log data. For more information, see [Amazon Resource Names - Key Management Service][1]. [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-kms @return [String]
@!attribute [rw] tags
The key-value pairs to use for the tags. CloudWatch Logs doesn’t support IAM policies that prevent users from assigning specified tags to log groups using the `aws:Resource/key-name ` or `aws:TagKeys` condition keys. For more information about using tags to control access, see [Controlling access to Amazon Web Services resources using tags][1]. [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_tags.html @return [Hash<String,String>]
@see docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CreateLogGroupRequest AWS API Documentation
Constants
- SENSITIVE