Experimental
@aws-cdk/aws-applicationsignals-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.
NodeInstrumentationVersion Class
Available versions for Node.js instrumentation.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as applicationsignals_alpha from '@aws-cdk/aws-applicationsignals-alpha';
const nodeInstrumentationVersion = new applicationsignals_alpha.NodeInstrumentationVersion('imageRepo', 'version', 123);
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_applicationsignals_alpha as applicationsignals_alpha
node_instrumentation_version = applicationsignals_alpha.NodeInstrumentationVersion("imageRepo", "version", 123)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.applicationsignals.alpha.*;
NodeInstrumentationVersion nodeInstrumentationVersion = new NodeInstrumentationVersion("imageRepo", "version", 123);
csharp
// Install: dotnet add package Amazon.CDK.AWS.ApplicationSignals.Alpha
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ApplicationSignals.Alpha;
var nodeInstrumentationVersion = new NodeInstrumentationVersion("imageRepo", "version", 123);
go
// Install: go get github.com/aws/aws-cdk-go/awscdkapplicationsignalsalpha/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import applicationsignals_alpha "github.com/aws/aws-cdk-go/awscdkapplicationsignalsalpha"
nodeInstrumentationVersion := applicationsignals_alpha.NewNodeInstrumentationVersion(jsii.String("imageRepo"), jsii.String("version"), jsii.Number(123))
Initializer
ts
new NodeInstrumentationVersion(imageRepo: string, version: string, memoryLimit: number)
python
NodeInstrumentationVersion(image_repo: str, version: str, memory_limit: int | float)
java
new NodeInstrumentationVersion(String imageRepo, String version, Number memoryLimit)
csharp
new NodeInstrumentationVersion(string imageRepo, string version, double memoryLimit)
go
NewNodeInstrumentationVersion(ImageRepo *string, Version *string, MemoryLimit *float64)
Properties
DEFAULT_MEMORY_LIMIT_MIBnumberdefault_memory_limit_mibint | floatDEFAULT_MEMORY_LIMIT_MIBNumberDEFAULT_MEMORY_LIMIT_MIBdoubleDEFAULT_MEMORY_LIMIT_MIB*float64static#The default memory limit of the Node.js instrumentation.
The image repository for Node.js instrumentation.
V0_5_0NodeInstrumentationVersionv0_5_0NodeInstrumentationVersionV0_5_0NodeInstrumentationVersionV0_5_0NodeInstrumentationVersionV0_5_0NodeInstrumentationVersionstatic#ADOT Node.js Instrumentation version 0.5.0.
V0_6_0NodeInstrumentationVersionv0_6_0NodeInstrumentationVersionV0_6_0NodeInstrumentationVersionV0_6_0NodeInstrumentationVersionV0_6_0NodeInstrumentationVersionstatic#ADOT Node.js Instrumentation version 0.6.0.
Methods
imageURI(): stringdef image_uri(self, ) -> strpublic String imageURI()public string ImageURI()func ImageURI() *string#Get the image URI for the instrumentation version.
returns
Returns: The image URI.
memoryLimitMiB(): numberdef memory_limit_mi_b(self, ) -> int | floatpublic Number memoryLimitMiB()public double MemoryLimitMiB()func MemoryLimitMiB() *float64#Get the memory limit in MiB for the instrumentation version.
returns
Returns: The memory limit