CloudFormationExtensions.AddAWSCloudFormationStack Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
AddAWSCloudFormationStack(IDistributedApplicationBuilder, String) |
Add a CloudFormation stack for provisioning application resources. |
AddAWSCloudFormationStack(IDistributedApplicationBuilder, String, String) |
Add a CloudFormation stack for provisioning application resources. |
AddAWSCloudFormationStack(IDistributedApplicationBuilder, String)
- Source:
- CloudFormationExtensions.cs
Add a CloudFormation stack for provisioning application resources.
public static Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.AWS.CloudFormation.ICloudFormationStackResource> AddAWSCloudFormationStack (this Aspire.Hosting.IDistributedApplicationBuilder builder, string stackName);
static member AddAWSCloudFormationStack : Aspire.Hosting.IDistributedApplicationBuilder * string -> Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.AWS.CloudFormation.ICloudFormationStackResource>
<Extension()>
Public Function AddAWSCloudFormationStack (builder As IDistributedApplicationBuilder, stackName As String) As IResourceBuilder(Of ICloudFormationStackResource)
Parameters
- builder
- IDistributedApplicationBuilder
- stackName
- String
The name of the CloudFormation stack.
Returns
Applies to
AddAWSCloudFormationStack(IDistributedApplicationBuilder, String, String)
- Source:
- CloudFormationExtensions.cs
Add a CloudFormation stack for provisioning application resources.
public static Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.AWS.CloudFormation.ICloudFormationStackResource> AddAWSCloudFormationStack (this Aspire.Hosting.IDistributedApplicationBuilder builder, string name, string? stackName = default);
static member AddAWSCloudFormationStack : Aspire.Hosting.IDistributedApplicationBuilder * string * string -> Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.AWS.CloudFormation.ICloudFormationStackResource>
<Extension()>
Public Function AddAWSCloudFormationStack (builder As IDistributedApplicationBuilder, name As String, Optional stackName As String = Nothing) As IResourceBuilder(Of ICloudFormationStackResource)
Parameters
- name
- String
The name of the resource.
- stackName
- String
The name of the CloudFormation stack. If not specified, the CloudFormation stack name will be the resource name prefixed with 'Aspire-'