CDKExtensions Methods
ClassMethods9 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)extensionIResourceBuilder<IStackResource> public static class CDKExtensions{ public static IResourceBuilder<IStackResource> AddAWSCDKStack( this IDistributedApplicationBuilder builder, string name) { // ... }}Parameters
builderIDistributedApplicationBuilder namestringAddAWSCDKStack(IDistributedApplicationBuilder, string, string) Section titled AddAWSCDKStack(IDistributedApplicationBuilder, string, string)extensionIResourceBuilder<IStackResource> public static class CDKExtensions{ public static IResourceBuilder<IStackResource> AddAWSCDKStack( this IDistributedApplicationBuilder builder, string name, string stackName) { // ... }}Parameters
builderIDistributedApplicationBuilder namestringstackName stringAddAWSCDKStack(IDistributedApplicationBuilder, string, ConstructBuilderDelegate<T>) Section titled AddAWSCDKStack(IDistributedApplicationBuilder, string, ConstructBuilderDelegate<T>)extensionIResourceBuilder<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>)extensionIResourceBuilder<IConstructResource<T>> public static class CDKExtensions{ public static IResourceBuilder<IConstructResource<T>> AddConstruct<T>( this IResourceBuilder<IResourceWithConstruct> builder, string name, ConstructBuilderDelegate<T> constructBuilder) { // ... }}Parameters
builderIResourceBuilder<IResourceWithConstruct> namestringconstructBuilder ConstructAddOutput(IResourceBuilder<IStackResource<TStack>>, string, ConstructOutputDelegate<TStack>) Section titled AddOutput(IResourceBuilder<IStackResource<TStack>>, string, ConstructOutputDelegate<TStack>)extensionIResourceBuilder<IStackResource<TStack>> public static class CDKExtensions{ public static IResourceBuilder<IStackResource<TStack>> AddOutput<TStack>( this IResourceBuilder<IStackResource<TStack>> builder, string name, ConstructOutputDelegate<TStack> output) { // ... }}Parameters
builderIResourceBuilder<IStackResource<TStack>> namestringoutputConstructOutputDelegate<TStack> AddOutput(IResourceBuilder<IConstructResource<T>>, string, ConstructOutputDelegate<T>) Section titled AddOutput(IResourceBuilder<IConstructResource<T>>, string, ConstructOutputDelegate<T>)extensionIResourceBuilder<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>)extensionStackpublic 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?)extensionIResourceBuilder<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
builderIResourceBuilder<TDestination> namestringconstructIResourceBuilder<IResourceWithConstruct<TConstruct>> outputDelegate ConstructOutputDelegate<TConstruct> outputName string?optionalWithReference(IResourceBuilder<TDestination>, IResourceBuilder<IResourceWithConstruct<TConstruct>>, ConstructOutputDelegate<TConstruct>, string, string?) Section titled WithReference(IResourceBuilder<TDestination>, IResourceBuilder<IResourceWithConstruct<TConstruct>>, ConstructOutputDelegate<TConstruct>, string, string?)extensionIResourceBuilder<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
builderIResourceBuilder<TDestination> constructIResourceBuilder<IResourceWithConstruct<TConstruct>> outputDelegate ConstructOutputDelegate<TConstruct> outputName stringconfigSection string?optional