AwsLambdaProperty 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 awsLambdaProperty: s3objectlambda.CfnAccessPoint.AwsLambdaProperty = {
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
aws_lambda_property = 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.*;
AwsLambdaProperty awsLambdaProperty = AwsLambdaProperty.builder()
.functionArn("functionArn")
// the properties below are optional
.functionPayload("functionPayload")
.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 awsLambdaProperty = 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"
awsLambdaProperty := &AwsLambdaProperty{
FunctionArn: jsii.String("functionArn"),
// the properties below are optional
FunctionPayload: jsii.String("functionPayload"),
}