Class InlineCode
Canary code from an inline string.
Inherited Members
Namespace: Amazon.CDK.AWS.Synthetics
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class InlineCode : Code
Syntax (vb)
Public Class InlineCode
Inherits Code
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 inlineCode = new InlineCode("code");
Synopsis
Constructors
Inline |
Used by jsii to construct an instance of this class from a Javascript-owned object reference |
Inline |
Used by jsii to construct an instance of this class from DeputyProps |
Inline |
Methods
Bind(Construct, String, Runtime |
Called when the canary is initialized to allow this object to bind to the stack, add resources and have fun. |
Constructors
InlineCode(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected InlineCode(ByRefValue reference)
Parameters
- reference Amazon.
JSII. Runtime. Deputy. By Ref Value The Javascript-owned object reference
InlineCode(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected InlineCode(DeputyBase.DeputyProps props)
Parameters
- props Amazon.
JSII. Runtime. Deputy. Deputy Base. Deputy Props The deputy props
InlineCode(String)
public InlineCode(string code)
Parameters
- code System.
String
Methods
Bind(Construct, String, RuntimeFamily, String)
Called when the canary is initialized to allow this object to bind to the stack, add resources and have fun.
public override ICodeConfig Bind(Construct scope, string handler, RuntimeFamily family, string runtimeName = null)
Parameters
- scope Constructs.
Construct - handler System.
String - family Runtime
Family - runtimeName System.
String
Returns