# CfnAccessPointPolicyProps

Properties for defining a `CfnAccessPointPolicy`.

Used as props by: [CfnAccessPointPolicy](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_s3objectlambda.CfnAccessPointPolicy.html)

- Source: Generated at build time

## 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 policyDocument: any;
const cfnAccessPointPolicyProps: s3objectlambda.CfnAccessPointPolicyProps = {
  objectLambdaAccessPoint: 'objectLambdaAccessPoint',
  policyDocument: policyDocument,
};
```

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

# policy_document: Any

cfn_access_point_policy_props = s3objectlambda.CfnAccessPointPolicyProps(
    object_lambda_access_point="objectLambdaAccessPoint",
    policy_document=policy_document
)
```

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 policyDocument;

CfnAccessPointPolicyProps cfnAccessPointPolicyProps = CfnAccessPointPolicyProps.builder()
        .objectLambdaAccessPoint("objectLambdaAccessPoint")
        .policyDocument(policyDocument)
        .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 policyDocument;

var cfnAccessPointPolicyProps = new CfnAccessPointPolicyProps {
    ObjectLambdaAccessPoint = "objectLambdaAccessPoint",
    PolicyDocument = policyDocument
};
```

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 policyDocument interface{}

cfnAccessPointPolicyProps := &CfnAccessPointPolicyProps{
	ObjectLambdaAccessPoint: jsii.String("objectLambdaAccessPoint"),
	PolicyDocument: policyDocument,
}
```

## Properties

- `objectLambdaAccessPoint`: string (required) — An access point with an attached AWS Lambda function used to access transformed data from an Amazon S3 bucket.

- `policyDocument`: any (required) — Object Lambda Access Point resource policy document.
