generative-ai-cdk-constructs

@cdklabs/generative-ai-cdk-constructs


@cdklabs/generative-ai-cdk-constructs / QaAppsyncOpensearchProps

Interface: QaAppsyncOpensearchProps

The properties for the QaAppsyncOpensearchProps class.

Properties

bucketInputsAssetsProps?

readonly optional bucketInputsAssetsProps: BucketProps

Optional user provided props to override the default props for the S3 Bucket. Providing both this and existingInputAssetsBucketObj will cause an error.

Default

- Default props are used

cognitoUserPool

readonly cognitoUserPool: IUserPool

Cognito user pool used for authentication.

Default

- None

customDockerLambdaProps?

readonly optional customDockerLambdaProps: DockerLambdaCustomProps

Optional. Allows to provide custom lambda code and settings instead of the existing


existingBusInterface?

readonly optional existingBusInterface: IEventBus

Optional Existing instance of an EventBridge bus. If not provided, the construct will create one.

Default

- None

existingInputAssetsBucketObj?

readonly optional existingInputAssetsBucketObj: IBucket

Existing instance of S3 Bucket object, providing both this and bucketInputsAssetsProps will cause an error.

Default

- None

existingMergedApi?

readonly optional existingMergedApi: CfnGraphQLApi

Existing merged Appsync GraphQL api.

Default

- None

existingOpensearchDomain?

readonly optional existingOpensearchDomain: IDomain

Existing Amazon OpenSearch Service domain.

Default

- None

existingOpensearchServerlessCollection?

readonly optional existingOpensearchServerlessCollection: CfnCollection

Existing Amazon OpenSearch Serverless collection.

Default

- None

existingSecurityGroup?

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.

Default

- none

existingVpc?

readonly optional existingVpc: IVpc

Optional An existing VPC in which to deploy the construct. Providing both this and vpcProps is an error.

Default

- none

lambdaProvisionedConcurrency?

readonly optional lambdaProvisionedConcurrency: number

Optional. Allows a user to configure Lambda provisioned concurrency for consistent performance


observability?

readonly optional observability: boolean

Enable observability. Warning: associated cost with the services used. Best practive to enable by default.

Default

- true

openSearchIndexName

readonly openSearchIndexName: string

Data Index name for the OpenSearch Service.

Default

- None

openSearchSecret?

readonly optional openSearchSecret: ISecret

Optional. SecretsManager secret to authenticate against the OpenSearch Service domain if domain is configured with Username/Password.

Default

- None

stage?

readonly optional stage: string

Value will be appended to resources name.

Default

- _dev

vpcProps?

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.

Default

- none