@Stability(value=Stable) public static final class CfnFunctionDefinitionProps.Builder extends Object implements software.amazon.jsii.Builder<CfnFunctionDefinitionProps>
CfnFunctionDefinitionProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnFunctionDefinitionProps |
build()
Builds the configured instance.
|
CfnFunctionDefinitionProps.Builder |
initialVersion(CfnFunctionDefinition.FunctionDefinitionVersionProperty initialVersion)
Sets the value of
CfnFunctionDefinitionProps.getInitialVersion() |
CfnFunctionDefinitionProps.Builder |
initialVersion(IResolvable initialVersion)
Sets the value of
CfnFunctionDefinitionProps.getInitialVersion() |
CfnFunctionDefinitionProps.Builder |
name(String name)
Sets the value of
CfnFunctionDefinitionProps.getName() |
CfnFunctionDefinitionProps.Builder |
tags(Object tags)
Sets the value of
CfnFunctionDefinitionProps.getTags() |
@Stability(value=Stable) public CfnFunctionDefinitionProps.Builder name(String name)
CfnFunctionDefinitionProps.getName()name - The name of the function definition. This parameter is required.this@Stability(value=Stable) public CfnFunctionDefinitionProps.Builder initialVersion(CfnFunctionDefinition.FunctionDefinitionVersionProperty initialVersion)
CfnFunctionDefinitionProps.getInitialVersion()initialVersion - The function definition version to include when the function definition is created.
A function definition version contains a list of function property 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.
this@Stability(value=Stable) public CfnFunctionDefinitionProps.Builder initialVersion(IResolvable initialVersion)
CfnFunctionDefinitionProps.getInitialVersion()initialVersion - The function definition version to include when the function definition is created.
A function definition version contains a list of function property 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.
this@Stability(value=Stable) public CfnFunctionDefinitionProps.Builder tags(Object tags)
CfnFunctionDefinitionProps.getTags()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 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 CfnFunctionDefinitionProps build()
build in interface software.amazon.jsii.Builder<CfnFunctionDefinitionProps>CfnFunctionDefinitionPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.