aws-cdk-lib.aws_greengrassv2.CfnComponentVersion.ComponentDependencyRequirementProperty

interface ComponentDependencyRequirementProperty

LanguageType name
.NETAmazon.CDK.AWS.GreengrassV2.CfnComponentVersion.ComponentDependencyRequirementProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsgreengrassv2#CfnComponentVersion_ComponentDependencyRequirementProperty
Javasoftware.amazon.awscdk.services.greengrassv2.CfnComponentVersion.ComponentDependencyRequirementProperty
Pythonaws_cdk.aws_greengrassv2.CfnComponentVersion.ComponentDependencyRequirementProperty
TypeScript aws-cdk-lib » 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 { aws_greengrassv2 as greengrassv2 } from 'aws-cdk-lib';
const componentDependencyRequirementProperty: greengrassv2.CfnComponentVersion.ComponentDependencyRequirementProperty = {
  dependencyType: 'dependencyType',
  versionRequirement: 'versionRequirement',
};

Properties

NameTypeDescription
dependencyType?stringThe type of this dependency. Choose from the following options:.
versionRequirement?stringThe 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 .