interface IPropertyInjector
| Language | Type name |
|---|---|
.NET | Amazon.CDK.IPropertyInjector |
Go | github.com/aws/aws-cdk-go/awscdk/v2#IPropertyInjector |
Java | software.amazon.awscdk.IPropertyInjector |
Python | aws_cdk.IPropertyInjector |
TypeScript (source) | aws-cdk-lib » IPropertyInjector |
Obtainable from
Property.for()
This interface define an inject function that operates on a Construct's Property.
The Construct must have a constructUniqueId to uniquely identify itself.
Properties
| Name | Type | Description |
|---|---|---|
| construct | string | The unique Id of the Construct class. |
constructUniqueId
Type:
string
The unique Id of the Construct class.
Methods
| Name | Description |
|---|---|
| inject(originalProps, context) | The injector to be applied to the constructor properties of the Construct. |
inject(originalProps, context)
public inject(originalProps: any, context: InjectionContext): any
Parameters
- originalProps
any - context
InjectionContext
Returns
any
The injector to be applied to the constructor properties of the Construct.

.NET
Go
Java
Python
TypeScript (