interface Dependency
Language | Type name |
---|---|
![]() | Amazon.CDK.Dependency |
![]() | software.amazon.awscdk.core.Dependency |
![]() | aws_cdk.core.Dependency |
![]() | @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.