public static final class CfnCoreDefinition.Builder
extends java.lang.Object
CfnCoreDefinition
.Modifier and Type | Method and Description |
---|---|
CfnCoreDefinition |
build() |
static CfnCoreDefinition.Builder |
create(Construct scope,
java.lang.String id) |
CfnCoreDefinition.Builder |
initialVersion(CfnCoreDefinition.CoreDefinitionVersionProperty initialVersion)
The core definition version to include when the core definition is created.
|
CfnCoreDefinition.Builder |
initialVersion(IResolvable initialVersion)
The core definition version to include when the core definition is created.
|
CfnCoreDefinition.Builder |
name(java.lang.String name)
The name of the core definition.
|
CfnCoreDefinition.Builder |
tags(java.lang.Object tags)
Application-specific metadata to attach to the core definition.
|
public static CfnCoreDefinition.Builder create(Construct scope, java.lang.String id)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.CfnCoreDefinition.CoreDefinitionVersionProperty.Builder
.public CfnCoreDefinition.Builder name(java.lang.String name)
name
- The name of the core definition. This parameter is required.this
public CfnCoreDefinition.Builder initialVersion(IResolvable initialVersion)
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.
initialVersion
- The core definition version to include when the core definition is created. This parameter is required.this
public CfnCoreDefinition.Builder initialVersion(CfnCoreDefinition.CoreDefinitionVersionProperty initialVersion)
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.
initialVersion
- The core definition version to include when the core definition is created. This parameter is required.this
public CfnCoreDefinition.Builder tags(java.lang.Object 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 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" }
tags
- Application-specific metadata to attach to the core definition. This parameter is required.this
public CfnCoreDefinition build()