@Stability(value=External) 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 |
withAutoPublishAlias(String value)
Sets the value of AutoPublishAlias
|
CfnFunctionProps.Builder |
withCodeUri(CfnFunction.S3LocationProperty value)
Sets the value of CodeUri
|
CfnFunctionProps.Builder |
withCodeUri(software.amazon.awscdk.core.IResolvable value)
Sets the value of CodeUri
|
CfnFunctionProps.Builder |
withCodeUri(String value)
Sets the value of CodeUri
|
CfnFunctionProps.Builder |
withDeadLetterQueue(CfnFunction.DeadLetterQueueProperty value)
Sets the value of DeadLetterQueue
|
CfnFunctionProps.Builder |
withDeadLetterQueue(software.amazon.awscdk.core.IResolvable value)
Sets the value of DeadLetterQueue
|
CfnFunctionProps.Builder |
withDeploymentPreference(CfnFunction.DeploymentPreferenceProperty value)
Sets the value of DeploymentPreference
|
CfnFunctionProps.Builder |
withDeploymentPreference(software.amazon.awscdk.core.IResolvable value)
Sets the value of DeploymentPreference
|
CfnFunctionProps.Builder |
withDescription(String value)
Sets the value of Description
|
CfnFunctionProps.Builder |
withEnvironment(CfnFunction.FunctionEnvironmentProperty value)
Sets the value of Environment
|
CfnFunctionProps.Builder |
withEnvironment(software.amazon.awscdk.core.IResolvable value)
Sets the value of Environment
|
CfnFunctionProps.Builder |
withEvents(software.amazon.awscdk.core.IResolvable value)
Sets the value of Events
|
CfnFunctionProps.Builder |
withEvents(Map<String,Object> value)
Sets the value of Events
|
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 |
withPermissionsBoundary(String value)
Sets the value of PermissionsBoundary
|
CfnFunctionProps.Builder |
withPolicies(CfnFunction.IAMPolicyDocumentProperty value)
Sets the value of Policies
|
CfnFunctionProps.Builder |
withPolicies(software.amazon.awscdk.core.IResolvable value)
Sets the value of Policies
|
CfnFunctionProps.Builder |
withPolicies(List<Object> value)
Sets the value of Policies
|
CfnFunctionProps.Builder |
withPolicies(String value)
Sets the value of Policies
|
CfnFunctionProps.Builder |
withReservedConcurrentExecutions(Number 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(Map<String,String> value)
Sets the value of Tags
|
CfnFunctionProps.Builder |
withTimeout(Number value)
Sets the value of Timeout
|
CfnFunctionProps.Builder |
withTracing(String value)
Sets the value of Tracing
|
CfnFunctionProps.Builder |
withVpcConfig(CfnFunction.VpcConfigProperty value)
Sets the value of VpcConfig
|
CfnFunctionProps.Builder |
withVpcConfig(software.amazon.awscdk.core.IResolvable value)
Sets the value of VpcConfig
|
@Stability(value=External) public CfnFunctionProps.Builder withCodeUri(String value)
value - `AWS::Serverless::Function.CodeUri`.this@Stability(value=External) public CfnFunctionProps.Builder withCodeUri(software.amazon.awscdk.core.IResolvable value)
value - `AWS::Serverless::Function.CodeUri`.this@Stability(value=External) public CfnFunctionProps.Builder withCodeUri(CfnFunction.S3LocationProperty value)
value - `AWS::Serverless::Function.CodeUri`.this@Stability(value=External) public CfnFunctionProps.Builder withHandler(String value)
value - `AWS::Serverless::Function.Handler`.this@Stability(value=External) public CfnFunctionProps.Builder withRuntime(String value)
value - `AWS::Serverless::Function.Runtime`.this@Stability(value=External) public CfnFunctionProps.Builder withAutoPublishAlias(@Nullable String value)
value - `AWS::Serverless::Function.AutoPublishAlias`.this@Stability(value=External) public CfnFunctionProps.Builder withDeadLetterQueue(@Nullable software.amazon.awscdk.core.IResolvable value)
value - `AWS::Serverless::Function.DeadLetterQueue`.this@Stability(value=External) public CfnFunctionProps.Builder withDeadLetterQueue(@Nullable CfnFunction.DeadLetterQueueProperty value)
value - `AWS::Serverless::Function.DeadLetterQueue`.this@Stability(value=External) public CfnFunctionProps.Builder withDeploymentPreference(@Nullable software.amazon.awscdk.core.IResolvable value)
value - `AWS::Serverless::Function.DeploymentPreference`.this@Stability(value=External) public CfnFunctionProps.Builder withDeploymentPreference(@Nullable CfnFunction.DeploymentPreferenceProperty value)
value - `AWS::Serverless::Function.DeploymentPreference`.this@Stability(value=External) public CfnFunctionProps.Builder withDescription(@Nullable String value)
value - `AWS::Serverless::Function.Description`.this@Stability(value=External) public CfnFunctionProps.Builder withEnvironment(@Nullable software.amazon.awscdk.core.IResolvable value)
value - `AWS::Serverless::Function.Environment`.this@Stability(value=External) public CfnFunctionProps.Builder withEnvironment(@Nullable CfnFunction.FunctionEnvironmentProperty value)
value - `AWS::Serverless::Function.Environment`.this@Stability(value=External) public CfnFunctionProps.Builder withEvents(@Nullable software.amazon.awscdk.core.IResolvable value)
value - `AWS::Serverless::Function.Events`.this@Stability(value=External) public CfnFunctionProps.Builder withEvents(@Nullable Map<String,Object> value)
value - `AWS::Serverless::Function.Events`.this@Stability(value=External) public CfnFunctionProps.Builder withFunctionName(@Nullable String value)
value - `AWS::Serverless::Function.FunctionName`.this@Stability(value=External) public CfnFunctionProps.Builder withKmsKeyArn(@Nullable String value)
value - `AWS::Serverless::Function.KmsKeyArn`.this@Stability(value=External) public CfnFunctionProps.Builder withLayers(@Nullable List<String> value)
value - `AWS::Serverless::Function.Layers`.this@Stability(value=External) public CfnFunctionProps.Builder withMemorySize(@Nullable Number value)
value - `AWS::Serverless::Function.MemorySize`.this@Stability(value=External) public CfnFunctionProps.Builder withPermissionsBoundary(@Nullable String value)
value - `AWS::Serverless::Function.PermissionsBoundary`.this@Stability(value=External) public CfnFunctionProps.Builder withPolicies(@Nullable String value)
value - `AWS::Serverless::Function.Policies`.this@Stability(value=External) public CfnFunctionProps.Builder withPolicies(@Nullable software.amazon.awscdk.core.IResolvable value)
value - `AWS::Serverless::Function.Policies`.this@Stability(value=External) public CfnFunctionProps.Builder withPolicies(@Nullable CfnFunction.IAMPolicyDocumentProperty value)
value - `AWS::Serverless::Function.Policies`.this@Stability(value=External) public CfnFunctionProps.Builder withPolicies(@Nullable List<Object> value)
value - `AWS::Serverless::Function.Policies`.this@Stability(value=External) public CfnFunctionProps.Builder withReservedConcurrentExecutions(@Nullable Number value)
value - `AWS::Serverless::Function.ReservedConcurrentExecutions`.this@Stability(value=External) public CfnFunctionProps.Builder withRole(@Nullable String value)
value - `AWS::Serverless::Function.Role`.this@Stability(value=External) public CfnFunctionProps.Builder withTags(@Nullable Map<String,String> value)
value - `AWS::Serverless::Function.Tags`.this@Stability(value=External) public CfnFunctionProps.Builder withTimeout(@Nullable Number value)
value - `AWS::Serverless::Function.Timeout`.this@Stability(value=External) public CfnFunctionProps.Builder withTracing(@Nullable String value)
value - `AWS::Serverless::Function.Tracing`.this@Stability(value=External) public CfnFunctionProps.Builder withVpcConfig(@Nullable software.amazon.awscdk.core.IResolvable value)
value - `AWS::Serverless::Function.VpcConfig`.this@Stability(value=External) public CfnFunctionProps.Builder withVpcConfig(@Nullable CfnFunction.VpcConfigProperty value)
value - `AWS::Serverless::Function.VpcConfig`.this@Stability(value=External) public CfnFunctionProps build()
CfnFunctionPropsNullPointerException - if any required attribute was not providedCopyright © 2019. All rights reserved.