Skip to content

PutAppsList

Source: src/AWS/FMS/PutAppsList.ts

Runtime binding for fms:PutAppsList.

Creates or updates a Firewall Manager applications list. Provide the implementation with Effect.provide(AWS.FMS.PutAppsListHttp).

// init — account-level binding takes no resource
const putAppsList = yield* AWS.FMS.PutAppsList();
// runtime
const result = yield* putAppsList({
AppsList: {
ListName: "allowed-apps",
AppsList: [{ AppName: "web", Protocol: "TCP", Port: 443 }],
},
});
console.log(result.AppsList?.ListId);