CfnAccessPointProps Struct
Properties for defining a CfnAccessPoint.
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 contentTransformation: any;
const cfnAccessPointProps: s3objectlambda.CfnAccessPointProps = {
objectLambdaConfiguration: {
supportingAccessPoint: 'supportingAccessPoint',
transformationConfigurations: [{
actions: ['actions'],
contentTransformation: contentTransformation,
}],
// the properties below are optional
allowedFeatures: ['allowedFeatures'],
cloudWatchMetricsEnabled: false,
},
// the properties below are optional
name: 'name',
};
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
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"
)
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;
CfnAccessPointProps cfnAccessPointProps = CfnAccessPointProps.builder()
.objectLambdaConfiguration(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())
// the properties below are optional
.name("name")
.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 contentTransformation;
var cfnAccessPointProps = new CfnAccessPointProps {
ObjectLambdaConfiguration = new ObjectLambdaConfigurationProperty {
SupportingAccessPoint = "supportingAccessPoint",
TransformationConfigurations = new [] { new TransformationConfigurationProperty {
Actions = new [] { "actions" },
ContentTransformation = contentTransformation
} },
// the properties below are optional
AllowedFeatures = new [] { "allowedFeatures" },
CloudWatchMetricsEnabled = false
},
// the properties below are optional
Name = "name"
};
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{}
cfnAccessPointProps := &CfnAccessPointProps{
ObjectLambdaConfiguration: &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),
},
// the properties below are optional
Name: jsii.String("name"),
}
Properties
The name of this access point.
objectLambdaConfigurationIResolvable | CfnAccessPoint.ObjectLambdaConfigurationPropertyobject_lambda_configurationtyping.Union[IResolvable, ObjectLambdaConfigurationProperty]objectLambdaConfigurationIResolvableObjectLambdaConfigurationIResolvableObjectLambdaConfigurationinterface{}required#A configuration used when creating an Object Lambda Access Point.