CDKExtensions Methods
Class Methods 9 members
Supports all classes in the .NET class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all .NET classes; it is the root of the type hierarchy.
AddAWSCDKStack(IDistributedApplicationBuilder, string) Section titled AddAWSCDKStack(IDistributedApplicationBuilder, string) extension IResourceBuilder<IStackResource> public static class CDKExtensions{ public static IResourceBuilder<IStackResource> AddAWSCDKStack( this IDistributedApplicationBuilder builder, string name) { // ... }}Parameters
builder IDistributedApplicationBuilder name string AddAWSCDKStack(IDistributedApplicationBuilder, string, string) Section titled AddAWSCDKStack(IDistributedApplicationBuilder, string, string) extension IResourceBuilder<IStackResource> public static class CDKExtensions{ public static IResourceBuilder<IStackResource> AddAWSCDKStack( this IDistributedApplicationBuilder builder, string name, string stackName) { // ... }}Parameters
builder IDistributedApplicationBuilder name string stackName string AddAWSCDKStack(IDistributedApplicationBuilder, string, ConstructBuilderDelegate<T>) Section titled AddAWSCDKStack(IDistributedApplicationBuilder, string, ConstructBuilderDelegate<T>) extension IResourceBuilder<IStackResource<T>> public static class CDKExtensions{ public static IResourceBuilder<IStackResource<T>> AddAWSCDKStack<T>( this IDistributedApplicationBuilder builder, string name, ConstructBuilderDelegate<T> stackBuilder) { // ... }}Parameters
AddConstruct(IResourceBuilder<IResourceWithConstruct>, string, ConstructBuilderDelegate<T>) Section titled AddConstruct(IResourceBuilder<IResourceWithConstruct>, string, ConstructBuilderDelegate<T>) extension IResourceBuilder<IConstructResource<T>> public static class CDKExtensions{ public static IResourceBuilder<IConstructResource<T>> AddConstruct<T>( this IResourceBuilder<IResourceWithConstruct> builder, string name, ConstructBuilderDelegate<T> constructBuilder) { // ... }}Parameters
builder IResourceBuilder<IResourceWithConstruct> name string constructBuilder ConstructBuilderDelegate<T> AddOutput(IResourceBuilder<IStackResource<TStack>>, string, ConstructOutputDelegate<TStack>) Section titled AddOutput(IResourceBuilder<IStackResource<TStack>>, string, ConstructOutputDelegate<TStack>) extension IResourceBuilder<IStackResource<TStack>> public static class CDKExtensions{ public static IResourceBuilder<IStackResource<TStack>> AddOutput<TStack>( this IResourceBuilder<IStackResource<TStack>> builder, string name, ConstructOutputDelegate<TStack> output) { // ... }}Parameters
builder IResourceBuilder<IStackResource<TStack>> name string output ConstructOutputDelegate<TStack> AddOutput(IResourceBuilder<IConstructResource<T>>, string, ConstructOutputDelegate<T>) Section titled AddOutput(IResourceBuilder<IConstructResource<T>>, string, ConstructOutputDelegate<T>) extension IResourceBuilder<IConstructResource<T>> public static class CDKExtensions{ public static IResourceBuilder<IConstructResource<T>> AddOutput<T>( this IResourceBuilder<IConstructResource<T>> builder, string name, ConstructOutputDelegate<T> output) { // ... }}Parameters
GetOutput(IResourceBuilder<IConstructResource<T>>, string, ConstructOutputDelegate<T>) Section titled GetOutput(IResourceBuilder<IConstructResource<T>>, string, ConstructOutputDelegate<T>) extension StackOutputReference public static class CDKExtensions{ public static StackOutputReference GetOutput<T>( this IResourceBuilder<IConstructResource<T>> builder, string name, ConstructOutputDelegate<T> output) { // ... }}Parameters
WithEnvironment(IResourceBuilder<TDestination>, string, IResourceBuilder<IResourceWithConstruct<TConstruct>>, ConstructOutputDelegate<TConstruct>, string?) Section titled WithEnvironment(IResourceBuilder<TDestination>, string, IResourceBuilder<IResourceWithConstruct<TConstruct>>, ConstructOutputDelegate<TConstruct>, string?) extension IResourceBuilder<TDestination> public static class CDKExtensions{ public static IResourceBuilder<TDestination> WithEnvironment<TDestination, TConstruct>( this IResourceBuilder<TDestination> builder, string name, IResourceBuilder<IResourceWithConstruct<TConstruct>> construct, ConstructOutputDelegate<TConstruct> outputDelegate, string? outputName = null) { // ... }}Parameters
builder IResourceBuilder<TDestination> name string construct IResourceBuilder<IResourceWithConstruct<TConstruct>> outputDelegate ConstructOutputDelegate<TConstruct> outputName string? optional WithReference(IResourceBuilder<TDestination>, IResourceBuilder<IResourceWithConstruct<TConstruct>>, ConstructOutputDelegate<TConstruct>, string, string?) Section titled WithReference(IResourceBuilder<TDestination>, IResourceBuilder<IResourceWithConstruct<TConstruct>>, ConstructOutputDelegate<TConstruct>, string, string?) extension IResourceBuilder<TDestination> public static class CDKExtensions{ public static IResourceBuilder<TDestination> WithReference<TDestination, TConstruct>( this IResourceBuilder<TDestination> builder, IResourceBuilder<IResourceWithConstruct<TConstruct>> construct, ConstructOutputDelegate<TConstruct> outputDelegate, string outputName, string? configSection = null) { // ... }}Parameters
builder IResourceBuilder<TDestination> construct IResourceBuilder<IResourceWithConstruct<TConstruct>> outputDelegate ConstructOutputDelegate<TConstruct> outputName string configSection string? optional