IResourceWithConnectionString.withConnectionProperty
Method
interface IResourceWithConnectionString { // ... omitted for brevity withConnectionProperty( name: string, value: string | ReferenceExpression): IResourceWithConnectionString;}Signature
method
withConnectionProperty builderAdds a connection property annotation to the resource being built.
withConnectionProperty( name: string, value: string | ReferenceExpression): IResourceWithConnectionStringParameters
namestringThe name of the connection property to add.valuestring | ReferenceExpression The value to assign to the connection property, specified as a string or reference expression.Returns
IResourceWithConnectionString Defined on
This method is defined on the following type: