Show / Hide Table of Contents

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).

S3Location

The location of the code in S3 (mutually exclusive with inlineCode).

Properties

InlineCode

Inline code (mutually exclusive with s3Location).

string? InlineCode { get; }
Property Value

string

Remarks

Default: - none

S3Location

The location of the code in S3 (mutually exclusive with inlineCode).

ILocation? S3Location { get; }
Property Value

ILocation

Remarks

Default: - none

Back to top Generated by DocFX