Skip to content
v2.277.0

CfnAccessPointPolicyProps Struct ​

Properties for defining a CfnAccessPointPolicy.

Example ​

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
# 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
// 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();
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
};
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 ​

objectLambdaAccessPointstringobject_lambda_access_pointstrobjectLambdaAccessPointStringObjectLambdaAccessPointstringObjectLambdaAccessPoint*string required #
An access point with an attached AWS Lambda function used to access transformed data from an Amazon S3 bucket.
policyDocumentanypolicy_documentAnypolicyDocumentObjectPolicyDocumentobjectPolicyDocumentinterface{} required #
Object Lambda Access Point resource policy document.