@cdklabs/generative-ai-cdk-constructs • Docs
@cdklabs/generative-ai-cdk-constructs / ContentGenerationAppSyncLambdaProps
The properties for the ContentGenerationAppSyncLambdaProps class.
readonly
cognitoUserPool:IUserPool
Cognito user pool used for authentication.
- None
readonly
optional
customDockerLambdaProps:DockerLambdaCustomProps
Optional. Allows to provide custom lambda code and settings instead of the existing
readonly
optional
existingBusInterface:IEventBus
Optional Existing instance of an EventBridge bus. If not provided, the construct will create one.
- None
readonly
optional
existingGeneratedAssetsBucketObj:IBucket
Existing instance of S3 Bucket object, providing both this and generatedAssetsBucketProps
will cause an error.
- None
readonly
optional
existingMergedApi:CfnGraphQLApi
Existing merged Appsync GraphQL api.
- None
readonly
optional
existingSecurityGroup:ISecurityGroup
Optional existing security group allowing access to opensearch. Used by the lambda functions built by this construct. If not provided, the construct will create one.
- none
readonly
optional
existingVpc:IVpc
Optional An existing VPC in which to deploy the construct. Providing both this and vpcProps is an error.
- none
readonly
optional
generatedAssetsBucketProps:BucketProps
Optional user provided props to override the default props for the S3 Bucket.
Providing both this and existingGeneratedAssetsBucketObj
will cause an error.
- Default props are used
readonly
optional
lambdaProvisionedConcurrency:number
Optional. Allows a user to configure Lambda provisioned concurrency for consistent performance
readonly
optional
observability:boolean
Enable observability. Warning: associated cost with the services used. Best practive to enable by default.
- true
readonly
optional
stage:string
Value will be appended to resources name.
- _dev
readonly
optional
vpcProps:VpcProps
Optional custom properties for a VPC the construct will create. This VPC will be used by the Lambda functions the construct creates. Providing both this and existingVpc is an error.
- none