Class InlineCode
AppSync function code from an inline string.
Namespace: Amazon.CDK.AWS.AppSync
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class InlineCode : Code
Syntax (vb)
Public Class InlineCode Inherits Code
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.AppSync;
var inlineCode = new InlineCode("code");
Synopsis
Constructors
| InlineCode(string) | AppSync function code from an inline string. |
Methods
| Bind(Construct) | Bind source code to an AppSync Function or resolver. |
Constructors
InlineCode(string)
AppSync function code from an inline string.
public InlineCode(string code)
Parameters
- code string
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.AppSync;
var inlineCode = new InlineCode("code");
Methods
Bind(Construct)
Bind source code to an AppSync Function or resolver.
public override ICodeConfig Bind(Construct scope)
Parameters
- scope Construct
Returns
Overrides
Remarks
ExampleMetadata: fixture=_generated