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