Class: Aws::CloudWatchLogs::Types::AssociateKmsKeyRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb

Overview

Note:

When making an API call, you may pass AssociateKmsKeyRequest data as a hash:

{
  log_group_name: "LogGroupName", # required
  kms_key_id: "KmsKeyId", # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#kms_key_idString

The Amazon Resource Name (ARN) of the CMK to use when encrypting log data. This must be a symmetric CMK. For more information, see Amazon Resource Names - AWS Key Management Service (AWS KMS) and Using Symmetric and Asymmetric Keys.

Returns:

  • (String)


37
38
39
40
41
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 37

class AssociateKmsKeyRequest < Struct.new(
  :log_group_name,
  :kms_key_id)
  include Aws::Structure
end

#log_group_nameString

The name of the log group.

Returns:

  • (String)


37
38
39
40
41
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 37

class AssociateKmsKeyRequest < Struct.new(
  :log_group_name,
  :kms_key_id)
  include Aws::Structure
end