interface Dependency
| Language | Type name | 
|---|---|
|  .NET | Amazon.CDK.Dependency | 
|  Java | software.amazon.awscdk.core.Dependency | 
|  Python | aws_cdk.core.Dependency | 
|  TypeScript (source) | @aws-cdk/core»Dependency | 
A single dependency.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as cdk from '@aws-cdk/core';
declare const construct: cdk.Construct;
const dependency: cdk.Dependency = {
  source: construct,
  target: construct,
};
Properties
| Name | Type | Description | 
|---|---|---|
| source | IConstruct | Source the dependency. | 
| target | IConstruct | Target of the dependency. | 
source
Type:
IConstruct
Source the dependency.
target
Type:
IConstruct
Target of the dependency.
