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

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#kms_key_idString

The Amazon Resource Name (ARN) of the KMS key to use when encrypting log data. This must be a symmetric KMS key. For more information, see [Amazon Resource Names] and [Using Symmetric and Asymmetric Keys].

[1]: docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-kms [2]: docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html

Returns:

  • (String)


31
32
33
34
35
36
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 31

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

#log_group_nameString

The name of the log group.

Returns:

  • (String)


31
32
33
34
35
36
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 31

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