Skip to main content

access_point_policy_for_object_lambdas

Creates, updates, deletes, gets or lists an access_point_policy_for_object_lambdas resource.

Overview

Nameaccess_point_policy_for_object_lambdas
TypeResource
Idaws.s3control.access_point_policy_for_object_lambdas

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
policystringObject Lambda Access Point resource policy document.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_access_point_policy_for_object_lambdaselectx-amz-account-id, name, regionThis 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_lambdareplacex-amz-account-id, name, regionThis 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_lambdadeletex-amz-account-id, name, regionThis 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.

NameDatatypeDescription
namestringThe name of the Object Lambda Access Point you want to delete the policy for.
regionstringAWS region (default: us-east-1)
x-amz-account-idstringThe account ID for the account that owns the specified Object Lambda Access Point.

SELECT examples

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

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

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
;