Skip to content

Returns the details of a single instrumentation configuration identified by service, environment, signal type, and location

Description

Returns the details of a single instrumentation configuration identified by service, environment, signal type, and location. Use this to audit or display configuration details.

Usage

cloudwatchapplicationsignals_get_instrumentation_configuration(
  InstrumentationType, Service, Environment, SignalType,
  LocationIdentifier)

Arguments

  • InstrumentationType

    [required] Type of instrumentation configuration (BREAKPOINT or PROBE). Required to identify the configuration to retrieve.

  • Service

    [required] Service name for the instrumentation configuration.

  • Environment

    [required] Environment name for the instrumentation configuration.

  • SignalType

    [required] Signal type for the instrumentation configuration.

  • LocationIdentifier

    [required] Location identifier - either full code location or a pre-computed hash.

Value

A list with the following syntax:

list(
  Configuration = list(
    InstrumentationType = "BREAKPOINT"|"PROBE",
    Service = "string",
    Environment = "string",
    SignalType = "SNAPSHOT",
    Location = list(
      CodeLocation = list(
        Language = "Java"|"Python"|"Javascript",
        CodeUnit = "string",
        ClassName = "string",
        MethodName = "string",
        FilePath = "string",
        LineNumber = 123
      )
    ),
    LocationHash = "string",
    Description = "string",
    ExpiresAt = as.POSIXct(
      "2015-01-01"
    ),
    AttributeFilters = list(
      list(
        "string"
      )
    ),
    CaptureConfiguration = list(
      CodeCapture = list(
        CaptureArguments = list(
          "string"
        ),
        CaptureReturn = TRUE|FALSE,
        CaptureStackTrace = TRUE|FALSE,
        CaptureLocals = list(
          "string"
        ),
        CaptureLimits = list(
          MaxHits = 123,
          MaxStringLength = 123,
          MaxCollectionWidth = 123,
          MaxCollectionDepth = 123,
          MaxStackFrames = 123,
          MaxStackTraceSize = 123,
          MaxObjectDepth = 123,
          MaxFieldsPerObject = 123
        )
      )
    ),
    CreatedAt = as.POSIXct(
      "2015-01-01"
    ),
    ARN = "string"
  )
)

Request syntax

svc$get_instrumentation_configuration(
  InstrumentationType = "BREAKPOINT"|"PROBE",
  Service = "string",
  Environment = "string",
  SignalType = "SNAPSHOT",
  LocationIdentifier = list(
    CodeLocation = list(
      Language = "Java"|"Python"|"Javascript",
      CodeUnit = "string",
      ClassName = "string",
      MethodName = "string",
      FilePath = "string",
      LineNumber = 123
    ),
    LocationHash = "string"
  )
)