Class: Aws::CloudWatchLogs::Types::AssociateKmsKeyRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudWatchLogs::Types::AssociateKmsKeyRequest
- Includes:
- Structure
- Defined in:
- 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
}
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#kms_key_id ⇒ String
The Amazon Resource Name (ARN) of the CMK to use when encrypting log data.
-
#log_group_name ⇒ String
The name of the log group.
Instance Attribute Details
#kms_key_id ⇒ String
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 - Key Management Service][1
-
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
39 40 41 42 43 44 |
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 39 class AssociateKmsKeyRequest < Struct.new( :log_group_name, :kms_key_id) SENSITIVE = [] include Aws::Structure end |
#log_group_name ⇒ String
The name of the log group.
39 40 41 42 43 44 |
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 39 class AssociateKmsKeyRequest < Struct.new( :log_group_name, :kms_key_id) SENSITIVE = [] include Aws::Structure end |