@Stability(value=Stable) public static final class CfnComponentVersion.Builder extends Object implements software.amazon.jsii.Builder<CfnComponentVersion>
CfnComponentVersion.| Modifier and Type | Method and Description |
|---|---|
CfnComponentVersion |
build() |
static CfnComponentVersion.Builder |
create(software.constructs.Construct scope,
String id) |
CfnComponentVersion.Builder |
inlineRecipe(String inlineRecipe)
The recipe to use to create the component.
|
CfnComponentVersion.Builder |
lambdaFunction(CfnComponentVersion.LambdaFunctionRecipeSourceProperty lambdaFunction)
The parameters to create a component from a Lambda function.
|
CfnComponentVersion.Builder |
lambdaFunction(IResolvable lambdaFunction)
The parameters to create a component from a Lambda function.
|
CfnComponentVersion.Builder |
tags(Map<String,String> tags)
Application-specific metadata to attach to the component version.
|
@Stability(value=Stable) public static CfnComponentVersion.Builder create(software.constructs.Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnComponentVersion.ComponentDependencyRequirementProperty.Builder.@Stability(value=Stable) public CfnComponentVersion.Builder inlineRecipe(String inlineRecipe)
The recipe defines the component's metadata, parameters, dependencies, lifecycle, artifacts, and platform compatibility.
You must specify either InlineRecipe or LambdaFunction .
inlineRecipe - The recipe to use to create the component. This parameter is required.this@Stability(value=Stable) public CfnComponentVersion.Builder lambdaFunction(CfnComponentVersion.LambdaFunctionRecipeSourceProperty lambdaFunction)
You must specify either InlineRecipe or LambdaFunction .
lambdaFunction - The parameters to create a component from a Lambda function. This parameter is required.this@Stability(value=Stable) public CfnComponentVersion.Builder lambdaFunction(IResolvable lambdaFunction)
You must specify either InlineRecipe or LambdaFunction .
lambdaFunction - The parameters to create a component from a Lambda function. This parameter is required.this@Stability(value=Stable) public CfnComponentVersion.Builder tags(Map<String,String> tags)
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"
}
tags - Application-specific metadata to attach to the component version. This parameter is required.this@Stability(value=Stable) public CfnComponentVersion build()
build in interface software.amazon.jsii.Builder<CfnComponentVersion>Copyright © 2022. All rights reserved.