S3Control / Client / put_access_point_policy_for_object_lambda

put_access_point_policy_for_object_lambda#

S3Control.Client.put_access_point_policy_for_object_lambda(**kwargs)#

Note

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:

See also: AWS API Documentation

Request Syntax

response = client.put_access_point_policy_for_object_lambda(
    AccountId='string',
    Name='string',
    Policy='string'
)
Parameters:
  • AccountId (string) –

    [REQUIRED]

    The account ID for the account that owns the specified Object Lambda Access Point.

  • Name (string) –

    [REQUIRED]

    The name of the Object Lambda Access Point.

  • Policy (string) –

    [REQUIRED]

    Object Lambda Access Point resource policy document.

Returns:

None