Package software.amazon.awscdk
Interface InjectionContext
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
InjectionContext.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-13T16:09:57.410Z")
@Stability(Stable)
public interface InjectionContext
extends software.amazon.jsii.JsiiSerializable
This defines the values needed for Injection.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.*;
import software.constructs.*;
Construct construct;
InjectionContext injectionContext = InjectionContext.builder()
.id("id")
.scope(construct)
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forInjectionContextstatic final classAn implementation forInjectionContext -
Method Summary
Modifier and TypeMethodDescriptionstatic InjectionContext.Builderbuilder()getId()id from the Construct constructor.software.constructs.ConstructgetScope()scope from the constructor.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getId
id from the Construct constructor. -
getScope
@Stability(Stable) @NotNull software.constructs.Construct getScope()scope from the constructor. -
builder
- Returns:
- a
InjectionContext.BuilderofInjectionContext
-