AWS::Greengrass::CoreDefinitionVersionThe `AWS::Greengrass::CoreDefinitionVersion` resource represents a core definition version for AWS IoT Greengrass . A core definition version contains a Greengrass core. > To create a core definition version, you must specify the ID of the core definition that you want to associate with the version. For information about creating a core definition, see [`AWS::Greengrass::CoreDefinition`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-coredefinition.html) . > > 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`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-group.html) .
import { CfnCoreDefinitionVersion } from 'aws-cdk-lib/aws-greengrass';Or use the module namespace:
import * as greengrass from 'aws-cdk-lib/aws-greengrass';
// greengrass.CfnCoreDefinitionVersionConfiguration passed to the constructor as CfnCoreDefinitionVersionProps.
coreDefinitionIdRequiredstringThe ID of the core definition associated with this version. This value is a GUID.
coresRequiredIResolvable | IResolvable | CoreProperty[]The Greengrass core in this version. Currently, the `Cores` property for a core definition version can contain only one core.
This L1 construct maps directly to the following CloudFormation resource type.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-greengrassAWS::Greengrass::CoreDefinitionVersion