Dependency

class aws_cdk.core.Dependency(*, source, target)

Bases: object

A single dependency.

Parameters:
ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.core as cdk

# construct: cdk.Construct

dependency = cdk.Dependency(
    source=construct,
    target=construct
)

Attributes

source

Source the dependency.

target

Target of the dependency.