AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::Greengrass::LoggerDefinitionVersion

CfnLoggerDefinitionVersion

The `AWS::Greengrass::LoggerDefinitionVersion` resource represents a logger definition version for AWS IoT Greengrass . A logger definition version contains a list of loggers. > To create a logger definition version, you must specify the ID of the logger definition that you want to associate with the version. For information about creating a logger definition, see [`AWS::Greengrass::LoggerDefinition`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-loggerdefinition.html) . > > After you create a logger definition version that contains the loggers 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 { CfnLoggerDefinitionVersion } from 'aws-cdk-lib/aws-greengrass';

Or use the module namespace:

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

Properties

Configuration passed to the constructor as CfnLoggerDefinitionVersionProps.

loggerDefinitionIdRequired
string

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

loggersRequired
IResolvable | IResolvable | LoggerProperty[]

The loggers in this version.

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