CloudFormationExtensions.WithParameter 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.
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.