access_point_policy_for_object_lambdas
Creates, updates, deletes, gets or lists an access_point_policy_for_object_lambdas resource.
Overview
| Name | access_point_policy_for_object_lambdas |
| Type | Resource |
| Id | aws.s3control.access_point_policy_for_object_lambdas |
Fields
The following fields are returned by SELECT queries:
- get_access_point_policy_for_object_lambda
| Name | Datatype | Description |
|---|---|---|
policy | string | Object Lambda Access Point resource policy document. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_access_point_policy_for_object_lambda | select | x-amz-account-id, name, region | This operation is not supported by directory buckets. Returns the resource policy for an Object Lambda Access Point. The following actions are related to GetAccessPointPolicyForObjectLambda: DeleteAccessPointPolicyForObjectLambda PutAccessPointPolicyForObjectLambda | |
put_access_point_policy_for_object_lambda | replace | x-amz-account-id, name, region | This operation is not supported by directory buckets. Creates or replaces resource policy for an Object Lambda Access Point. For an example policy, see Creating Object Lambda Access Points in the Amazon S3 User Guide. The following actions are related to PutAccessPointPolicyForObjectLambda: DeleteAccessPointPolicyForObjectLambda GetAccessPointPolicyForObjectLambda | |
delete_access_point_policy_for_object_lambda | delete | x-amz-account-id, name, region | This operation is not supported by directory buckets. Removes the resource policy for an Object Lambda Access Point. The following actions are related to DeleteAccessPointPolicyForObjectLambda: GetAccessPointPolicyForObjectLambda PutAccessPointPolicyForObjectLambda |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
name | string | The name of the Object Lambda Access Point you want to delete the policy for. |
region | string | AWS region (default: us-east-1) |
x-amz-account-id | string | The account ID for the account that owns the specified Object Lambda Access Point. |
SELECT examples
- get_access_point_policy_for_object_lambda
This operation is not supported by directory buckets. Returns the resource policy for an Object Lambda Access Point. The following actions are related to GetAccessPointPolicyForObjectLambda: DeleteAccessPointPolicyForObjectLambda PutAccessPointPolicyForObjectLambda
SELECT
policy
FROM aws.s3control.access_point_policy_for_object_lambdas
WHERE `x-amz-account-id` = '{{ x-amz-account-id }}' -- required
AND name = '{{ name }}' -- required
AND region = '{{ region }}' -- required
;
REPLACE examples
- put_access_point_policy_for_object_lambda
This operation is not supported by directory buckets. Creates or replaces resource policy for an Object Lambda Access Point. For an example policy, see Creating Object Lambda Access Points in the Amazon S3 User Guide. The following actions are related to PutAccessPointPolicyForObjectLambda: DeleteAccessPointPolicyForObjectLambda GetAccessPointPolicyForObjectLambda
REPLACE aws.s3control.access_point_policy_for_object_lambdas
SET
Policy = '{{ Policy }}'
WHERE
`x-amz-account-id` = '{{ x-amz-account-id }}' --required
AND name = '{{ name }}' --required
AND region = '{{ region }}' --required;
DELETE examples
- delete_access_point_policy_for_object_lambda
This operation is not supported by directory buckets. Removes the resource policy for an Object Lambda Access Point. The following actions are related to DeleteAccessPointPolicyForObjectLambda: GetAccessPointPolicyForObjectLambda PutAccessPointPolicyForObjectLambda
DELETE FROM aws.s3control.access_point_policy_for_object_lambdas
WHERE `x-amz-account-id` = '{{ x-amz-account-id }}' --required
AND name = '{{ name }}' --required
AND region = '{{ region }}' --required
;