[ 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 | --cli-input-yaml]
[--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 | --cli-input-yaml (string) Reads arguments from the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, those 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. This may not be specified along with --cli-input-yaml.

--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. Similarly, if provided yaml-input it will print a sample input YAML that can be used with --cli-input-yaml. 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.