Interface CfnCoreDefinition.ICoreDefinitionVersionProperty
A core definition version contains a Greengrass core .
Namespace: Amazon.CDK.AWS.Greengrass
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICoreDefinitionVersionProperty
Syntax (vb)
Public Interface ICoreDefinitionVersionProperty
Remarks
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.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Greengrass;
var coreDefinitionVersionProperty = new CoreDefinitionVersionProperty {
Cores = new [] { new CoreProperty {
CertificateArn = "certificateArn",
Id = "id",
ThingArn = "thingArn",
// the properties below are optional
SyncShadow = false
} }
};
Synopsis
Properties
Cores | The Greengrass core in this version. |
Properties
Cores
The Greengrass core in this version.
object Cores { get; }
Property Value
System.Object
Remarks
Currently, the Cores
property for a core definition version can contain only one core.