class InlineCode
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.AppSync.InlineCode |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsappsync#InlineCode |
![]() | software.amazon.awscdk.services.appsync.InlineCode |
![]() | aws_cdk.aws_appsync.InlineCode |
![]() | aws-cdk-lib » aws_appsync » InlineCode |
Extends
Code
AppSync function code from an inline string.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_appsync as appsync } from 'aws-cdk-lib';
const inlineCode = new appsync.InlineCode('code');
Initializer
new InlineCode(code: string)
Parameters
- code
string
Methods
Name | Description |
---|---|
bind(_scope) | Bind source code to an AppSync Function or resolver. |
bind(_scope)
public bind(_scope: Construct): CodeConfig
Parameters
- _scope
Construct
Returns
Bind source code to an AppSync Function or resolver.