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