interface CoreDefinitionVersionProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Greengrass.Mixins.CfnCoreDefinitionPropsMixin.CoreDefinitionVersionProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsgreengrass/mixins#CfnCoreDefinitionPropsMixin_CoreDefinitionVersionProperty |
Java | software.amazon.awscdk.mixins.preview.services.greengrass.mixins.CfnCoreDefinitionPropsMixin.CoreDefinitionVersionProperty |
Python | aws_cdk.mixins_preview.aws_greengrass.mixins.CfnCoreDefinitionPropsMixin.CoreDefinitionVersionProperty |
TypeScript | @aws-cdk/mixins-preview » aws_greengrass » mixins » CfnCoreDefinitionPropsMixin » CoreDefinitionVersionProperty |
A core definition version contains a Greengrass core .
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 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 { mixins as greengrass_mixins } from '@aws-cdk/mixins-preview/aws-greengrass';
const coreDefinitionVersionProperty: greengrass_mixins.CfnCoreDefinitionPropsMixin.CoreDefinitionVersionProperty = {
cores: [{
certificateArn: 'certificateArn',
id: 'id',
syncShadow: false,
thingArn: 'thingArn',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| cores? | IResolvable | (IResolvable | Core)[] | The Greengrass core in this version. |
cores?
Type:
IResolvable | (IResolvable | Core)[]
(optional)
The Greengrass core in this version.
Currently, the Cores property for a core definition version can contain only one core.

.NET
Go
Java
Python
TypeScript