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
feat(client-lambda): Release FilterCriteria encryption for Lambda EventSourceMapping, enabling customers to encrypt their filter criteria using a customer-owned KMS key.
* <p>Grants an Amazon Web Service, Amazon Web Services account, or Amazon Web Services organization
31
+
* <p>Grants an Amazon Web Servicesservice, Amazon Web Services account, or Amazon Web Services organization
32
32
* permission to use a function. You can apply the policy at the function level, or specify a qualifier to restrict
33
33
* access to a single version or alias. If you use a qualifier, the invoker must use the full Amazon Resource Name
34
34
* (ARN) of that version or alias to invoke the function. Note: Lambda does not support adding policies
35
35
* to version $LATEST.</p>
36
36
* <p>To grant permission to another account, specify the account ID as the <code>Principal</code>. To grant
37
37
* permission to an organization defined in Organizations, specify the organization ID as the
38
-
* <code>PrincipalOrgID</code>. For Amazon Web Services, the principal is a domain-style identifier that
39
-
* the service defines, such as <code>s3.amazonaws.com</code> or <code>sns.amazonaws.com</code>. For Amazon Web Services, you can also specify the ARN of the associated resource as the <code>SourceArn</code>. If
38
+
* <code>PrincipalOrgID</code>. For Amazon Web Servicesservices, the principal is a domain-style identifier that
39
+
* the service defines, such as <code>s3.amazonaws.com</code> or <code>sns.amazonaws.com</code>. For Amazon Web Servicesservices, you can also specify the ARN of the associated resource as the <code>SourceArn</code>. If
40
40
* you grant permission to a service principal without specifying the source, other accounts could potentially
41
41
* configure resources in their account to invoke your Lambda function.</p>
42
42
* <p>This operation adds a statement to a resource-based permissions policy for the function. For more information
* <p>Creates a Lambda function. To create a function, you need a <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-package.html">deployment package</a> and an <a href="https://docs.aws.amazon.com/lambda/latest/dg/intro-permission-model.html#lambda-intro-execution-role">execution role</a>. The
37
37
* deployment package is a .zip file archive or container image that contains your function code. The execution role
38
-
* grants the function permission to use Amazon Web Services, such as Amazon CloudWatch Logs for log
38
+
* grants the function permission to use Amazon Web Servicesservices, such as Amazon CloudWatch Logs for log
39
39
* streaming and X-Ray for request tracing.</p>
40
40
* <p>If the deployment package is a <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-images.html">container
41
41
* image</a>, then you set the package type to <code>Image</code>. For a container image, the code property
* <a>UpdateFunctionCode</a>, Lambda checks that the code package has a valid signature from
67
67
* a trusted publisher. The code-signing configuration includes set of signing profiles, which define the trusted
68
68
* publishers for this function.</p>
69
-
* <p>If another Amazon Web Services account or an Amazon Web Service invokes your function, use <a>AddPermission</a> to grant permission by creating a resource-based Identity and Access Management (IAM) policy. You can grant permissions at the function level, on a version, or on an alias.</p>
69
+
* <p>If another Amazon Web Services account or an Amazon Web Servicesservice invokes your function, use <a>AddPermission</a> to grant permission by creating a resource-based Identity and Access Management (IAM) policy. You can grant permissions at the function level, on a version, or on an alias.</p>
70
70
* <p>To invoke your function directly, use <a>Invoke</a>. To invoke your function in response to events
71
-
* in other Amazon Web Services, create an event source mapping (<a>CreateEventSourceMapping</a>),
71
+
* in other Amazon Web Servicesservices, create an event source mapping (<a>CreateEventSourceMapping</a>),
72
72
* or configure a function trigger in the other service. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-invocation.html">Invoking Lambda
* <p>Deletes a Lambda function. To delete a specific function version, use the <code>Qualifier</code> parameter.
32
32
* Otherwise, all versions and aliases are deleted. This doesn't require the user to have explicit
33
33
* permissions for <a>DeleteAlias</a>.</p>
34
-
* <p>To delete Lambda event source mappings that invoke a function, use <a>DeleteEventSourceMapping</a>. For Amazon Web Services and resources that invoke your function
34
+
* <p>To delete Lambda event source mappings that invoke a function, use <a>DeleteEventSourceMapping</a>. For Amazon Web Servicesservices and resources that invoke your function
35
35
* directly, delete the trigger in the service where you originally configured it.</p>
36
36
* @example
37
37
* Use a bare-bones client and the command you need to make an API call.
* The ARN of the Key Management Service (KMS) customer managed key that Lambda
1270
+
* uses to encrypt your function's <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html#filtering-basics">filter criteria</a>.
1271
+
* By default, Lambda does not encrypt your filter criteria object. Specify this
1272
+
* property to encrypt data using your own customer managed key.
1273
+
* </p>
1274
+
* @public
1275
+
*/
1276
+
KMSKeyArn?: string;
1277
+
}
1278
+
1279
+
/**
1280
+
* <p>An object that contains details about an error related to filter criteria encryption.</p>
1281
+
* @public
1282
+
*/
1283
+
exportinterfaceFilterCriteriaError{
1284
+
/**
1285
+
* <p>The KMS exception that resulted from filter criteria encryption or decryption.</p>
* <p>An object that defines the filter criteria that
1327
1356
* determine whether Lambda should process an event. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html">Lambda event filtering</a>.</p>
1357
+
* <p>If filter criteria is encrypted, this field shows up as <code>null</code> in the response
1358
+
* of ListEventSourceMapping API calls. You can view this field in plaintext in the response of
1359
+
* GetEventSourceMapping and DeleteEventSourceMapping calls if you have
1360
+
* <code>kms:Decrypt</code> permissions for the correct KMS key.</p>
* The ARN of the Key Management Service (KMS) customer managed key that Lambda
1489
+
* uses to encrypt your function's <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html#filtering-basics">filter criteria</a>.</p>
1490
+
* @public
1491
+
*/
1492
+
KMSKeyArn?: string;
1493
+
1494
+
/**
1495
+
* <p>An object that contains details about an error related to filter criteria encryption.</p>
* The ARN of the Key Management Service (KMS) customer managed key that Lambda
7068
+
* uses to encrypt your function's <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html#filtering-basics">filter criteria</a>.
7069
+
* By default, Lambda does not encrypt your filter criteria object. Specify this
7070
+
* property to encrypt data using your own customer managed key.
0 commit comments