Skip to content

Commit 4c88540

Browse files
committed
Periodic update - 06/10/2022
1 parent 174fd25 commit 4c88540

File tree

348 files changed

+3403
-1118
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

348 files changed

+3403
-1118
lines changed

doc_source/.DS_Store

-6 KB
Binary file not shown.

doc_source/API_AccountLimit.md

100755100644
File mode changed.

doc_source/API_AccountUsage.md

100755100644
File mode changed.

doc_source/API_AddLayerVersionPermission.md

100755100644
File mode changed.

doc_source/API_AddPermission.md

100755100644
Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# AddPermission<a name="API_AddPermission"></a>
22

3-
Grants an AWS service or another account permission to use a function\. You can apply the policy at the function level, or specify a qualifier to restrict access to a single version or alias\. If you use a qualifier, the invoker must use the full Amazon Resource Name \(ARN\) of that version or alias to invoke the function\. Note: Lambda does not support adding policies to version $LATEST\.
3+
Grants an AWS service, account, or organization permission to use a function\. You can apply the policy at the function level, or specify a qualifier to restrict access to a single version or alias\. If you use a qualifier, the invoker must use the full Amazon Resource Name \(ARN\) of that version or alias to invoke the function\. Note: Lambda does not support adding policies to version $LATEST\.
44

5-
To grant permission to another account, specify the account ID as the `Principal`\. For AWS services, the principal is a domain\-style identifier defined by the service, like `s3.amazonaws.com` or `sns.amazonaws.com`\. For AWS services, you can also specify the ARN of the associated resource as the `SourceArn`\. If you grant permission to a service principal without specifying the source, other accounts could potentially configure resources in their account to invoke your Lambda function\.
5+
To grant permission to another account, specify the account ID as the `Principal`\. To grant permission to an organization defined in AWS Organizations, specify the organization ID as the `PrincipalOrgID`\. For AWS services, the principal is a domain\-style identifier defined by the service, like `s3.amazonaws.com` or `sns.amazonaws.com`\. For AWS services, you can also specify the ARN of the associated resource as the `SourceArn`\. If you grant permission to a service principal without specifying the source, other accounts could potentially configure resources in their account to invoke your Lambda function\.
66

77
This action adds a statement to a resource\-based permissions policy for the function\. For more information about function policies, see [Lambda Function Policies](https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html)\.
88

@@ -15,7 +15,9 @@ Content-type: application/json
1515
{
1616
"Action": "string",
1717
"EventSourceToken": "string",
18+
"FunctionUrlAuthType": "string",
1819
"Principal": "string",
20+
"PrincipalOrgID": "string",
1921
"RevisionId": "string",
2022
"SourceAccount": "string",
2123
"SourceArn": "string",
@@ -59,6 +61,12 @@ For Alexa Smart Home functions, a token that must be supplied by the invoker\.
5961
Type: String
6062
Length Constraints: Minimum length of 0\. Maximum length of 256\.
6163
Pattern: `[a-zA-Z0-9._\-]+`
64+
Required: No
65+
66+
** [FunctionUrlAuthType](#API_AddPermission_RequestSyntax) ** <a name="SSS-AddPermission-request-FunctionUrlAuthType"></a>
67+
The type of authentication that your function URL uses\. Set to `AWS_IAM` if you want to restrict access to authenticated `IAM` users only\. Set to `NONE` if you want to bypass IAM authentication to create a public endpoint\. For more information, see [ Security and auth model for Lambda function URLs](https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html)\.
68+
Type: String
69+
Valid Values:` NONE | AWS_IAM`
6270
Required: No
6371

6472
** [Principal](#API_AddPermission_RequestSyntax) ** <a name="SSS-AddPermission-request-Principal"></a>
@@ -67,6 +75,13 @@ Type: String
6775
Pattern: `[^\s]+`
6876
Required: Yes
6977

78+
** [PrincipalOrgID](#API_AddPermission_RequestSyntax) ** <a name="SSS-AddPermission-request-PrincipalOrgID"></a>
79+
The identifier for your organization in AWS Organizations\. Use this to grant permissions to all the AWS accounts under this organization\.
80+
Type: String
81+
Length Constraints: Minimum length of 12\. Maximum length of 34\.
82+
Pattern: `^o-[a-z0-9]{10,32}$`
83+
Required: No
84+
7085
** [RevisionId](#API_AddPermission_RequestSyntax) ** <a name="SSS-AddPermission-request-RevisionId"></a>
7186
Only update the policy if the revision ID matches the ID that's specified\. Use this option to avoid modifying a policy that has changed since you last read it\.
7287
Type: String

doc_source/API_AliasConfiguration.md

100755100644
File mode changed.

doc_source/API_AliasRoutingConfiguration.md

100755100644
File mode changed.

doc_source/API_AllowedPublishers.md

100755100644
File mode changed.

doc_source/API_CodeSigningConfig.md

100755100644
File mode changed.

doc_source/API_CodeSigningPolicies.md

100755100644
File mode changed.

0 commit comments

Comments
 (0)