Share via


CloudFormationExtensions.WithParameter Method

Definition

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

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);
static member WithParameter : Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.AWS.CloudFormation.ICloudFormationTemplateResource> * string * string -> Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.AWS.CloudFormation.ICloudFormationTemplateResource>
<Extension()>
Public Function WithParameter (builder As IResourceBuilder(Of ICloudFormationTemplateResource), parameterName As String, parameterValue As String) As IResourceBuilder(Of ICloudFormationTemplateResource)

Parameters

parameterName
String

Name of the CloudFormation parameter.

parameterValue
String

Value of the CloudFormation parameter.

Returns

Applies to