public static final class LambdaToElasticachememcached.Builder extends Object implements software.amazon.jsii.Builder<LambdaToElasticachememcached>
LambdaToElasticachememcached.| Modifier and Type | Method and Description |
|---|---|
LambdaToElasticachememcached |
build() |
LambdaToElasticachememcached.Builder |
cacheEndpointEnvironmentVariableName(String cacheEndpointEnvironmentVariableName)
Optional Name for the Lambda function environment variable set to the cache endpoint.
|
LambdaToElasticachememcached.Builder |
cacheProps(Object cacheProps)
Optional user provided props to override the default props for the Elasticache cache.
|
static LambdaToElasticachememcached.Builder |
create(software.constructs.Construct scope,
String id) |
LambdaToElasticachememcached.Builder |
existingCache(software.amazon.awscdk.services.elasticache.CfnCacheCluster existingCache)
Existing instance of Elasticache Cluster object, providing both this and `cacheProps` will cause an error.
|
LambdaToElasticachememcached.Builder |
existingLambdaObj(software.amazon.awscdk.services.lambda.Function existingLambdaObj)
Existing instance of Lambda Function object, providing both this and `lambdaFunctionProps` will cause an error.
|
LambdaToElasticachememcached.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).
|
LambdaToElasticachememcached.Builder |
lambdaFunctionProps(software.amazon.awscdk.services.lambda.FunctionProps lambdaFunctionProps)
Optional user provided props to override the default props for the Lambda function.
|
LambdaToElasticachememcached.Builder |
vpcProps(software.amazon.awscdk.services.ec2.VpcProps vpcProps)
Properties to override default properties if deployVpc is true.
|
public static LambdaToElasticachememcached.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.LambdaToElasticachememcached.Builder.public LambdaToElasticachememcached.Builder cacheEndpointEnvironmentVariableName(String cacheEndpointEnvironmentVariableName)
Default: - CACHE_ENDPOINT
cacheEndpointEnvironmentVariableName - Optional Name for the Lambda function environment variable set to the cache endpoint. This parameter is required.thispublic LambdaToElasticachememcached.Builder cacheProps(Object cacheProps)
Providing both this and existingCache will cause an error. If you provide this,
you must provide the associated VPC in existingVpc.
Default: - Default properties are used (core/lib/elasticacahe-defaults.ts)
cacheProps - Optional user provided props to override the default props for the Elasticache cache. This parameter is required.thispublic LambdaToElasticachememcached.Builder existingCache(software.amazon.awscdk.services.elasticache.CfnCacheCluster existingCache)
Default: - none
existingCache - Existing instance of Elasticache Cluster object, providing both this and `cacheProps` will cause an error. This parameter is required.thispublic LambdaToElasticachememcached.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 LambdaToElasticachememcached.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 LambdaToElasticachememcached.Builder lambdaFunctionProps(software.amazon.awscdk.services.lambda.FunctionProps lambdaFunctionProps)
Default: - Default properties are used.
lambdaFunctionProps - Optional user provided props to override the default props for the Lambda function. This parameter is required.thispublic LambdaToElasticachememcached.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 LambdaToElasticachememcached build()
build in interface software.amazon.jsii.Builder<LambdaToElasticachememcached>Copyright © 2023. All rights reserved.