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.
Returns
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for