ConstructBuilderDelegate<T> Delegate

Definition

Delegate for building an AWS CDK construct

public delegate T ConstructBuilderDelegate<out T>(Construct scope) where T : IConstruct;
type ConstructBuilderDelegate<'T (requires 'T :> IConstruct)> = delegate of Construct -> 'T
Public Delegate Function ConstructBuilderDelegate(Of Out T)(scope As Construct) As T 

Type Parameters

T

Construct type

This type parameter is covariant. That is, you can use either the type you specified or any type that is more derived. For more information about covariance and contravariance, see Covariance and Contravariance in Generics.

Parameters

scope
Constructs.Construct

Return Value

T

Applies to