You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* <p>Associates the specified Key Management Service customer master key (CMK) with the specified log group.</p>
28
-
* <p>Associating an KMS CMK with a log group overrides any existing associations between the log group and a CMK.
29
-
* After a CMK is associated with a log group, all newly ingested data for the log group is encrypted using the CMK.
30
-
* This association is stored as long as the data encrypted with the CMK is still within CloudWatch Logs.
31
-
* This enables CloudWatch Logs to decrypt this data whenever it is requested.</p>
27
+
* <p>Associates the specified KMS key with the specified log
28
+
* group.</p>
29
+
* <p>Associating a KMS key with a log group overrides any existing
30
+
* associations between the log group and a KMS key. After a KMS key is associated with a log group, all newly ingested data for the log group is encrypted
31
+
* using the KMS key. This association is stored as long as the data encrypted
32
+
* with the KMS keyis still within CloudWatch Logs. This enables CloudWatch Logs to decrypt this data whenever it is requested.</p>
32
33
* <important>
33
-
* <p>CloudWatch Logs supports only symmetric CMKs. Do not use an associate an asymmetric CMK
34
-
* with your log group. For more information, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html">Using Symmetric and Asymmetric
35
-
* Keys</a>.</p>
34
+
* <p>CloudWatch Logs supports only symmetric KMS keys. Do not use an associate
35
+
* an asymmetric KMS key with your log group. For more information, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html">Using
36
+
* Symmetric and Asymmetric Keys</a>.</p>
36
37
* </important>
37
38
* <p>It can take up to 5 minutes for this operation to take effect.</p>
38
-
* <p>If you attempt to associate a CMK with a log group but the CMK does not exist or the
39
-
* CMK is disabled, you receive an <code>InvalidParameterException</code> error. </p>
39
+
* <p>If you attempt to associate a KMS key with a log group but the KMS key does not exist or the KMS key is disabled, you receive an
* <p>Creates an export task, which allows you to efficiently export data from a
33
-
* log group to an Amazon S3 bucket. When you perform a <code>CreateExportTask</code>
34
-
* operation, you must use credentials that have permission to write to the S3 bucket
35
-
* that you specify as the destination.</p>
36
-
* <p>Exporting log data to Amazon S3 buckets that are encrypted by KMS is
37
-
* supported. Exporting
38
-
* log data to Amazon S3 buckets that have S3 Object Lock enabled with a retention period is also supported.</p>
32
+
* <p>Creates an export task so that you can efficiently export data from a log group to an
33
+
* Amazon S3 bucket. When you perform a <code>CreateExportTask</code> operation, you must use
34
+
* credentials that have permission to write to the S3 bucket that you specify as the
35
+
* destination.</p>
36
+
* <p>Exporting log data to S3 buckets that are encrypted by KMS is supported.
37
+
* Exporting log data to Amazon S3 buckets that have S3 Object Lock enabled with a
38
+
* retention period is also supported.</p>
39
39
* <p>Exporting to S3 buckets that are encrypted with AES-256 is supported. </p>
40
40
* <p>This is an asynchronous call. If all the required information is provided, this
41
41
* operation initiates an export task and responds with the ID of the task. After the task has started,
42
42
* you can use <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DescribeExportTasks.html">DescribeExportTasks</a> to get the status of the export task. Each account can
43
43
* only have one active (<code>RUNNING</code> or <code>PENDING</code>) export task at a time.
44
44
* To cancel an export task, use <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_CancelExportTask.html">CancelExportTask</a>.</p>
45
45
* <p>You can export logs from multiple log groups or multiple time ranges to the same S3
46
-
* bucket. To separate out log data for each export task, you can specify a prefix to be used as
47
-
* the Amazon S3 key prefix for all exported objects.</p>
46
+
* bucket. To separate log data for each export task, specify a prefix to be used as the Amazon
47
+
* S3 key prefix for all exported objects.</p>
48
48
*
49
49
* <note>
50
-
* <p>Time-based sorting on chunks of log data inside an exported file is not guaranteed. You can sort the
51
-
* exported log fild data by using Linux utilities.</p>
50
+
* <p>Time-based sorting on chunks of log data inside an exported file is not guaranteed. You can
51
+
* sort the exported log field data by using Linux utilities.</p>
52
52
* </note>
53
53
* @example
54
54
* Use a bare-bones client and the command you need to make an API call.
* <p>CloudWatch Logs supports only symmetric CMKs. Do not associate an asymmetric CMK with
51
-
* your log group. For more information, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html">Using Symmetric and Asymmetric
52
-
* Keys</a>.</p>
52
+
* <p>CloudWatch Logs supports only symmetric KMS keys. Do not associate an
53
+
* asymmetric KMS key with your log group. For more information, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html">Using
54
+
* Symmetric and Asymmetric Keys</a>.</p>
53
55
* </important>
54
56
* @example
55
57
* Use a bare-bones client and the command you need to make an API call.
0 commit comments