Table of Contents

Class Dependency

Namespace
Amazon.CDK
Assembly
Amazon.CDK.dll

A single dependency.

public class Dependency : IDependency
Inheritance
Dependency
Implements
Inherited Members

Examples

// The code below shows an example of how to instantiate this type.
            // The values are placeholders you should change.
            using Amazon.CDK;

            Construct construct;
            var dependency = new Dependency {
                Source = construct,
                Target = construct
            };

Remarks

ExampleMetadata: fixture=_generated

Constructors

Dependency()

public Dependency()

Properties

Source

Source the dependency.

public IConstruct Source { get; set; }

Property Value

IConstruct

Target

Target of the dependency.

public IConstruct Target { get; set; }

Property Value

IConstruct