Class CfnFunctionDefinitionPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFunctionDefinitionPropsMixin>
- Enclosing class:
CfnFunctionDefinitionPropsMixin
CfnFunctionDefinitionPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) The function definition version to include when the function definition is created.initialVersion(IResolvable initialVersion) The function definition version to include when the function definition is created.The name of the function definition.Application-specific metadata to attach to the function definition.
-
Method Details
-
create
@Stability(Stable) public static CfnFunctionDefinitionPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnFunctionDefinitionPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnFunctionDefinitionPropsMixin.Builder.
-
initialVersion
@Stability(Stable) public CfnFunctionDefinitionPropsMixin.Builder initialVersion(IResolvable initialVersion) The function definition version to include when the function definition is created.A function definition version contains a list of
functionproperty types.To associate a function definition version after the function definition is created, create an
AWS::Greengrass::FunctionDefinitionVersionresource and specify the ID of this function definition.- Parameters:
initialVersion- The function definition version to include when the function definition is created. This parameter is required.- Returns:
this- See Also:
-
initialVersion
@Stability(Stable) public CfnFunctionDefinitionPropsMixin.Builder initialVersion(CfnFunctionDefinitionPropsMixin.FunctionDefinitionVersionProperty initialVersion) The function definition version to include when the function definition is created.A function definition version contains a list of
functionproperty types.To associate a function definition version after the function definition is created, create an
AWS::Greengrass::FunctionDefinitionVersionresource and specify the ID of this function definition.- Parameters:
initialVersion- The function definition version to include when the function definition is created. This parameter is required.- Returns:
this- See Also:
-
name
The name of the function definition.- Parameters:
name- The name of the function definition. This parameter is required.- Returns:
this- See Also:
-
tags
Application-specific metadata to attach to the function definition.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 Tagging Your AWS IoT Greengrass Resources in the Developer Guide .
This
Jsonproperty type is processed as a map of key-value pairs. It uses the following format, which is different from mostTagsimplementations in CloudFormation templates."Tags": { "KeyName0": "value", "KeyName1": "value", "KeyName2": "value" }- Parameters:
tags- Application-specific metadata to attach to the function definition. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFunctionDefinitionPropsMixin>- Returns:
- a newly built instance of
CfnFunctionDefinitionPropsMixin.
-