@Stability(value=Stable)
public static interface CfnCoreDefinition.CoreDefinitionVersionProperty
extends software.amazon.jsii.JsiiSerializable
After you create a core definition version that contains the core you want to deploy, you must add it to your group version. For more information, see
AWS::Greengrass::Group.
In an AWS CloudFormation template, CoreDefinitionVersion is the property type of the InitialVersion property in the AWS::Greengrass::CoreDefinition resource.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.greengrass.*;
CoreDefinitionVersionProperty coreDefinitionVersionProperty = CoreDefinitionVersionProperty.builder()
.cores(List.of(CoreProperty.builder()
.certificateArn("certificateArn")
.id("id")
.thingArn("thingArn")
// the properties below are optional
.syncShadow(false)
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnCoreDefinition.CoreDefinitionVersionProperty.Builder
A builder for
CfnCoreDefinition.CoreDefinitionVersionProperty |
static class |
CfnCoreDefinition.CoreDefinitionVersionProperty.Jsii$Proxy
An implementation for
CfnCoreDefinition.CoreDefinitionVersionProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnCoreDefinition.CoreDefinitionVersionProperty.Builder |
builder() |
Object |
getCores()
The Greengrass core in this version.
|
@Stability(value=Stable) @NotNull Object getCores()
Currently, the Cores property for a core definition version can contain only one core.
@Stability(value=Stable) static CfnCoreDefinition.CoreDefinitionVersionProperty.Builder builder()
Copyright © 2022. All rights reserved.