Skip to content
v2.274.0

AWS IoT Greengrass Construct Library ​

This module is part of the AWS Cloud Development Kit project.

ts
import * as greengrass from 'aws-cdk-lib/aws-greengrass';
python
import aws_cdk.aws_greengrass as greengrass
java
import software.amazon.awscdk.services.greengrass.*;
csharp
using Amazon.CDK.AWS.Greengrass;
go
import greengrass "github.com/aws/aws-cdk-go/awscdk"

There are no official hand-written (L2) constructs for this service yet. Here are some suggestions on how to proceed:

There are no hand-written (L2) constructs for this service yet. However, you can still use the automatically generated L1 constructs, and use this service exactly as you would using CloudFormation directly.

For more information on the resources and properties available for this service, see the CloudFormation documentation for AWS::Greengrass.

(Read the CDK Contributing Guide and submit an RFC if you are interested in contributing to this construct library.)

Types ​

NameKindSummary
CfnConnectorDefinitionConstruct (L1)The AWS::Greengrass::ConnectorDefinition resource represents a connector definition for AWS IoT Greengrass .
CfnConnectorDefinitionVersionConstruct (L1)The AWS::Greengrass::ConnectorDefinitionVersion resource represents a connector definition version for AWS IoT Greengrass .
CfnCoreDefinitionConstruct (L1)The AWS::Greengrass::CoreDefinition resource represents a core definition for AWS IoT Greengrass .
CfnCoreDefinitionVersionConstruct (L1)The AWS::Greengrass::CoreDefinitionVersion resource represents a core definition version for AWS IoT Greengrass .
CfnDeviceDefinitionConstruct (L1)The AWS::Greengrass::DeviceDefinition resource represents a device definition for AWS IoT Greengrass .
CfnDeviceDefinitionVersionConstruct (L1)The AWS::Greengrass::DeviceDefinitionVersion resource represents a device definition version for AWS IoT Greengrass .
CfnFunctionDefinitionConstruct (L1)The AWS::Greengrass::FunctionDefinition resource represents a function definition for AWS IoT Greengrass .
CfnFunctionDefinitionVersionConstruct (L1)The AWS::Greengrass::FunctionDefinitionVersion resource represents a function definition version for AWS IoT Greengrass .
CfnGroupConstruct (L1)AWS IoT Greengrass seamlessly extends AWS to edge devices so they can act locally on the data they generate, while still using the cloud for management, analytics, and durable storage.
CfnGroupVersionConstruct (L1)The AWS::Greengrass::GroupVersion resource represents a group version in AWS IoT Greengrass .
CfnLoggerDefinitionConstruct (L1)The AWS::Greengrass::LoggerDefinition resource represents a logger definition for AWS IoT Greengrass .
CfnLoggerDefinitionVersionConstruct (L1)The AWS::Greengrass::LoggerDefinitionVersion resource represents a logger definition version for AWS IoT Greengrass .
CfnResourceDefinitionConstruct (L1)The AWS::Greengrass::ResourceDefinition resource represents a resource definition for AWS IoT Greengrass .
CfnResourceDefinitionVersionConstruct (L1)The AWS::Greengrass::ResourceDefinitionVersion resource represents a resource definition version for AWS IoT Greengrass .
CfnSubscriptionDefinitionConstruct (L1)The AWS::Greengrass::SubscriptionDefinition resource represents a subscription definition for AWS IoT Greengrass .
CfnSubscriptionDefinitionVersionConstruct (L1)The AWS::Greengrass::SubscriptionDefinitionVersion resource represents a subscription definition version for AWS IoT Greengrass .
CfnConnectorDefinition.ConnectorDefinitionVersionPropertyStructA connector definition version contains a list of connectors.
CfnConnectorDefinition.ConnectorPropertyStructConnectors are modules that provide built-in integration with local infrastructure, device protocols, AWS , and other cloud services.
CfnConnectorDefinitionPropsStructProperties for defining a CfnConnectorDefinition.
CfnConnectorDefinitionVersion.ConnectorPropertyStructConnectors are modules that provide built-in integration with local infrastructure, device protocols, AWS , and other cloud services.
CfnConnectorDefinitionVersionPropsStructProperties for defining a CfnConnectorDefinitionVersion.
CfnCoreDefinition.CoreDefinitionVersionPropertyStructA core definition version contains a Greengrass core .
CfnCoreDefinition.CorePropertyStructA core is an AWS IoT device that runs the AWS IoT Greengrass core software and manages local processes for a Greengrass group.
CfnCoreDefinitionPropsStructProperties for defining a CfnCoreDefinition.
CfnCoreDefinitionVersion.CorePropertyStructA core is an AWS IoT device that runs the AWS IoT Greengrass core software and manages local processes for a Greengrass group.
CfnCoreDefinitionVersionPropsStructProperties for defining a CfnCoreDefinitionVersion.
CfnDeviceDefinition.DeviceDefinitionVersionPropertyStructA device definition version contains a list of devices .
CfnDeviceDefinition.DevicePropertyStructA device is an AWS IoT device (thing) that's added to a Greengrass group.
CfnDeviceDefinitionPropsStructProperties for defining a CfnDeviceDefinition.
CfnDeviceDefinitionVersion.DevicePropertyStructA device is an AWS IoT device (thing) that's added to a Greengrass group.
CfnDeviceDefinitionVersionPropsStructProperties for defining a CfnDeviceDefinitionVersion.
CfnFunctionDefinition.DefaultConfigPropertyStructThe default configuration that applies to all Lambda functions in the function definition version.
CfnFunctionDefinition.EnvironmentPropertyStructThe environment configuration for a Lambda function on the AWS IoT Greengrass core.
CfnFunctionDefinition.ExecutionPropertyStructConfiguration settings for the Lambda execution environment on the AWS IoT Greengrass core.
CfnFunctionDefinition.FunctionConfigurationPropertyStructThe group-specific configuration settings for a Lambda function.
CfnFunctionDefinition.FunctionDefinitionVersionPropertyStructA function definition version contains a list of functions.
CfnFunctionDefinition.FunctionPropertyStructA function is a Lambda function that's referenced from an AWS IoT Greengrass group.
CfnFunctionDefinition.ResourceAccessPolicyPropertyStructA list of the resources in the group that the function can access, with the corresponding read-only or read-write permissions. The maximum is 10 resources.
CfnFunctionDefinition.RunAsPropertyStructThe access identity whose permissions are used to run the Lambda function.
CfnFunctionDefinitionPropsStructProperties for defining a CfnFunctionDefinition.
CfnFunctionDefinitionVersion.DefaultConfigPropertyStructThe default configuration that applies to all Lambda functions in the function definition version.
CfnFunctionDefinitionVersion.EnvironmentPropertyStructThe environment configuration for a Lambda function on the AWS IoT Greengrass core.
CfnFunctionDefinitionVersion.ExecutionPropertyStructConfiguration settings for the Lambda execution environment on the AWS IoT Greengrass core.
CfnFunctionDefinitionVersion.FunctionConfigurationPropertyStructThe group-specific configuration settings for a Lambda function.
CfnFunctionDefinitionVersion.FunctionPropertyStructA function is a Lambda function that's referenced from an AWS IoT Greengrass group.
CfnFunctionDefinitionVersion.ResourceAccessPolicyPropertyStructA list of the resources in the group that the function can access, with the corresponding read-only or read-write permissions. The maximum is 10 resources.
CfnFunctionDefinitionVersion.RunAsPropertyStructThe user and group permissions used to run the Lambda function.
CfnFunctionDefinitionVersionPropsStructProperties for defining a CfnFunctionDefinitionVersion.
CfnGroup.GroupVersionPropertyStructA group version in AWS IoT Greengrass , which references of a core definition version, device definition version, subscription definition version, and other version types that contain the components you want to deploy to a Greengrass core device.
CfnGroupPropsStructProperties for defining a CfnGroup.
CfnGroupVersionPropsStructProperties for defining a CfnGroupVersion.
CfnLoggerDefinition.LoggerDefinitionVersionPropertyStructA logger definition version contains a list of loggers .
CfnLoggerDefinition.LoggerPropertyStructA logger represents logging settings for the AWS IoT Greengrass group, which can be stored in CloudWatch and the local file system of your core device.
CfnLoggerDefinitionPropsStructProperties for defining a CfnLoggerDefinition.
CfnLoggerDefinitionVersion.LoggerPropertyStructA logger represents logging settings for the AWS IoT Greengrass group, which can be stored in CloudWatch and the local file system of your core device.
CfnLoggerDefinitionVersionPropsStructProperties for defining a CfnLoggerDefinitionVersion.
CfnResourceDefinition.GroupOwnerSettingPropertyStructSettings that define additional Linux OS group permissions to give to the Lambda function process.
CfnResourceDefinition.LocalDeviceResourceDataPropertyStructSettings for a local device resource, which represents a file under /dev .
CfnResourceDefinition.LocalVolumeResourceDataPropertyStructSettings for a local volume resource, which represents a file or directory on the root file system.
CfnResourceDefinition.ResourceDataContainerPropertyStructA container for resource data, which defines the resource type.
CfnResourceDefinition.ResourceDefinitionVersionPropertyStructA resource definition version contains a list of resources. (In CloudFormation , resources are named resource instances .).
CfnResourceDefinition.ResourceDownloadOwnerSettingPropertyStructThe owner setting for a downloaded machine learning resource.
CfnResourceDefinition.ResourceInstancePropertyStructA local resource, machine learning resource, or secret resource.
CfnResourceDefinition.S3MachineLearningModelResourceDataPropertyStructSettings for an Amazon S3 machine learning resource.
CfnResourceDefinition.SageMakerMachineLearningModelResourceDataPropertyStructSettings for an Secrets Manager machine learning resource.
CfnResourceDefinition.SecretsManagerSecretResourceDataPropertyStructSettings for a secret resource, which references a secret from AWS Secrets Manager .
CfnResourceDefinitionPropsStructProperties for defining a CfnResourceDefinition.
CfnResourceDefinitionVersion.GroupOwnerSettingPropertyStructSettings that define additional Linux OS group permissions to give to the Lambda function process.
CfnResourceDefinitionVersion.LocalDeviceResourceDataPropertyStructSettings for a local device resource, which represents a file under /dev .
CfnResourceDefinitionVersion.LocalVolumeResourceDataPropertyStructSettings for a local volume resource, which represents a file or directory on the root file system.
CfnResourceDefinitionVersion.ResourceDataContainerPropertyStructA container for resource data, which defines the resource type.
CfnResourceDefinitionVersion.ResourceDownloadOwnerSettingPropertyStructThe owner setting for a downloaded machine learning resource.
CfnResourceDefinitionVersion.ResourceInstancePropertyStructA local resource, machine learning resource, or secret resource.
CfnResourceDefinitionVersion.S3MachineLearningModelResourceDataPropertyStructSettings for an Amazon S3 machine learning resource.
CfnResourceDefinitionVersion.SageMakerMachineLearningModelResourceDataPropertyStructSettings for an Secrets Manager machine learning resource.
CfnResourceDefinitionVersion.SecretsManagerSecretResourceDataPropertyStructSettings for a secret resource, which references a secret from AWS Secrets Manager .
CfnResourceDefinitionVersionPropsStructProperties for defining a CfnResourceDefinitionVersion.
CfnSubscriptionDefinition.SubscriptionDefinitionVersionPropertyStructA subscription definition version contains a list of subscriptions .
CfnSubscriptionDefinition.SubscriptionPropertyStructSubscriptions define how MQTT messages can be exchanged between devices, functions, and connectors in the group, and with AWS IoT or the local shadow service.
CfnSubscriptionDefinitionPropsStructProperties for defining a CfnSubscriptionDefinition.
CfnSubscriptionDefinitionVersion.SubscriptionPropertyStructSubscriptions define how MQTT messages can be exchanged between devices, functions, and connectors in the group, and with AWS IoT or the local shadow service.
CfnSubscriptionDefinitionVersionPropsStructProperties for defining a CfnSubscriptionDefinitionVersion.