ContentTransformationProperty Struct
| Source | |
|---|---|
| Type last changed |
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';
const contentTransformationProperty: s3objectlambda.CfnAccessPoint.ContentTransformationProperty = {
awsLambda: {
functionArn: 'functionArn',
// the properties below are optional
functionPayload: 'functionPayload',
},
};
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_property = s3objectlambda.CfnAccessPoint.ContentTransformationProperty(
aws_lambda=s3objectlambda.CfnAccessPoint.AwsLambdaProperty(
function_arn="functionArn",
# the properties below are optional
function_payload="functionPayload"
)
)
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.*;
ContentTransformationProperty contentTransformationProperty = ContentTransformationProperty.builder()
.awsLambda(AwsLambdaProperty.builder()
.functionArn("functionArn")
// the properties below are optional
.functionPayload("functionPayload")
.build())
.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 contentTransformationProperty = new ContentTransformationProperty {
AwsLambda = new AwsLambdaProperty {
FunctionArn = "functionArn",
// the properties below are optional
FunctionPayload = "functionPayload"
}
};
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"
contentTransformationProperty := &ContentTransformationProperty{
AwsLambda: &AwsLambdaProperty{
FunctionArn: jsii.String("functionArn"),
// the properties below are optional
FunctionPayload: jsii.String("functionPayload"),
},
}
Properties
awsLambdaIResolvable | CfnAccessPoint.AwsLambdaPropertyaws_lambdatyping.Union[IResolvable, AwsLambdaProperty]awsLambdaIResolvableAwsLambdaIResolvableAwsLambdainterface{} required #