Class LambdaInvocationConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.lambda_invocation.LambdaInvocationConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<LambdaInvocationConfig>
- Enclosing interface:
- LambdaInvocationConfig
@Stability(Stable) public static final class LambdaInvocationConfig.Builder extends Object implements software.amazon.jsii.Builder<LambdaInvocationConfig>
A builder forLambdaInvocationConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LambdaInvocationConfigbuild()Builds the configured instance.LambdaInvocationConfig.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()LambdaInvocationConfig.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()LambdaInvocationConfig.Buildercount(com.hashicorp.cdktf.TerraformCount count)Sets the value ofTerraformMetaArguments.getCount()LambdaInvocationConfig.Buildercount(Number count)Sets the value ofTerraformMetaArguments.getCount()LambdaInvocationConfig.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)Sets the value ofTerraformMetaArguments.getDependsOn()LambdaInvocationConfig.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)Sets the value ofTerraformMetaArguments.getForEach()LambdaInvocationConfig.BuilderfunctionName(String functionName)Sets the value ofLambdaInvocationConfig.getFunctionName()LambdaInvocationConfig.Builderid(String id)Sets the value ofLambdaInvocationConfig.getId()LambdaInvocationConfig.Builderinput(String input)Sets the value ofLambdaInvocationConfig.getInput()LambdaInvocationConfig.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)Sets the value ofTerraformMetaArguments.getLifecycle()LambdaInvocationConfig.BuilderlifecycleScope(String lifecycleScope)Sets the value ofLambdaInvocationConfig.getLifecycleScope()LambdaInvocationConfig.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)Sets the value ofTerraformMetaArguments.getProvider()LambdaInvocationConfig.Builderprovisioners(List<? extends Object> provisioners)Sets the value ofTerraformMetaArguments.getProvisioners()LambdaInvocationConfig.Builderqualifier(String qualifier)Sets the value ofLambdaInvocationConfig.getQualifier()LambdaInvocationConfig.BuilderterraformKey(String terraformKey)Sets the value ofLambdaInvocationConfig.getTerraformKey()LambdaInvocationConfig.Buildertriggers(Map<String,String> triggers)Sets the value ofLambdaInvocationConfig.getTriggers()
-
-
-
Method Detail
-
functionName
@Stability(Stable) public LambdaInvocationConfig.Builder functionName(String functionName)
Sets the value ofLambdaInvocationConfig.getFunctionName()- Parameters:
functionName- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/lambda_invocation#function_name LambdaInvocation#function_name}. This parameter is required.- Returns:
this
-
input
@Stability(Stable) public LambdaInvocationConfig.Builder input(String input)
Sets the value ofLambdaInvocationConfig.getInput()- Parameters:
input- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/lambda_invocation#input LambdaInvocation#input}. This parameter is required.- Returns:
this
-
id
@Stability(Stable) public LambdaInvocationConfig.Builder id(String id)
Sets the value ofLambdaInvocationConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/lambda_invocation#id LambdaInvocation#id}. Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.- Returns:
this
-
lifecycleScope
@Stability(Stable) public LambdaInvocationConfig.Builder lifecycleScope(String lifecycleScope)
Sets the value ofLambdaInvocationConfig.getLifecycleScope()- Parameters:
lifecycleScope- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/lambda_invocation#lifecycle_scope LambdaInvocation#lifecycle_scope}.- Returns:
this
-
qualifier
@Stability(Stable) public LambdaInvocationConfig.Builder qualifier(String qualifier)
Sets the value ofLambdaInvocationConfig.getQualifier()- Parameters:
qualifier- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/lambda_invocation#qualifier LambdaInvocation#qualifier}.- Returns:
this
-
terraformKey
@Stability(Stable) public LambdaInvocationConfig.Builder terraformKey(String terraformKey)
Sets the value ofLambdaInvocationConfig.getTerraformKey()- Parameters:
terraformKey- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/lambda_invocation#terraform_key LambdaInvocation#terraform_key}.- Returns:
this
-
triggers
@Stability(Stable) public LambdaInvocationConfig.Builder triggers(Map<String,String> triggers)
Sets the value ofLambdaInvocationConfig.getTriggers()- Parameters:
triggers- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/lambda_invocation#triggers LambdaInvocation#triggers}.- Returns:
this
-
connection
@Stability(Experimental) public LambdaInvocationConfig.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
connection
@Stability(Experimental) public LambdaInvocationConfig.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public LambdaInvocationConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public LambdaInvocationConfig.Builder count(com.hashicorp.cdktf.TerraformCount count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
dependsOn
@Stability(Experimental) public LambdaInvocationConfig.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
Sets the value ofTerraformMetaArguments.getDependsOn()- Parameters:
dependsOn- the value to be set.- Returns:
this
-
forEach
@Stability(Experimental) public LambdaInvocationConfig.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
Sets the value ofTerraformMetaArguments.getForEach()- Parameters:
forEach- the value to be set.- Returns:
this
-
lifecycle
@Stability(Experimental) public LambdaInvocationConfig.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
Sets the value ofTerraformMetaArguments.getLifecycle()- Parameters:
lifecycle- the value to be set.- Returns:
this
-
provider
@Stability(Experimental) public LambdaInvocationConfig.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
Sets the value ofTerraformMetaArguments.getProvider()- Parameters:
provider- the value to be set.- Returns:
this
-
provisioners
@Stability(Experimental) public LambdaInvocationConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public LambdaInvocationConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<LambdaInvocationConfig>- Returns:
- a new instance of
LambdaInvocationConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-