Udostępnij za pośrednictwem


CloudFormationExtensions.AddAWSCloudFormationStack Method

Definition

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

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-'

Returns

Applies to