@Stability(value=External) public static final class CfnFunctionProps.Builder extends Object
CfnFunctionProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnFunctionProps.Builder |
autoPublishAlias(String autoPublishAlias)
Sets the value of AutoPublishAlias
|
CfnFunctionProps |
build()
Builds the configured instance.
|
CfnFunctionProps.Builder |
codeUri(CfnFunction.S3LocationProperty codeUri)
Sets the value of CodeUri
|
CfnFunctionProps.Builder |
codeUri(software.amazon.awscdk.core.IResolvable codeUri)
Sets the value of CodeUri
|
CfnFunctionProps.Builder |
codeUri(String codeUri)
Sets the value of CodeUri
|
CfnFunctionProps.Builder |
deadLetterQueue(CfnFunction.DeadLetterQueueProperty deadLetterQueue)
Sets the value of DeadLetterQueue
|
CfnFunctionProps.Builder |
deadLetterQueue(software.amazon.awscdk.core.IResolvable deadLetterQueue)
Sets the value of DeadLetterQueue
|
CfnFunctionProps.Builder |
deploymentPreference(CfnFunction.DeploymentPreferenceProperty deploymentPreference)
Sets the value of DeploymentPreference
|
CfnFunctionProps.Builder |
deploymentPreference(software.amazon.awscdk.core.IResolvable deploymentPreference)
Sets the value of DeploymentPreference
|
CfnFunctionProps.Builder |
description(String description)
Sets the value of Description
|
CfnFunctionProps.Builder |
environment(CfnFunction.FunctionEnvironmentProperty environment)
Sets the value of Environment
|
CfnFunctionProps.Builder |
environment(software.amazon.awscdk.core.IResolvable environment)
Sets the value of Environment
|
CfnFunctionProps.Builder |
events(software.amazon.awscdk.core.IResolvable events)
Sets the value of Events
|
CfnFunctionProps.Builder |
events(Map<String,Object> events)
Sets the value of Events
|
CfnFunctionProps.Builder |
functionName(String functionName)
Sets the value of FunctionName
|
CfnFunctionProps.Builder |
handler(String handler)
Sets the value of Handler
|
CfnFunctionProps.Builder |
kmsKeyArn(String kmsKeyArn)
Sets the value of KmsKeyArn
|
CfnFunctionProps.Builder |
layers(List<String> layers)
Sets the value of Layers
|
CfnFunctionProps.Builder |
memorySize(Number memorySize)
Sets the value of MemorySize
|
CfnFunctionProps.Builder |
permissionsBoundary(String permissionsBoundary)
Sets the value of PermissionsBoundary
|
CfnFunctionProps.Builder |
policies(CfnFunction.IAMPolicyDocumentProperty policies)
Sets the value of Policies
|
CfnFunctionProps.Builder |
policies(software.amazon.awscdk.core.IResolvable policies)
Sets the value of Policies
|
CfnFunctionProps.Builder |
policies(List<Object> policies)
Sets the value of Policies
|
CfnFunctionProps.Builder |
policies(String policies)
Sets the value of Policies
|
CfnFunctionProps.Builder |
reservedConcurrentExecutions(Number reservedConcurrentExecutions)
Sets the value of ReservedConcurrentExecutions
|
CfnFunctionProps.Builder |
role(String role)
Sets the value of Role
|
CfnFunctionProps.Builder |
runtime(String runtime)
Sets the value of Runtime
|
CfnFunctionProps.Builder |
tags(Map<String,String> tags)
Sets the value of Tags
|
CfnFunctionProps.Builder |
timeout(Number timeout)
Sets the value of Timeout
|
CfnFunctionProps.Builder |
tracing(String tracing)
Sets the value of Tracing
|
CfnFunctionProps.Builder |
vpcConfig(CfnFunction.VpcConfigProperty vpcConfig)
Sets the value of VpcConfig
|
CfnFunctionProps.Builder |
vpcConfig(software.amazon.awscdk.core.IResolvable vpcConfig)
Sets the value of VpcConfig
|
@Stability(value=External) public CfnFunctionProps.Builder codeUri(String codeUri)
codeUri - `AWS::Serverless::Function.CodeUri`. This parameter is required.this@Stability(value=External) public CfnFunctionProps.Builder codeUri(software.amazon.awscdk.core.IResolvable codeUri)
codeUri - `AWS::Serverless::Function.CodeUri`. This parameter is required.this@Stability(value=External) public CfnFunctionProps.Builder codeUri(CfnFunction.S3LocationProperty codeUri)
codeUri - `AWS::Serverless::Function.CodeUri`. This parameter is required.this@Stability(value=External) public CfnFunctionProps.Builder handler(String handler)
handler - `AWS::Serverless::Function.Handler`. This parameter is required.this@Stability(value=External) public CfnFunctionProps.Builder runtime(String runtime)
runtime - `AWS::Serverless::Function.Runtime`. This parameter is required.this@Stability(value=External) public CfnFunctionProps.Builder autoPublishAlias(String autoPublishAlias)
autoPublishAlias - `AWS::Serverless::Function.AutoPublishAlias`.this@Stability(value=External) public CfnFunctionProps.Builder deadLetterQueue(software.amazon.awscdk.core.IResolvable deadLetterQueue)
deadLetterQueue - `AWS::Serverless::Function.DeadLetterQueue`.this@Stability(value=External) public CfnFunctionProps.Builder deadLetterQueue(CfnFunction.DeadLetterQueueProperty deadLetterQueue)
deadLetterQueue - `AWS::Serverless::Function.DeadLetterQueue`.this@Stability(value=External) public CfnFunctionProps.Builder deploymentPreference(software.amazon.awscdk.core.IResolvable deploymentPreference)
deploymentPreference - `AWS::Serverless::Function.DeploymentPreference`.this@Stability(value=External) public CfnFunctionProps.Builder deploymentPreference(CfnFunction.DeploymentPreferenceProperty deploymentPreference)
deploymentPreference - `AWS::Serverless::Function.DeploymentPreference`.this@Stability(value=External) public CfnFunctionProps.Builder description(String description)
description - `AWS::Serverless::Function.Description`.this@Stability(value=External) public CfnFunctionProps.Builder environment(software.amazon.awscdk.core.IResolvable environment)
environment - `AWS::Serverless::Function.Environment`.this@Stability(value=External) public CfnFunctionProps.Builder environment(CfnFunction.FunctionEnvironmentProperty environment)
environment - `AWS::Serverless::Function.Environment`.this@Stability(value=External) public CfnFunctionProps.Builder events(software.amazon.awscdk.core.IResolvable events)
events - `AWS::Serverless::Function.Events`.this@Stability(value=External) public CfnFunctionProps.Builder events(Map<String,Object> events)
events - `AWS::Serverless::Function.Events`.this@Stability(value=External) public CfnFunctionProps.Builder functionName(String functionName)
functionName - `AWS::Serverless::Function.FunctionName`.this@Stability(value=External) public CfnFunctionProps.Builder kmsKeyArn(String kmsKeyArn)
kmsKeyArn - `AWS::Serverless::Function.KmsKeyArn`.this@Stability(value=External) public CfnFunctionProps.Builder layers(List<String> layers)
layers - `AWS::Serverless::Function.Layers`.this@Stability(value=External) public CfnFunctionProps.Builder memorySize(Number memorySize)
memorySize - `AWS::Serverless::Function.MemorySize`.this@Stability(value=External) public CfnFunctionProps.Builder permissionsBoundary(String permissionsBoundary)
permissionsBoundary - `AWS::Serverless::Function.PermissionsBoundary`.this@Stability(value=External) public CfnFunctionProps.Builder policies(String policies)
policies - `AWS::Serverless::Function.Policies`.this@Stability(value=External) public CfnFunctionProps.Builder policies(software.amazon.awscdk.core.IResolvable policies)
policies - `AWS::Serverless::Function.Policies`.this@Stability(value=External) public CfnFunctionProps.Builder policies(CfnFunction.IAMPolicyDocumentProperty policies)
policies - `AWS::Serverless::Function.Policies`.this@Stability(value=External) public CfnFunctionProps.Builder policies(List<Object> policies)
policies - `AWS::Serverless::Function.Policies`.this@Stability(value=External) public CfnFunctionProps.Builder reservedConcurrentExecutions(Number reservedConcurrentExecutions)
reservedConcurrentExecutions - `AWS::Serverless::Function.ReservedConcurrentExecutions`.this@Stability(value=External) public CfnFunctionProps.Builder role(String role)
role - `AWS::Serverless::Function.Role`.this@Stability(value=External) public CfnFunctionProps.Builder tags(Map<String,String> tags)
tags - `AWS::Serverless::Function.Tags`.this@Stability(value=External) public CfnFunctionProps.Builder timeout(Number timeout)
timeout - `AWS::Serverless::Function.Timeout`.this@Stability(value=External) public CfnFunctionProps.Builder tracing(String tracing)
tracing - `AWS::Serverless::Function.Tracing`.this@Stability(value=External) public CfnFunctionProps.Builder vpcConfig(software.amazon.awscdk.core.IResolvable vpcConfig)
vpcConfig - `AWS::Serverless::Function.VpcConfig`.this@Stability(value=External) public CfnFunctionProps.Builder vpcConfig(CfnFunction.VpcConfigProperty vpcConfig)
vpcConfig - `AWS::Serverless::Function.VpcConfig`.this@Stability(value=External) public CfnFunctionProps build()
CfnFunctionPropsNullPointerException - if any required attribute was not providedCopyright © 2019. All rights reserved.