You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::CloudWatchLogs::Types::CreateLogGroupRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing CreateLogGroupRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  log_group_name: "LogGroupName", # required
  kms_key_id: "KmsKeyId",
  tags: {
    "TagKey" => "TagValue",
  },
}

Instance Attribute Summary collapse

Instance Attribute Details

#kms_key_idString

The Amazon Resource Name (ARN) of the CMK to use when encrypting log data. For more information, see Amazon Resource Names - AWS Key Management Service (AWS KMS).

Returns:

  • (String)

    The Amazon Resource Name (ARN) of the CMK to use when encrypting log data.

#log_group_nameString

The name of the log group.

Returns:

  • (String)

    The name of the log group.

#tagsHash<String,String>

The key-value pairs to use for the tags.

Returns:

  • (Hash<String,String>)

    The key-value pairs to use for the tags.