Skip to content

Commit 5a179d9

Browse files
Update generated code (#1790)
update generated code
1 parent 209bee9 commit 5a179d9

File tree

4 files changed

+52
-12
lines changed

4 files changed

+52
-12
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## NOT RELEASED
44

5+
### Changed
6+
7+
- AWS enhancement: Documentation updates.
8+
59
## 2.6.0
610

711
### Added

src/Input/UpdateFunctionConfigurationRequest.php

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -128,15 +128,25 @@ final class UpdateFunctionConfigurationRequest extends Input
128128
private $deadLetterConfig;
129129

130130
/**
131-
* The ARN of the Key Management Service (KMS) customer managed key that's used to encrypt your function's environment
132-
* variables [^1]. When Lambda SnapStart [^2] is activated, Lambda also uses this key is to encrypt your function's
133-
* snapshot. If you deploy your function using a container image, Lambda also uses this key to encrypt your function
134-
* when it's deployed. Note that this is not the same key that's used to protect your container image in the Amazon
135-
* Elastic Container Registry (Amazon ECR). If you don't provide a customer managed key, Lambda uses a default service
136-
* key.
131+
* The ARN of the Key Management Service (KMS) customer managed key that's used to encrypt the following resources:
132+
*
133+
* - The function's environment variables [^1].
134+
* - The function's Lambda SnapStart [^2] snapshots.
135+
* - When used with `SourceKMSKeyArn`, the unzipped version of the .zip deployment package that's used for function
136+
* invocations. For more information, see Specifying a customer managed key for Lambda [^3].
137+
* - The optimized version of the container image that's used for function invocations. Note that this is not the same
138+
* key that's used to protect your container image in the Amazon Elastic Container Registry (Amazon ECR). For more
139+
* information, see Function lifecycle [^4].
140+
*
141+
* If you don't provide a customer managed key, Lambda uses an Amazon Web Services owned key [^5] or an Amazon Web
142+
* Services managed key [^6].
137143
*
138144
* [^1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html#configuration-envvars-encryption
139145
* [^2]: https://docs.aws.amazon.com/lambda/latest/dg/snapstart-security.html
146+
* [^3]: https://docs.aws.amazon.com/lambda/latest/dg/encrypt-zip-package.html#enable-zip-custom-encryption
147+
* [^4]: https://docs.aws.amazon.com/lambda/latest/dg/images-create.html#images-lifecycle
148+
* [^5]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-owned-cmk
149+
* [^6]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-managed-cmk
140150
*
141151
* @var string|null
142152
*/

src/Result/FunctionConfiguration.php

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -152,12 +152,25 @@ class FunctionConfiguration extends Result
152152
private $environment;
153153

154154
/**
155-
* The KMS key that's used to encrypt the function's environment variables [^1]. When Lambda SnapStart [^2] is
156-
* activated, this key is also used to encrypt the function's snapshot. This key is returned only if you've configured a
157-
* customer managed key.
155+
* The ARN of the Key Management Service (KMS) customer managed key that's used to encrypt the following resources:
156+
*
157+
* - The function's environment variables [^1].
158+
* - The function's Lambda SnapStart [^2] snapshots.
159+
* - When used with `SourceKMSKeyArn`, the unzipped version of the .zip deployment package that's used for function
160+
* invocations. For more information, see Specifying a customer managed key for Lambda [^3].
161+
* - The optimized version of the container image that's used for function invocations. Note that this is not the same
162+
* key that's used to protect your container image in the Amazon Elastic Container Registry (Amazon ECR). For more
163+
* information, see Function lifecycle [^4].
164+
*
165+
* If you don't provide a customer managed key, Lambda uses an Amazon Web Services owned key [^5] or an Amazon Web
166+
* Services managed key [^6].
158167
*
159168
* [^1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html#configuration-envvars-encryption
160169
* [^2]: https://docs.aws.amazon.com/lambda/latest/dg/snapstart-security.html
170+
* [^3]: https://docs.aws.amazon.com/lambda/latest/dg/encrypt-zip-package.html#enable-zip-custom-encryption
171+
* [^4]: https://docs.aws.amazon.com/lambda/latest/dg/images-create.html#images-lifecycle
172+
* [^5]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-owned-cmk
173+
* [^6]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-managed-cmk
161174
*
162175
* @var string|null
163176
*/

src/ValueObject/FunctionConfiguration.php

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,12 +135,25 @@ final class FunctionConfiguration
135135
private $environment;
136136

137137
/**
138-
* The KMS key that's used to encrypt the function's environment variables [^1]. When Lambda SnapStart [^2] is
139-
* activated, this key is also used to encrypt the function's snapshot. This key is returned only if you've configured a
140-
* customer managed key.
138+
* The ARN of the Key Management Service (KMS) customer managed key that's used to encrypt the following resources:
139+
*
140+
* - The function's environment variables [^1].
141+
* - The function's Lambda SnapStart [^2] snapshots.
142+
* - When used with `SourceKMSKeyArn`, the unzipped version of the .zip deployment package that's used for function
143+
* invocations. For more information, see Specifying a customer managed key for Lambda [^3].
144+
* - The optimized version of the container image that's used for function invocations. Note that this is not the same
145+
* key that's used to protect your container image in the Amazon Elastic Container Registry (Amazon ECR). For more
146+
* information, see Function lifecycle [^4].
147+
*
148+
* If you don't provide a customer managed key, Lambda uses an Amazon Web Services owned key [^5] or an Amazon Web
149+
* Services managed key [^6].
141150
*
142151
* [^1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html#configuration-envvars-encryption
143152
* [^2]: https://docs.aws.amazon.com/lambda/latest/dg/snapstart-security.html
153+
* [^3]: https://docs.aws.amazon.com/lambda/latest/dg/encrypt-zip-package.html#enable-zip-custom-encryption
154+
* [^4]: https://docs.aws.amazon.com/lambda/latest/dg/images-create.html#images-lifecycle
155+
* [^5]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-owned-cmk
156+
* [^6]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-managed-cmk
144157
*
145158
* @var string|null
146159
*/

0 commit comments

Comments
 (0)