Skip to main content

access_points

Creates, updates, deletes or gets an access_point resource or lists access_points in a region

Overview

Nameaccess_points
TypeResource
DescriptionThe AWS::S3ObjectLambda::AccessPoint resource is an Amazon S3ObjectLambda resource type that you can use to add computation to S3 actions
Idawscc.s3objectlambda.access_points

Fields

NameDatatypeDescription
namestringThe name you want to assign to this Object lambda Access Point.
aliasobject
arnstring
creation_datestringThe date and time when the Object lambda Access Point was created.
public_access_block_configurationobjectThe PublicAccessBlock configuration that you want to apply to this Access Point. You can enable the configuration options in any combination. For more information about when Amazon S3 considers a bucket or object public, see https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html#access-control-block-public-access-policy-status 'The Meaning of Public' in the Amazon Simple Storage Service Developer Guide.
policy_statusobject
object_lambda_configurationobjectThe Object lambda Access Point Configuration that configures transformations to be applied on the objects on specified S3 Actions
regionstringAWS region.

For more information, see AWS::S3ObjectLambda::AccessPoint.

Methods

NameResourceAccessible byRequired Params
create_resourceaccess_pointsINSERTObjectLambdaConfiguration, region
delete_resourceaccess_pointsDELETEIdentifier, region
update_resourceaccess_pointsUPDATEIdentifier, PatchDocument, region
list_resourcesaccess_points_list_onlySELECTregion
get_resourceaccess_pointsSELECTIdentifier, region

SELECT examples

Gets all properties from an individual access_point.

SELECT
region,
name,
alias,
arn,
creation_date,
public_access_block_configuration,
policy_status,
object_lambda_configuration
FROM awscc.s3objectlambda.access_points
WHERE
region = '{{ region }}' AND
Identifier = '{{ name }}';

INSERT example

Use the following StackQL query and manifest file to create a new access_point resource, using stack-deploy.

/*+ create */
INSERT INTO awscc.s3objectlambda.access_points (
ObjectLambdaConfiguration,
region
)
SELECT
'{{ object_lambda_configuration }}',
'{{ region }}'
RETURNING
ErrorCode,
EventTime,
Identifier,
Operation,
OperationStatus,
RequestToken,
ResourceModel,
RetryAfter,
StatusMessage,
TypeName
;

UPDATE example

Use the following StackQL query and manifest file to update a access_point resource, using stack-deploy.

/*+ update */
UPDATE awscc.s3objectlambda.access_points
SET PatchDocument = string('{{ {
"ObjectLambdaConfiguration": object_lambda_configuration
} | generate_patch_document }}')
WHERE
region = '{{ region }}' AND
Identifier = '{{ name }}'
RETURNING
ErrorCode,
EventTime,
Identifier,
Operation,
OperationStatus,
RequestToken,
ResourceModel,
RetryAfter,
StatusMessage,
TypeName
;

DELETE example

/*+ delete */
DELETE FROM awscc.s3objectlambda.access_points
WHERE
Identifier = '{{ name }}' AND
region = '{{ region }}'
RETURNING
ErrorCode,
EventTime,
Identifier,
Operation,
OperationStatus,
RequestToken,
ResourceModel,
RetryAfter,
StatusMessage,
TypeName
;

Additional Parameters

Mutable resources in the Cloud Control provider support additional optional parameters which can be supplied with INSERT, UPDATE, or DELETE operations. These include:

ParameterDescription
ClientToken
A unique identifier to ensure the idempotency of the resource request.This allows the provider to accurately distinguish between retries and new requests.
A client token is valid for 36 hours once used.
After that, a resource request with the same client token is treated as a new request.
If you do not specify a client token, one is generated for inclusion in the request.
RoleArn
The ARN of the IAM role used to perform this resource operation.The role specified must have the permissions required for this operation.
If you do not specify a role, a temporary session is created using your AWS user credentials.
TypeVersionId
For private resource types, the type version to use in this resource operation.If you do not specify a resource version, the default version is used.

Permissions

To operate on the access_points resource, the following permissions are required:

s3:CreateAccessPointForObjectLambda,
s3:PutAccessPointConfigurationForObjectLambda,
s3:GetAccessPointForObjectLambda,
s3:GetAccessPointPolicyStatusForObjectLambda,
s3:GetAccessPointConfigurationForObjectLambda