CfnAccessPointProps

class aws_cdk.aws_s3objectlambda.CfnAccessPointProps(*, object_lambda_configuration, name=None)

Bases: object

Properties for defining a CfnAccessPoint.

Parameters:
  • object_lambda_configuration (Union[IResolvable, ObjectLambdaConfigurationProperty, Dict[str, Any]]) – A configuration used when creating an Object Lambda Access Point.

  • name (Optional[str]) – The name of this access point.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3objectlambda-accesspoint.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_s3objectlambda as s3objectlambda

# content_transformation: Any

cfn_access_point_props = s3objectlambda.CfnAccessPointProps(
    object_lambda_configuration=s3objectlambda.CfnAccessPoint.ObjectLambdaConfigurationProperty(
        supporting_access_point="supportingAccessPoint",
        transformation_configurations=[s3objectlambda.CfnAccessPoint.TransformationConfigurationProperty(
            actions=["actions"],
            content_transformation=content_transformation
        )],

        # the properties below are optional
        allowed_features=["allowedFeatures"],
        cloud_watch_metrics_enabled=False
    ),

    # the properties below are optional
    name="name"
)

Attributes

name

The name of this access point.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3objectlambda-accesspoint.html#cfn-s3objectlambda-accesspoint-name

object_lambda_configuration

A configuration used when creating an Object Lambda Access Point.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3objectlambda-accesspoint.html#cfn-s3objectlambda-accesspoint-objectlambdaconfiguration