public static final class CfnFunctionProps.Builder extends Object
CfnFunctionProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnFunctionProps |
build()
Builds the configured instance.
|
CfnFunctionProps.Builder |
withCode(CfnFunction.CodeProperty value)
Sets the value of Code
|
CfnFunctionProps.Builder |
withCode(software.amazon.awscdk.Token value)
Sets the value of Code
|
CfnFunctionProps.Builder |
withDeadLetterConfig(CfnFunction.DeadLetterConfigProperty value)
Sets the value of DeadLetterConfig
|
CfnFunctionProps.Builder |
withDeadLetterConfig(software.amazon.awscdk.Token value)
Sets the value of DeadLetterConfig
|
CfnFunctionProps.Builder |
withDescription(String value)
Sets the value of Description
|
CfnFunctionProps.Builder |
withEnvironment(CfnFunction.EnvironmentProperty value)
Sets the value of Environment
|
CfnFunctionProps.Builder |
withEnvironment(software.amazon.awscdk.Token value)
Sets the value of Environment
|
CfnFunctionProps.Builder |
withFunctionName(String value)
Sets the value of FunctionName
|
CfnFunctionProps.Builder |
withHandler(String value)
Sets the value of Handler
|
CfnFunctionProps.Builder |
withKmsKeyArn(String value)
Sets the value of KmsKeyArn
|
CfnFunctionProps.Builder |
withLayers(List<String> value)
Sets the value of Layers
|
CfnFunctionProps.Builder |
withMemorySize(Number value)
Sets the value of MemorySize
|
CfnFunctionProps.Builder |
withMemorySize(software.amazon.awscdk.Token value)
Sets the value of MemorySize
|
CfnFunctionProps.Builder |
withReservedConcurrentExecutions(Number value)
Sets the value of ReservedConcurrentExecutions
|
CfnFunctionProps.Builder |
withReservedConcurrentExecutions(software.amazon.awscdk.Token value)
Sets the value of ReservedConcurrentExecutions
|
CfnFunctionProps.Builder |
withRole(String value)
Sets the value of Role
|
CfnFunctionProps.Builder |
withRuntime(String value)
Sets the value of Runtime
|
CfnFunctionProps.Builder |
withTags(List<software.amazon.awscdk.CfnTag> value)
Sets the value of Tags
|
CfnFunctionProps.Builder |
withTimeout(Number value)
Sets the value of Timeout
|
CfnFunctionProps.Builder |
withTimeout(software.amazon.awscdk.Token value)
Sets the value of Timeout
|
CfnFunctionProps.Builder |
withTracingConfig(CfnFunction.TracingConfigProperty value)
Sets the value of TracingConfig
|
CfnFunctionProps.Builder |
withTracingConfig(software.amazon.awscdk.Token value)
Sets the value of TracingConfig
|
CfnFunctionProps.Builder |
withVpcConfig(CfnFunction.VpcConfigProperty value)
Sets the value of VpcConfig
|
CfnFunctionProps.Builder |
withVpcConfig(software.amazon.awscdk.Token value)
Sets the value of VpcConfig
|
public CfnFunctionProps.Builder withCode(software.amazon.awscdk.Token value)
value - `AWS::Lambda::Function.Code`.thispublic CfnFunctionProps.Builder withCode(CfnFunction.CodeProperty value)
value - `AWS::Lambda::Function.Code`.thispublic CfnFunctionProps.Builder withHandler(String value)
value - `AWS::Lambda::Function.Handler`.thispublic CfnFunctionProps.Builder withRole(String value)
value - `AWS::Lambda::Function.Role`.thispublic CfnFunctionProps.Builder withRuntime(String value)
value - `AWS::Lambda::Function.Runtime`.thispublic CfnFunctionProps.Builder withDeadLetterConfig(@Nullable software.amazon.awscdk.Token value)
value - `AWS::Lambda::Function.DeadLetterConfig`.thispublic CfnFunctionProps.Builder withDeadLetterConfig(@Nullable CfnFunction.DeadLetterConfigProperty value)
value - `AWS::Lambda::Function.DeadLetterConfig`.thispublic CfnFunctionProps.Builder withDescription(@Nullable String value)
value - `AWS::Lambda::Function.Description`.thispublic CfnFunctionProps.Builder withEnvironment(@Nullable software.amazon.awscdk.Token value)
value - `AWS::Lambda::Function.Environment`.thispublic CfnFunctionProps.Builder withEnvironment(@Nullable CfnFunction.EnvironmentProperty value)
value - `AWS::Lambda::Function.Environment`.thispublic CfnFunctionProps.Builder withFunctionName(@Nullable String value)
value - `AWS::Lambda::Function.FunctionName`.thispublic CfnFunctionProps.Builder withKmsKeyArn(@Nullable String value)
value - `AWS::Lambda::Function.KmsKeyArn`.thispublic CfnFunctionProps.Builder withLayers(@Nullable List<String> value)
value - `AWS::Lambda::Function.Layers`.thispublic CfnFunctionProps.Builder withMemorySize(@Nullable Number value)
value - `AWS::Lambda::Function.MemorySize`.thispublic CfnFunctionProps.Builder withMemorySize(@Nullable software.amazon.awscdk.Token value)
value - `AWS::Lambda::Function.MemorySize`.thispublic CfnFunctionProps.Builder withReservedConcurrentExecutions(@Nullable Number value)
value - `AWS::Lambda::Function.ReservedConcurrentExecutions`.thispublic CfnFunctionProps.Builder withReservedConcurrentExecutions(@Nullable software.amazon.awscdk.Token value)
value - `AWS::Lambda::Function.ReservedConcurrentExecutions`.thispublic CfnFunctionProps.Builder withTags(@Nullable List<software.amazon.awscdk.CfnTag> value)
value - `AWS::Lambda::Function.Tags`.thispublic CfnFunctionProps.Builder withTimeout(@Nullable Number value)
value - `AWS::Lambda::Function.Timeout`.thispublic CfnFunctionProps.Builder withTimeout(@Nullable software.amazon.awscdk.Token value)
value - `AWS::Lambda::Function.Timeout`.thispublic CfnFunctionProps.Builder withTracingConfig(@Nullable software.amazon.awscdk.Token value)
value - `AWS::Lambda::Function.TracingConfig`.thispublic CfnFunctionProps.Builder withTracingConfig(@Nullable CfnFunction.TracingConfigProperty value)
value - `AWS::Lambda::Function.TracingConfig`.thispublic CfnFunctionProps.Builder withVpcConfig(@Nullable software.amazon.awscdk.Token value)
value - `AWS::Lambda::Function.VpcConfig`.thispublic CfnFunctionProps.Builder withVpcConfig(@Nullable CfnFunction.VpcConfigProperty value)
value - `AWS::Lambda::Function.VpcConfig`.thispublic CfnFunctionProps build()
CfnFunctionPropsNullPointerException - if any required attribute was not providedCopyright © 2019. All rights reserved.