EnvironmentResponse
An Environment contains the result of evaluating an environment definition.
Properties
- The list of diagnostics produced during environment evaluation.
- The source range where the diagnostic occurred.
- ↳
summarystring optionalA summary of the diagnostic message. - ↳
pathstring optionalThe path within the environment definition where the diagnostic occurred. - ↳
severitystring optionalThe severity of the diagnostic: “error” or “warning”. - Exprs contains the AST for each expression in the environment definition.
- A summary of the functions used in the environment.
- ↳
funcCountsmap[string]integer requiredA map of function names to the number of times they are used. - ↳
rotationPathsarray[string] requiredThe list of paths that have rotation configured. - Properties contains the detailed values produced by the environment.
- Schema contains the schema for Properties.
- Schema definitions that can be referenced by $ref.
- ↳
_refstring optionalA JSON reference to a schema definition. - A list of schemas, any of which the value must match.
- A list of schemas, exactly one of which the value must match.
- Schemas for the leading items in an array.
- The schema for array items.
- The schema for additional object properties.
- Schemas for named object properties.
- ↳
typestring requiredThe type of the schema (e.g. string, number, object, array, boolean). - ↳
constobject optionalA constant value the instance must equal. - ↳
enumarray[object] optionalA list of allowed values. - ↳
multipleOfstring optionalThe value must be a multiple of this number. - ↳
maximumstring optionalThe maximum allowed value (inclusive). - ↳
exclusiveMaximumstring optionalThe maximum allowed value (exclusive). - ↳
minimumstring optionalThe minimum allowed value (inclusive). - ↳
exclusiveMinimumstring optionalThe minimum allowed value (exclusive). - ↳
maxLengthstring optionalThe maximum allowed string length. - ↳
minLengthstring optionalThe minimum allowed string length. - ↳
patternstring optionalA regular expression pattern the string must match. - ↳
maxItemsstring optionalThe maximum number of items in an array. - ↳
minItemsstring optionalThe minimum number of items in an array. - ↳
uniqueItemsboolean optionalWhether array items must be unique. - ↳
maxPropertiesstring optionalThe maximum number of properties in an object. - ↳
minPropertiesstring optionalThe minimum number of properties in an object. - ↳
requiredarray[string] optionalThe list of required property names. - ↳
dependentRequiredmap[string]array optionalA map of property names to lists of properties they depend on. - ↳
titlestring optionalA short human-readable label for the schema (JSON Schema annotation). - ↳
descriptionstring optionalA human-readable explanation of the schema’s purpose (JSON Schema annotation). - ↳
defaultobject optionalThe default value for the schema. - ↳
deprecatedboolean optionalWhether the schema is deprecated. - ↳
examplesarray[object] optionalExample values for the schema. - ↳
secretboolean optionalPulumi ESC extension: if true, the value should be treated as sensitive and masked in output. - ↳
rotateOnlyarray[string] optionalPulumi ESC extension: property paths within this schema that support rotation-only updates. - ExecutionContext contains the values + schema for the execution context passed to the root environment.
- Properties contains the detailed values produced by the execution context.
- Schema contains the schema for Properties.
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.