@Stability(value=Stable) public static final class CfnComponentVersionProps.Builder extends Object implements software.amazon.jsii.Builder<CfnComponentVersionProps>
CfnComponentVersionProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnComponentVersionProps |
build()
Builds the configured instance.
|
CfnComponentVersionProps.Builder |
inlineRecipe(String inlineRecipe)
Sets the value of
CfnComponentVersionProps.getInlineRecipe() |
CfnComponentVersionProps.Builder |
lambdaFunction(CfnComponentVersion.LambdaFunctionRecipeSourceProperty lambdaFunction)
Sets the value of
CfnComponentVersionProps.getLambdaFunction() |
CfnComponentVersionProps.Builder |
lambdaFunction(IResolvable lambdaFunction)
Sets the value of
CfnComponentVersionProps.getLambdaFunction() |
CfnComponentVersionProps.Builder |
tags(Map<String,String> tags)
Sets the value of
CfnComponentVersionProps.getTags() |
@Stability(value=Stable) public CfnComponentVersionProps.Builder inlineRecipe(String inlineRecipe)
CfnComponentVersionProps.getInlineRecipe()inlineRecipe - The recipe to use to create the component.
The recipe defines the component's metadata, parameters, dependencies, lifecycle, artifacts, and platform compatibility.
You must specify either InlineRecipe or LambdaFunction .
this@Stability(value=Stable) public CfnComponentVersionProps.Builder lambdaFunction(CfnComponentVersion.LambdaFunctionRecipeSourceProperty lambdaFunction)
CfnComponentVersionProps.getLambdaFunction()lambdaFunction - The parameters to create a component from a Lambda function.
You must specify either InlineRecipe or LambdaFunction .this@Stability(value=Stable) public CfnComponentVersionProps.Builder lambdaFunction(IResolvable lambdaFunction)
CfnComponentVersionProps.getLambdaFunction()lambdaFunction - The parameters to create a component from a Lambda function.
You must specify either InlineRecipe or LambdaFunction .this@Stability(value=Stable) public CfnComponentVersionProps.Builder tags(Map<String,String> tags)
CfnComponentVersionProps.getTags()tags - Application-specific metadata to attach to the component version.
You can use tags in IAM policies to control access to AWS IoT Greengrass resources. You can also use tags to categorize your resources. For more information, see Tag your AWS IoT Greengrass Version 2 resources in the AWS IoT Greengrass V2 Developer Guide .
This Json property type is processed as a map of key-value pairs. It uses the following format, which is different from most Tags implementations in AWS CloudFormation templates.
"Tags": { "KeyName0": "value", "KeyName1": "value", "KeyName2": "value"
}
this@Stability(value=Stable) public CfnComponentVersionProps build()
build in interface software.amazon.jsii.Builder<CfnComponentVersionProps>CfnComponentVersionPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.