AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::Greengrass::CoreDefinitionVersion

CfnCoreDefinitionVersion

The `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

import { CfnCoreDefinitionVersion } from 'aws-cdk-lib/aws-greengrass';

Or use the module namespace:

import * as greengrass from 'aws-cdk-lib/aws-greengrass';
// greengrass.CfnCoreDefinitionVersion

Properties

Configuration passed to the constructor as CfnCoreDefinitionVersionProps.

coreDefinitionIdRequired
string

The ID of the core definition associated with this version. This value is a GUID.

coresRequired
IResolvable | IResolvable | CoreProperty[]

The Greengrass core in this version. Currently, the `Cores` property for a core definition version can contain only one core.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter