Package software.amazon.awscdk
Class PropertyInjectors
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.PropertyInjectors
- All Implemented Interfaces:
 software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
           date="2025-10-29T11:15:31.041Z")
@Stability(Stable)
public class PropertyInjectors
extends software.amazon.jsii.JsiiObject
This is a collection of ProjectInjectors assigned to this scope.
 
It is keyed by constructUniqueId. There can be only one ProjectInjector for a constructUniqueId.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.*; PropertyInjectors propertyInjectors = PropertyInjectors.of(this);
- 
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode - 
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedPropertyInjectors(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedPropertyInjectors(software.amazon.jsii.JsiiObjectRef objRef)  - 
Method Summary
Modifier and TypeMethodDescriptionvoidadd(IPropertyInjector... propsInjectors) Add a list of IPropertyInjectors to this collection of PropertyInjectors.Get the PropertyInjector that is registered to the Construct's uniqueId.software.constructs.IConstructgetScope()The scope attached to Injectors.static BooleanReturn whether the given object has a PropertyInjectors property.static PropertyInjectorsof(software.constructs.IConstruct scope) Returns thePropertyInjectorsobject associated with a construct scope.This returns a list of the Constructs that are supporting by this PropertyInjectors.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson 
- 
Constructor Details
- 
PropertyInjectors
protected PropertyInjectors(software.amazon.jsii.JsiiObjectRef objRef)  - 
PropertyInjectors
protected PropertyInjectors(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)  
 - 
 - 
Method Details
- 
hasPropertyInjectors
Return whether the given object has a PropertyInjectors property.We do attribute detection since we can't reliably use 'instanceof'.
- Parameters:
 x- This parameter is required.
 - 
of
@Stability(Stable) @NotNull public static PropertyInjectors of(@NotNull software.constructs.IConstruct scope) Returns thePropertyInjectorsobject associated with a construct scope.If
PropertyInjectorsobject doesn't exist on this scope, then it creates one and attaches it to scope.- Parameters:
 scope- The scope for which these PropertyInjectors will apply. This parameter is required.
 - 
add
Add a list of IPropertyInjectors to this collection of PropertyInjectors.- Parameters:
 propsInjectors-- a list of IPropertyInjector.
 
 - 
doFor
Get the PropertyInjector that is registered to the Construct's uniqueId.- Parameters:
 uniqueId-- the construct uniqueId.
 
- Returns:
 - the IPropertyInjector for that construct uniqueId
 
 - 
supportedClasses
This returns a list of the Constructs that are supporting by this PropertyInjectors.- Returns:
 - a list of string showing the supported Constructs.
 
 - 
getScope
@Stability(Stable) @NotNull public software.constructs.IConstruct getScope()The scope attached to Injectors. 
 -