Package com.pulumi
Interface Context
- All Superinterfaces:
ConfigContext,OutputContext
Provides the current stack context used in the stack callback.
-
Method Summary
Methods inherited from interface com.pulumi.context.ConfigContext
config, configMethods inherited from interface com.pulumi.context.OutputContext
output
-
Method Details
-
projectName
String projectName()- Returns:
- the name of the current project
-
stackName
String stackName()- Returns:
- the name of the current stack
-
organizationName
- Returns:
- the name of the current organization
-
log
LoggingContext log()- Returns:
- the logger context
-
export
Append anOutputto exported stack outputs.This method mutates the context internal state.
- Parameters:
name- name of theOutputoutput- theOutputvalue- Returns:
- the current
Context
-
export
Append anOutputvalue to exported stack outputs.This method mutates the context internal state.
- Parameters:
name- name of theOutputoutput- the plain output value- Returns:
- the current
Context
-