public static final class LambdaToElasticachememcachedProps.Builder extends Object implements software.amazon.jsii.Builder<LambdaToElasticachememcachedProps>
LambdaToElasticachememcachedProps| Constructor and Description |
|---|
Builder() |
public LambdaToElasticachememcachedProps.Builder cacheEndpointEnvironmentVariableName(String cacheEndpointEnvironmentVariableName)
cacheEndpointEnvironmentVariableName - Optional Name for the Lambda function environment variable set to the cache endpoint.thispublic LambdaToElasticachememcachedProps.Builder cacheProps(Object cacheProps)
LambdaToElasticachememcachedProps.getCacheProps()cacheProps - Optional user provided props to override the default props for the Elasticache cache.
Providing both this and existingCache will cause an error. If you provide this,
you must provide the associated VPC in existingVpc.thispublic LambdaToElasticachememcachedProps.Builder existingCache(software.amazon.awscdk.services.elasticache.CfnCacheCluster existingCache)
LambdaToElasticachememcachedProps.getExistingCache()existingCache - Existing instance of Elasticache Cluster object, providing both this and `cacheProps` will cause an error.thispublic LambdaToElasticachememcachedProps.Builder existingLambdaObj(software.amazon.awscdk.services.lambda.Function existingLambdaObj)
LambdaToElasticachememcachedProps.getExistingLambdaObj()existingLambdaObj - Existing instance of Lambda Function object, providing both this and `lambdaFunctionProps` will cause an error.thispublic LambdaToElasticachememcachedProps.Builder existingVpc(software.amazon.awscdk.services.ec2.IVpc existingVpc)
LambdaToElasticachememcachedProps.getExistingVpc()existingVpc - An existing VPC for the construct to use (construct will NOT create a new VPC in this case).thispublic LambdaToElasticachememcachedProps.Builder lambdaFunctionProps(software.amazon.awscdk.services.lambda.FunctionProps lambdaFunctionProps)
LambdaToElasticachememcachedProps.getLambdaFunctionProps()lambdaFunctionProps - Optional user provided props to override the default props for the Lambda function.thispublic LambdaToElasticachememcachedProps.Builder vpcProps(software.amazon.awscdk.services.ec2.VpcProps vpcProps)
LambdaToElasticachememcachedProps.getVpcProps()vpcProps - Properties to override default properties if deployVpc is true.thispublic LambdaToElasticachememcachedProps build()
build in interface software.amazon.jsii.Builder<LambdaToElasticachememcachedProps>LambdaToElasticachememcachedPropsNullPointerException - if any required attribute was not providedCopyright © 2023. All rights reserved.