interface ComponentDependencyRequirementProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.GreengrassV2.CfnComponentVersion.ComponentDependencyRequirementProperty |
Java | software.amazon.awscdk.services.greengrassv2.CfnComponentVersion.ComponentDependencyRequirementProperty |
Python | aws_cdk.aws_greengrassv2.CfnComponentVersion.ComponentDependencyRequirementProperty |
TypeScript | @aws-cdk/aws-greengrassv2 » CfnComponentVersion » ComponentDependencyRequirementProperty |
Contains information about a component dependency for a Lambda function component.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as greengrassv2 from '@aws-cdk/aws-greengrassv2';
const componentDependencyRequirementProperty: greengrassv2.CfnComponentVersion.ComponentDependencyRequirementProperty = {
dependencyType: 'dependencyType',
versionRequirement: 'versionRequirement',
};
Properties
| Name | Type | Description |
|---|---|---|
| dependency | string | The type of this dependency. Choose from the following options:. |
| version | string | The component version requirement for the component dependency. |
dependencyType?
Type:
string
(optional)
The type of this dependency. Choose from the following options:.
SOFT– The component doesn't restart if the dependency changes state.HARD– The component restarts if the dependency changes state.
Default: HARD
versionRequirement?
Type:
string
(optional)
The component version requirement for the component dependency.
AWS IoT Greengrass uses semantic version constraints. For more information, see Semantic Versioning .

.NET
Java
Python
TypeScript