EngineEvent
EngineEvent expands apitype.EngineEvent, adding a little more metadata.
Properties
timestampinteger requiredTimestamp of the event (seconds).typestring requiredType describes which payload object is associated with the event, such that in JavaScriptevent[event.type]is never undefined/null.- Present when
typeiscancelEvent. - Present when
typeisstdoutEvent. - ↳
messagestring requiredThe message content - ↳
colorstring requiredThe output color - Present when
typeisdiagnosticEvent. - ↳
urnstring optionalThe Pulumi URN - ↳
prefixstring optionalThe prefix - ↳
messagestring requiredThe message content - ↳
colorstring requiredThe output color - ↳
severitystring requiredSeverity is one of “info”, “info#err”, “warning”, or “error”. - ↳
streamIDinteger optionalThe stream identifier - ↳
ephemeralboolean optionalWhether ephemeral is enabled - Present when
typeispreludeEvent. - ↳
configmap[string]string requiredConfig contains the keys and values for the update. Encrypted configuration values may be blinded. - Present when
typeissummaryEvent. - ↳
maybeCorruptboolean requiredMaybeCorrupt is set if one or more of the resources is in an invalid state. - ↳
durationSecondsinteger requiredDuration is the number of seconds the update was executing. - ↳
resourceChangesmap[string]integer requiredResourceChanges contains the count for resource change by type. - ↳
PolicyPacksmap[string]string requiredPolicy Packs run during the update, as a map from policy pack name to version. For newer clients, the value is the version tag prefixed withv; for older clients it is the raw version. - ↳
isPreviewboolean requiredIsPreview indicates whether this is a preview or an update. - Present when
typeisresourcePreEvent. - The metadata
- ↳
planningboolean optionalWhether planning is enabled - Present when
typeisresOutputsEvent. - The metadata
- ↳
planningboolean optionalWhether planning is enabled - Present when
typeisresOpFailedEvent. - The metadata
- ↳
statusinteger requiredThe current status - ↳
stepsinteger requiredThe steps - Present when
typeispolicyEvent. - ↳
resourceUrnstring optionalThe resource urn - ↳
messagestring requiredThe message content - ↳
colorstring requiredThe output color - ↳
policyNamestring requiredThe policy name - ↳
policyPackNamestring requiredThe policy pack name - ↳
policyPackVersionstring requiredThe policy pack version - ↳
policyPackVersionTagstring requiredThe policy pack version tag - ↳
enforcementLevelstring requiredEnforcementLevel is one of “warning”, “mandatory”, “remediate”, or “none”. - ↳
severitystring optionalSeverity is one of “low”, “medium”, “high”, or “critical”. An empty string is omitted and represents an unspecified severity. - Present when
typeispolicyRemediationEvent. - ↳
resourceUrnstring optionalThe resource urn - ↳
colorstring requiredThe output color - ↳
policyNamestring requiredThe policy name - ↳
policyPackNamestring requiredThe policy pack name - ↳
policyPackVersionstring requiredThe policy pack version - ↳
policyPackVersionTagstring requiredThe policy pack version tag - ↳
beforemap[string]object optionalMap of before - ↳
aftermap[string]object optionalMap of after - Present when
typeispolicyLoadEvent. - Present when
typeispolicyAnalyzeSummaryEvent. - ↳
resourceUrnstring requiredThe URN of the resource being analyzed. - ↳
policyPackNamestring requiredThe name of the policy pack. - ↳
policyPackVersionstring requiredThe version of the policy pack. - ↳
policyPackVersionTagstring requiredThe version tag of the policy pack. - ↳
passedarray[string] optionalThe names of resource policies that passed (i.e. did not produce any violations). - ↳
failedarray[string] optionalThe names of resource policies that failed (i.e. produced violations). - Present when
typeispolicyRemediateSummaryEvent. - ↳
resourceUrnstring requiredThe URN of the resource being remediated. - ↳
policyPackNamestring requiredThe name of the policy pack. - ↳
policyPackVersionstring requiredThe version of the policy pack. - ↳
policyPackVersionTagstring requiredThe version tag of the policy pack. - ↳
passedarray[string] optionalThe names of resource policies that passed (i.e. did not produce any violations). - ↳
failedarray[string] optionalThe names of resource policies that failed (i.e. produced violations). - Present when
typeispolicyAnalyzeStackSummaryEvent. - ↳
policyPackNamestring requiredThe name of the policy pack. - ↳
policyPackVersionstring requiredThe version of the policy pack. - ↳
policyPackVersionTagstring requiredThe version tag of the policy pack. - ↳
passedarray[string] optionalThe names of stack policies that passed (i.e. did not produce any violations). - ↳
failedarray[string] optionalThe names of stack policies that failed (i.e. produced violations). - Present when
typeisstartDebuggingEvent. - ↳
configmap[string]object optionalThe configuration - Present when
typeisprogressEvent. - ↳
typeenum requiredThe type of process (e.g. plugin download, plugin install).Values:plugin-download,plugin-install - ↳
idstring requiredA unique identifier for the process. - ↳
messagestring requiredA message accompanying the process. - ↳
receivedinteger requiredThe number of items completed so far (e.g. bytes received, items installed, etc.) - ↳
totalinteger requiredThe total number of items that must be completed. - ↳
doneboolean requiredTrue if and only if the process has completed. - Present when
typeiserrorEvent. - ↳
errorstring requiredError is the error message.
Thank you for your feedback!
If you have a question about how to use Pulumi, reach out in Community Slack.
Open an issue on GitHub to report a problem or suggest an improvement.