Class CfnCoreDefinitionPropsMixin.CoreDefinitionVersionProperty
A core definition version contains a Greengrass core .
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.Greengrass
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnCoreDefinitionPropsMixin.CoreDefinitionVersionProperty : CfnCoreDefinitionPropsMixin.ICoreDefinitionVersionProperty
Syntax (vb)
Public Class CfnCoreDefinitionPropsMixin.CoreDefinitionVersionProperty Implements CfnCoreDefinitionPropsMixin.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 <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-group.html"><code>AWS::Greengrass::Group</code></a> .
In an 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.CfnPropertyMixins.AWS.Greengrass;
var coreDefinitionVersionProperty = new CoreDefinitionVersionProperty {
Cores = new [] { new CoreProperty {
CertificateArn = "certificateArn",
Id = "id",
SyncShadow = false,
ThingArn = "thingArn"
} }
};
Synopsis
Constructors
| CoreDefinitionVersionProperty() | A core definition version contains a Greengrass core . |
Properties
| Cores | The Greengrass core in this version. |
Constructors
CoreDefinitionVersionProperty()
A core definition version contains a Greengrass core .
public CoreDefinitionVersionProperty()
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 <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-group.html"><code>AWS::Greengrass::Group</code></a> .
In an 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.CfnPropertyMixins.AWS.Greengrass;
var coreDefinitionVersionProperty = new CoreDefinitionVersionProperty {
Cores = new [] { new CoreProperty {
CertificateArn = "certificateArn",
Id = "id",
SyncShadow = false,
ThingArn = "thingArn"
} }
};
Properties
Cores
The Greengrass core in this version.
public object? Cores { get; set; }
Property Value
Remarks
Currently, the Cores property for a core definition version can contain only one core.
Type union: either IResolvable or (either IResolvable or CfnCoreDefinitionPropsMixin.ICoreProperty)[]