Class CfnFunctionDefinition.Builder
- All Implemented Interfaces:
- software.amazon.jsii.Builder<CfnFunctionDefinition>
- Enclosing class:
- CfnFunctionDefinition
CfnFunctionDefinition.- 
Method SummaryModifier and TypeMethodDescriptionbuild()initialVersion(IResolvable initialVersion) The function definition version to include when the function definition is created.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- Parameters:
- scope-- scope in which this resource is defined.
 
- id-- scoped id of the resource.
 
- Returns:
- a new instance of CfnFunctionDefinition.Builder.
 
- 
nameThe name of the function definition.- Parameters:
- name- The name of the function definition. This parameter is required.
- Returns:
- this
 
- 
initialVersionThe 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
 
- 
initialVersion@Stability(Stable) public CfnFunctionDefinition.Builder initialVersion(CfnFunctionDefinition.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
 
- 
tagsApplication-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 AWS 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
 
- 
build- Specified by:
- buildin interface- software.amazon.jsii.Builder<CfnFunctionDefinition>
- Returns:
- a newly built instance of CfnFunctionDefinition.
 
 
-