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(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
InlineCode(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
InlineCode(String) |
Methods
Bind(Construct) | Bind source code to an AppSync Function or resolver. |
Constructors
InlineCode(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected InlineCode(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
InlineCode(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected InlineCode(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
InlineCode(String)
public InlineCode(string code)
Parameters
- code System.String
Methods
Bind(Construct)
Bind source code to an AppSync Function or resolver.
public override ICodeConfig Bind(Construct scope)
Parameters
- scope Constructs.Construct
Returns