withReferenceEnvironment
Method
interface ContainerResource { // ... omitted for brevity withReferenceEnvironment(options: ReferenceEnvironmentInjectionOptions): IResourceWithEnvironment;}Signature
method
withReferenceEnvironment builderConfigures how information is injected into environment variables when the resource references other resources.
withReferenceEnvironment(options: ReferenceEnvironmentInjectionOptions): IResourceWithEnvironmentParameters
optionsReferenceEnvironmentInjectionOptions Options controlling which reference information is emitted.Returns
IResourceWithEnvironment Applies to
This method applies to the following types: