PutResourceConfig
Source:
src/AWS/Config/PutResourceConfig.ts
Runtime binding for config:PutResourceConfig — record the
configuration item of a custom (third-party) resource type with AWS
Config, e.g. MyCompany::Service::Widget.
Provide Config.PutResourceConfigHttp on the hosting Lambda Function to
satisfy the requirement.
Recording Custom Resources
Section titled “Recording Custom Resources”// init — grants config:PutResourceConfigconst putResourceConfig = yield* AWS.Config.PutResourceConfig();
// runtimeyield* putResourceConfig({ ResourceType: "MyCompany::Service::Widget", SchemaVersionId: "1.0", ResourceId: "widget-1", Configuration: JSON.stringify({ color: "teal" }),});