aws-cdk-lib.aws_greengrass.CfnCoreDefinition.CoreDefinitionVersionProperty

interface CoreDefinitionVersionProperty

LanguageType name
.NETAmazon.CDK.AWS.Greengrass.CfnCoreDefinition.CoreDefinitionVersionProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsgreengrass#CfnCoreDefinition_CoreDefinitionVersionProperty
Javasoftware.amazon.awscdk.services.greengrass.CfnCoreDefinition.CoreDefinitionVersionProperty
Pythonaws_cdk.aws_greengrass.CfnCoreDefinition.CoreDefinitionVersionProperty
TypeScript aws-cdk-lib » aws_greengrass » CfnCoreDefinition » 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 AWS 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 { aws_greengrass as greengrass } from 'aws-cdk-lib';
const coreDefinitionVersionProperty: greengrass.CfnCoreDefinition.CoreDefinitionVersionProperty = {
  cores: [{
    certificateArn: 'certificateArn',
    id: 'id',
    thingArn: 'thingArn',

    // the properties below are optional
    syncShadow: false,
  }],
};

Properties

NameTypeDescription
coresIResolvable | IResolvable | CoreProperty[]The Greengrass core in this version.

cores

Type: IResolvable | IResolvable | CoreProperty[]

The Greengrass core in this version.

Currently, the Cores property for a core definition version can contain only one core.