Class CfnCoreDefinition.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCoreDefinition>
- Enclosing class:
CfnCoreDefinition
CfnCoreDefinition
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static CfnCoreDefinition.Builder
initialVersion
(IResolvable initialVersion) The core definition version to include when the core definition is created.initialVersion
(CfnCoreDefinition.CoreDefinitionVersionProperty initialVersion) The core definition version to include when the core definition is created.The name of the core definition.Application-specific metadata to attach to the core definition.
-
Method Details
-
create
@Stability(Stable) public static CfnCoreDefinition.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnCoreDefinition.Builder
.
-
name
The name of the core definition.- Parameters:
name
- The name of the core definition. This parameter is required.- Returns:
this
- See Also:
-
initialVersion
The core definition version to include when the core definition is created.Currently, a core definition version can contain only one
core
.To associate a core definition version after the core definition is created, create an
AWS::Greengrass::CoreDefinitionVersion
resource and specify the ID of this core definition.- Parameters:
initialVersion
- The core definition version to include when the core definition is created. This parameter is required.- Returns:
this
- See Also:
-
initialVersion
@Stability(Stable) public CfnCoreDefinition.Builder initialVersion(CfnCoreDefinition.CoreDefinitionVersionProperty initialVersion) The core definition version to include when the core definition is created.Currently, a core definition version can contain only one
core
.To associate a core definition version after the core definition is created, create an
AWS::Greengrass::CoreDefinitionVersion
resource and specify the ID of this core definition.- Parameters:
initialVersion
- The core definition version to include when the core definition is created. This parameter is required.- Returns:
this
- See Also:
-
tags
Application-specific metadata to attach to the core 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 mostTags
implementations in AWS CloudFormation templates."Tags": { "KeyName0": "value", "KeyName1": "value", "KeyName2": "value" }
- Parameters:
tags
- Application-specific metadata to attach to the core definition. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnCoreDefinition>
- Returns:
- a newly built instance of
CfnCoreDefinition
.
-