PutExternalEvaluation
Source:
src/AWS/Config/PutExternalEvaluation.ts
Runtime binding for config:PutExternalEvaluation — push an externally
computed compliance verdict for one resource into the bound
ConfigRule (the rule must use the external evaluation mode); the
rule name is injected automatically.
Provide Config.PutExternalEvaluationHttp on the hosting Lambda Function
to satisfy the requirement.
Reporting Evaluations (Custom Rules)
Section titled “Reporting Evaluations (Custom Rules)”// init — grants config:PutExternalEvaluationconst putExternalEvaluation = yield* AWS.Config.PutExternalEvaluation(rule);
// runtimeyield* putExternalEvaluation({ ExternalEvaluation: { ComplianceResourceType: "AWS::S3::Bucket", ComplianceResourceId: "my-bucket", ComplianceType: "COMPLIANT", OrderingTimestamp: new Date(), },});