Interface ICodeConfig
Configuration of the code class.
Namespace: Amazon.CDK.AWS.Synthetics
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICodeConfig
Syntax (vb)
Public Interface 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.Synthetics;
var codeConfig = new CodeConfig {
InlineCode = "inlineCode",
S3Location = new Location {
BucketName = "bucketName",
ObjectKey = "objectKey",
// the properties below are optional
ObjectVersion = "objectVersion"
}
};
Synopsis
Properties
InlineCode | Inline code (mutually exclusive with |
S3Location | The location of the code in S3 (mutually exclusive with |
Properties
InlineCode
Inline code (mutually exclusive with s3Location
).
virtual string InlineCode { get; }
Property Value
System.String
Remarks
Default: - none
S3Location
The location of the code in S3 (mutually exclusive with inlineCode
).
virtual ILocation S3Location { get; }
Property Value
Remarks
Default: - none