Table Of Contents

Feedback

User Guide

First time using the AWS CLI? See the User Guide for help getting started.

Note: You are viewing the documentation for an older major version of the AWS CLI (version 1).

AWS CLI version 2, the latest major version of AWS CLI, is now stable and recommended for general use. To view this page for the AWS CLI version 2, click here. For more information see the AWS CLI version 2 installation instructions and migration guide.

[ aws . s3control ]

create-access-point-for-object-lambda

Description

Creates an Object Lambda Access Point. For more information, see Transforming objects with Object Lambda Access Points in the Amazon S3 User Guide .

The following actions are related to CreateAccessPointForObjectLambda :

See also: AWS API Documentation

See 'aws help' for descriptions of global parameters.

Synopsis

  create-access-point-for-object-lambda
--account-id <value>
--name <value>
--configuration <value>
[--cli-input-json <value>]
[--generate-cli-skeleton <value>]

Options

--account-id (string)

The Amazon Web Services account ID for owner of the specified Object Lambda Access Point.

--name (string)

The name you want to assign to this Object Lambda Access Point.

--configuration (structure)

Object Lambda Access Point configuration as a JSON document.

SupportingAccessPoint -> (string)

Standard access point associated with the Object Lambda Access Point.

CloudWatchMetricsEnabled -> (boolean)

A container for whether the CloudWatch metrics configuration is enabled.

AllowedFeatures -> (list)

A container for allowed features. Valid inputs are GetObject-Range and GetObject-PartNumber .

(string)

TransformationConfigurations -> (list)

A container for transformation configurations for an Object Lambda Access Point.

(structure)

A configuration used when creating an Object Lambda Access Point transformation.

Actions -> (list)

A container for the action of an Object Lambda Access Point configuration. Valid input is GetObject .

(string)

ContentTransformation -> (structure)

A container for the content transformation of an Object Lambda Access Point configuration.

AwsLambda -> (structure)

A container for an Lambda function.

FunctionArn -> (string)

The Amazon Resource Name (ARN) of the Lambda function.

FunctionPayload -> (string)

Additional JSON that provides supplemental data to the Lambda function used to transform objects.

JSON Syntax:

{
  "SupportingAccessPoint": "string",
  "CloudWatchMetricsEnabled": true|false,
  "AllowedFeatures": ["GetObject-Range"|"GetObject-PartNumber", ...],
  "TransformationConfigurations": [
    {
      "Actions": ["GetObject", ...],
      "ContentTransformation": {
        "AwsLambda": {
          "FunctionArn": "string",
          "FunctionPayload": "string"
        }
      }
    }
    ...
  ]
}

--cli-input-json (string) Performs service operation based on the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, the CLI values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally.

--generate-cli-skeleton (string) Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input, prints a sample input JSON that can be used as an argument for --cli-input-json. If provided with the value output, it validates the command inputs and returns a sample output JSON for that command.

See 'aws help' for descriptions of global parameters.

Output

ObjectLambdaAccessPointArn -> (string)

Specifies the ARN for the Object Lambda Access Point.