public static final class LambdaToSsmstringparameter.Builder extends Object implements software.amazon.jsii.Builder<LambdaToSsmstringparameter>
LambdaToSsmstringparameter.| Modifier and Type | Method and Description |
|---|---|
LambdaToSsmstringparameter |
build() |
static LambdaToSsmstringparameter.Builder |
create(software.constructs.Construct scope,
String id) |
LambdaToSsmstringparameter.Builder |
deployVpc(Boolean deployVpc)
Whether to deploy a new VPC.
|
LambdaToSsmstringparameter.Builder |
existingLambdaObj(software.amazon.awscdk.services.lambda.Function existingLambdaObj)
Existing instance of Lambda Function object, if this is set then the lambdaFunctionProps is ignored.
|
LambdaToSsmstringparameter.Builder |
existingStringParameterObj(software.amazon.awscdk.services.ssm.StringParameter existingStringParameterObj)
Existing instance of SSM String parameter object, If this is set then the stringParameterProps is ignored.
|
LambdaToSsmstringparameter.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).
|
LambdaToSsmstringparameter.Builder |
lambdaFunctionProps(software.amazon.awscdk.services.lambda.FunctionProps lambdaFunctionProps)
User provided props to override the default props for the Lambda function.
|
LambdaToSsmstringparameter.Builder |
stringParameterEnvironmentVariableName(String stringParameterEnvironmentVariableName)
Optional Name for the Lambda function environment variable set to the name of the parameter.
|
LambdaToSsmstringparameter.Builder |
stringParameterPermissions(String stringParameterPermissions)
Optional SSM String parameter permissions to grant to the Lambda function.
|
LambdaToSsmstringparameter.Builder |
stringParameterProps(software.amazon.awscdk.services.ssm.StringParameterProps stringParameterProps)
Optional user provided props to override the default props for SSM String parameter.
|
LambdaToSsmstringparameter.Builder |
vpcProps(software.amazon.awscdk.services.ec2.VpcProps vpcProps)
Properties to override default properties if deployVpc is true.
|
public static LambdaToSsmstringparameter.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.LambdaToSsmstringparameter.Builder.public LambdaToSsmstringparameter.Builder deployVpc(Boolean deployVpc)
Default: - false
deployVpc - Whether to deploy a new VPC. This parameter is required.thispublic LambdaToSsmstringparameter.Builder existingLambdaObj(software.amazon.awscdk.services.lambda.Function existingLambdaObj)
Default: - None
existingLambdaObj - Existing instance of Lambda Function object, if this is set then the lambdaFunctionProps is ignored. This parameter is required.thispublic LambdaToSsmstringparameter.Builder existingStringParameterObj(software.amazon.awscdk.services.ssm.StringParameter existingStringParameterObj)
Default: - Default props are used
existingStringParameterObj - Existing instance of SSM String parameter object, If this is set then the stringParameterProps is ignored. This parameter is required.thispublic LambdaToSsmstringparameter.Builder existingVpc(software.amazon.awscdk.services.ec2.IVpc existingVpc)
existingVpc - An existing VPC for the construct to use (construct will NOT create a new VPC in this case). This parameter is required.thispublic LambdaToSsmstringparameter.Builder lambdaFunctionProps(software.amazon.awscdk.services.lambda.FunctionProps lambdaFunctionProps)
Default: - Default properties are used.
lambdaFunctionProps - User provided props to override the default props for the Lambda function. This parameter is required.thispublic LambdaToSsmstringparameter.Builder stringParameterEnvironmentVariableName(String stringParameterEnvironmentVariableName)
Default: - SSM_STRING_PARAMETER_NAME
stringParameterEnvironmentVariableName - Optional Name for the Lambda function environment variable set to the name of the parameter. This parameter is required.thispublic LambdaToSsmstringparameter.Builder stringParameterPermissions(String stringParameterPermissions)
One of the following may be specified: "Read", "ReadWrite".
Default: - Read access is given to the Lambda function if no value is specified.
stringParameterPermissions - Optional SSM String parameter permissions to grant to the Lambda function. This parameter is required.thispublic LambdaToSsmstringparameter.Builder stringParameterProps(software.amazon.awscdk.services.ssm.StringParameterProps stringParameterProps)
If existingStringParameterObj is not set stringParameterProps is required. The only supported string parameter type is ParameterType.STRING.
Default: - Default props are used
stringParameterProps - Optional user provided props to override the default props for SSM String parameter. This parameter is required.thispublic LambdaToSsmstringparameter.Builder vpcProps(software.amazon.awscdk.services.ec2.VpcProps vpcProps)
vpcProps - Properties to override default properties if deployVpc is true. This parameter is required.thispublic LambdaToSsmstringparameter build()
build in interface software.amazon.jsii.Builder<LambdaToSsmstringparameter>Copyright © 2022. All rights reserved.