Skip to content

Dependency

A single dependency.

Initializer

import com.aliyun.ros.cdk.core.Dependency;
Dependency.builder()
    .source(IConstruct)
    .target(IConstruct)
    .build();

Properties

Name Type Description
source IConstruct Source the dependency.
target IConstruct Target of the dependency.

sourceRequired

public IConstruct getSource();

Source the dependency.


targetRequired

public IConstruct getTarget();

Target of the dependency.