OSPolicyResourceExecResourceResponse constructor
const
OSPolicyResourceExecResourceResponse({
- required Input<
OSPolicyResourceExecResourceExecResponse> enforce, - required Input<
OSPolicyResourceExecResourceExecResponse> validate,
Creates a new OSPolicyResourceExecResourceResponse.
enforce What to run to bring this resource into the desired state. An exit code of 100 indicates "success", any other exit code indicates a failure running enforce.
validate What to run to validate this resource is in the desired state. An exit code of 100 indicates "in desired state", and exit code of 101 indicates "not in desired state". Any other exit code indicates a failure running validate.
Implementation
const OSPolicyResourceExecResourceResponse({
required this.enforce,
required this.validate,
});