public static final class LambdaToOpenSearch.Builder extends Object implements software.amazon.jsii.Builder<LambdaToOpenSearch>
LambdaToOpenSearch.| Modifier and Type | Method and Description |
|---|---|
LambdaToOpenSearch |
build() |
LambdaToOpenSearch.Builder |
cognitoDomainName(String cognitoDomainName)
Optional Amazon Cognito domain name.
|
static LambdaToOpenSearch.Builder |
create(software.constructs.Construct scope,
String id) |
LambdaToOpenSearch.Builder |
createCloudWatchAlarms(Boolean createCloudWatchAlarms)
Whether to create recommended CloudWatch alarms.
|
LambdaToOpenSearch.Builder |
deployVpc(Boolean deployVpc)
Whether to deploy a new VPC.
|
LambdaToOpenSearch.Builder |
domainEndpointEnvironmentVariableName(String domainEndpointEnvironmentVariableName)
Optional Name for the Lambda function environment variable set to the domain endpoint.
|
LambdaToOpenSearch.Builder |
existingLambdaObj(software.amazon.awscdk.services.lambda.Function existingLambdaObj)
Existing instance of Lambda Function object, providing both this and `lambdaFunctionProps` will cause an error.
|
LambdaToOpenSearch.Builder |
existingVpc(software.amazon.awscdk.services.ec2.IVpc existingVpc)
An existing VPC for the construct to use (construct will NOT create a new VPC in this case).
|
LambdaToOpenSearch.Builder |
lambdaFunctionProps(software.amazon.awscdk.services.lambda.FunctionProps lambdaFunctionProps)
User provided props to override the default props for the Lambda function.
|
LambdaToOpenSearch.Builder |
openSearchDomainName(String openSearchDomainName)
Domain name for the OpenSearch Service.
|
LambdaToOpenSearch.Builder |
openSearchDomainProps(software.amazon.awscdk.services.opensearchservice.CfnDomainProps openSearchDomainProps)
Optional user provided props to override the default props for the OpenSearch Service.
|
LambdaToOpenSearch.Builder |
vpcProps(software.amazon.awscdk.services.ec2.VpcProps vpcProps)
Properties to override default properties if deployVpc is true.
|
public static LambdaToOpenSearch.Builder create(software.constructs.Construct scope, String id)
scope - - represents the scope for all the resources. This parameter is required.id - - this is a a scope-unique id. This parameter is required.LambdaToOpenSearch.Builder.public LambdaToOpenSearch.Builder openSearchDomainName(String openSearchDomainName)
Default: - None
openSearchDomainName - Domain name for the OpenSearch Service. This parameter is required.thispublic LambdaToOpenSearch.Builder cognitoDomainName(String cognitoDomainName)
If omitted the Amazon Cognito domain will default to the OpenSearch Service domain name.
Default: - the OpenSearch Service domain name
cognitoDomainName - Optional Amazon Cognito domain name. This parameter is required.thispublic LambdaToOpenSearch.Builder createCloudWatchAlarms(Boolean createCloudWatchAlarms)
Default: - Alarms are created
createCloudWatchAlarms - Whether to create recommended CloudWatch alarms. This parameter is required.thispublic LambdaToOpenSearch.Builder deployVpc(Boolean deployVpc)
Default: - false
deployVpc - Whether to deploy a new VPC. This parameter is required.thispublic LambdaToOpenSearch.Builder domainEndpointEnvironmentVariableName(String domainEndpointEnvironmentVariableName)
Default: - DOMAIN_ENDPOINT
domainEndpointEnvironmentVariableName - Optional Name for the Lambda function environment variable set to the domain endpoint. This parameter is required.thispublic LambdaToOpenSearch.Builder existingLambdaObj(software.amazon.awscdk.services.lambda.Function existingLambdaObj)
Default: - None
existingLambdaObj - Existing instance of Lambda Function object, providing both this and `lambdaFunctionProps` will cause an error. This parameter is required.thispublic LambdaToOpenSearch.Builder existingVpc(software.amazon.awscdk.services.ec2.IVpc existingVpc)
Default: - None
existingVpc - An existing VPC for the construct to use (construct will NOT create a new VPC in this case). This parameter is required.thispublic LambdaToOpenSearch.Builder lambdaFunctionProps(software.amazon.awscdk.services.lambda.FunctionProps lambdaFunctionProps)
Default: - Default props are used
lambdaFunctionProps - User provided props to override the default props for the Lambda function. This parameter is required.thispublic LambdaToOpenSearch.Builder openSearchDomainProps(software.amazon.awscdk.services.opensearchservice.CfnDomainProps openSearchDomainProps)
Default: - Default props are used
openSearchDomainProps - Optional user provided props to override the default props for the OpenSearch Service. This parameter is required.thispublic LambdaToOpenSearch.Builder vpcProps(software.amazon.awscdk.services.ec2.VpcProps vpcProps)
Default: - DefaultIsolatedVpcProps() in vpc-defaults.ts
vpcProps - Properties to override default properties if deployVpc is true. This parameter is required.thispublic LambdaToOpenSearch build()
build in interface software.amazon.jsii.Builder<LambdaToOpenSearch>Copyright © 2023. All rights reserved.