# ObjectLambdaConfigurationProperty

A configuration used when creating an Object Lambda Access Point.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_s3objectlambda as s3objectlambda } from 'aws-cdk-lib';

declare const contentTransformation: any;
const objectLambdaConfigurationProperty: s3objectlambda.CfnAccessPoint.ObjectLambdaConfigurationProperty = {
  supportingAccessPoint: 'supportingAccessPoint',
  transformationConfigurations: [{
    actions: ['actions'],
    contentTransformation: contentTransformation,
  }],

  // the properties below are optional
  allowedFeatures: ['allowedFeatures'],
  cloudWatchMetricsEnabled: false,
};
```

Python:

```python
# 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

object_lambda_configuration_property = 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
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.s3objectlambda.*;

Object contentTransformation;

ObjectLambdaConfigurationProperty objectLambdaConfigurationProperty = ObjectLambdaConfigurationProperty.builder()
        .supportingAccessPoint("supportingAccessPoint")
        .transformationConfigurations(List.of(TransformationConfigurationProperty.builder()
                .actions(List.of("actions"))
                .contentTransformation(contentTransformation)
                .build()))

        // the properties below are optional
        .allowedFeatures(List.of("allowedFeatures"))
        .cloudWatchMetricsEnabled(false)
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.S3ObjectLambda;

var contentTransformation;

var objectLambdaConfigurationProperty = new ObjectLambdaConfigurationProperty {
    SupportingAccessPoint = "supportingAccessPoint",
    TransformationConfigurations = new [] { new TransformationConfigurationProperty {
        Actions = new [] { "actions" },
        ContentTransformation = contentTransformation
    } },

    // the properties below are optional
    AllowedFeatures = new [] { "allowedFeatures" },
    CloudWatchMetricsEnabled = false
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

var contentTransformation interface{}

objectLambdaConfigurationProperty := &ObjectLambdaConfigurationProperty{
	SupportingAccessPoint: jsii.String("supportingAccessPoint"),
	TransformationConfigurations: []interface{}{
		&TransformationConfigurationProperty{
			Actions: []*string{
				jsii.String("actions"),
			},
			ContentTransformation: contentTransformation,
		},
	},

	// the properties below are optional
	AllowedFeatures: []*string{
		jsii.String("allowedFeatures"),
	},
	CloudWatchMetricsEnabled: jsii.Boolean(false),
}
```

## Properties

- `allowedFeatures`: string[] — A container for allowed features.

  Valid inputs are `GetObject-Range` , `GetObject-PartNumber` , `HeadObject-Range` , and `HeadObject-PartNumber` .

- `cloudWatchMetricsEnabled`: boolean | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) — A container for whether the CloudWatch metrics configuration is enabled.

- `supportingAccessPoint`: string (required) — Standard access point associated with the Object Lambda Access Point.

- `transformationConfigurations`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnAccessPoint.TransformationConfigurationProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_s3objectlambda.CfnAccessPoint.TransformationConfigurationProperty.html)[] (required) — A container for transformation configurations for an Object Lambda Access Point.
