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