public static final class LambdaToSsmstringparameterProps.Builder extends Object implements software.amazon.jsii.Builder<LambdaToSsmstringparameterProps>
LambdaToSsmstringparameterProps| Constructor and Description |
|---|
Builder() |
public LambdaToSsmstringparameterProps.Builder deployVpc(Boolean deployVpc)
LambdaToSsmstringparameterProps.getDeployVpc()deployVpc - Whether to deploy a new VPC.thispublic LambdaToSsmstringparameterProps.Builder existingLambdaObj(software.amazon.awscdk.services.lambda.Function existingLambdaObj)
LambdaToSsmstringparameterProps.getExistingLambdaObj()existingLambdaObj - Existing instance of Lambda Function object, if this is set then the lambdaFunctionProps is ignored.thispublic LambdaToSsmstringparameterProps.Builder existingStringParameterObj(software.amazon.awscdk.services.ssm.StringParameter existingStringParameterObj)
LambdaToSsmstringparameterProps.getExistingStringParameterObj()existingStringParameterObj - Existing instance of SSM String parameter object, If this is set then the stringParameterProps is ignored.thispublic LambdaToSsmstringparameterProps.Builder existingVpc(software.amazon.awscdk.services.ec2.IVpc existingVpc)
LambdaToSsmstringparameterProps.getExistingVpc()existingVpc - An existing VPC for the construct to use (construct will NOT create a new VPC in this case).thispublic LambdaToSsmstringparameterProps.Builder lambdaFunctionProps(software.amazon.awscdk.services.lambda.FunctionProps lambdaFunctionProps)
LambdaToSsmstringparameterProps.getLambdaFunctionProps()lambdaFunctionProps - User provided props to override the default props for the Lambda function.thispublic LambdaToSsmstringparameterProps.Builder stringParameterEnvironmentVariableName(String stringParameterEnvironmentVariableName)
stringParameterEnvironmentVariableName - Optional Name for the SSM String parameter environment variable set for the Lambda function.thispublic LambdaToSsmstringparameterProps.Builder stringParameterPermissions(String stringParameterPermissions)
LambdaToSsmstringparameterProps.getStringParameterPermissions()stringParameterPermissions - Optional SSM String parameter permissions to grant to the Lambda function.
One of the following may be specified: "Read", "ReadWrite".thispublic LambdaToSsmstringparameterProps.Builder stringParameterProps(software.amazon.awscdk.services.ssm.StringParameterProps stringParameterProps)
LambdaToSsmstringparameterProps.getStringParameterProps()stringParameterProps - Optional user provided props to override the default props for SSM String parameter.
If existingStringParameterObj
is not set stringParameterProps is required. The only supported string parameter type is ParameterType.STRING.thispublic LambdaToSsmstringparameterProps.Builder vpcProps(software.amazon.awscdk.services.ec2.VpcProps vpcProps)
LambdaToSsmstringparameterProps.getVpcProps()vpcProps - Properties to override default properties if deployVpc is true.thispublic LambdaToSsmstringparameterProps build()
build in interface software.amazon.jsii.Builder<LambdaToSsmstringparameterProps>LambdaToSsmstringparameterPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.