Class CodeConfig
Result of binding Code into a Function.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.AppSync
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CodeConfig : ICodeConfig
Syntax (vb)
Public Class CodeConfig Implements ICodeConfig
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 codeConfig = new CodeConfig {
InlineCode = "inlineCode",
S3Location = "s3Location"
};
Synopsis
Constructors
| CodeConfig() | Result of binding |
Properties
| InlineCode | Inline code (mutually exclusive with |
| S3Location | The location of the code in S3 (mutually exclusive with |
Constructors
CodeConfig()
Result of binding Code into a Function.
public CodeConfig()
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 codeConfig = new CodeConfig {
InlineCode = "inlineCode",
S3Location = "s3Location"
};
Properties
InlineCode
Inline code (mutually exclusive with s3Location).
public string? InlineCode { get; set; }
Property Value
Remarks
Default: - code is not inline code
S3Location
The location of the code in S3 (mutually exclusive with inlineCode.
public string? S3Location { get; set; }
Property Value
Remarks
Default: - code is not an s3 location