CloudFormationExtensions.WithParameter Method

Definition

Add parameters to be provided to CloudFormation when creating the stack for the template.

C#
public static Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.AWS.CloudFormation.ICloudFormationTemplateResource> WithParameter(this Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.AWS.CloudFormation.ICloudFormationTemplateResource> builder, string parameterName, string parameterValue);

Parameters

parameterName
String

Name of the CloudFormation parameter.

parameterValue
String

Value of the CloudFormation parameter.

Returns

Applies to

Produit Versions
.NET Aspire 8.0.0, 9.0.0