Class CodeConfig
(experimental) Configuration of the code class.
Inheritance
System.Object
CodeConfig
Implements
Namespace: Amazon.CDK.AWS.Synthetics
Assembly: Amazon.CDK.AWS.Synthetics.dll
Syntax (csharp)
public class CodeConfig : Object, ICodeConfig
Syntax (vb)
Public Class CodeConfig
Inherits Object
Implements ICodeConfig
Remarks
Stability: Experimental
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
Constructors
CodeConfig() |
Properties
InlineCode | (experimental) Inline code (mutually exclusive with |
S3Location | (experimental) The location of the code in S3 (mutually exclusive with |
Constructors
CodeConfig()
public CodeConfig()
Properties
InlineCode
(experimental) Inline code (mutually exclusive with s3Location
).
public string InlineCode { get; set; }
Property Value
System.String
Remarks
Default: - none
Stability: Experimental
S3Location
(experimental) The location of the code in S3 (mutually exclusive with inlineCode
).
public ILocation S3Location { get; set; }
Property Value
Remarks
Default: - none
Stability: Experimental