AWS.FMS reference
AdminAccount
Section titled “AdminAccount”Source:
src/AWS/FMS/AdminAccount.ts
The AWS Firewall Manager administrator account — an organization-level singleton that designates which account manages FMS security policies.
This is a capture-and-restore singleton: FMS exposes no tags, so ownership is
tracked by Alchemy state — adopting a pre-existing admin account that Alchemy
did not create requires --adopt, and destroy disassociates the admin.
AdminAccount: Designating the FMS admin
Section titled “AdminAccount: Designating the FMS admin”Designate the caller as the FMS admin
const admin = yield* FMS.AdminAccount("FmsAdmin", {});Designate a specific member account
const admin = yield* FMS.AdminAccount("FmsAdmin", { adminAccount: "123456789012",});AssociateThirdPartyFirewall
Section titled “AssociateThirdPartyFirewall”Source:
src/AWS/FMS/AssociateThirdPartyFirewall.ts
Runtime binding for fms:AssociateThirdPartyFirewall.
Sets the Firewall Manager policy administrator as a tenant administrator of a third-party firewall service (Palo Alto Networks Cloud NGFW or
Fortigate Cloud Native Firewall). Requires an active AWS Marketplace subscription to the vendor. Provide the implementation with
Effect.provide(AWS.FMS.AssociateThirdPartyFirewallHttp).
AssociateThirdPartyFirewall: Third-Party Firewalls
Section titled “AssociateThirdPartyFirewall: Third-Party Firewalls”// init — account-level binding takes no resourceconst associateThirdPartyFirewall = yield* AWS.FMS.AssociateThirdPartyFirewall();
// runtimeconst result = yield* associateThirdPartyFirewall({ ThirdPartyFirewall: "PALO_ALTO_NETWORKS_CLOUD_NGFW",});console.log(result.ThirdPartyFirewallStatus);BatchAssociateResource
Section titled “BatchAssociateResource”Source:
src/AWS/FMS/BatchAssociateResource.ts
Runtime binding for fms:BatchAssociateResource.
Associates resources with the specified Firewall Manager resource set, reporting per-item failures. Provide the
implementation with Effect.provide(AWS.FMS.BatchAssociateResourceHttp).
BatchAssociateResource: Resource Sets
Section titled “BatchAssociateResource: Resource Sets”// init — account-level binding takes no resourceconst batchAssociateResource = yield* AWS.FMS.BatchAssociateResource();
// runtimeconst result = yield* batchAssociateResource({ ResourceSetIdentifier: resourceSetId, Items: [firewallArn],});console.log(result.FailedItems.length);BatchDisassociateResource
Section titled “BatchDisassociateResource”Source:
src/AWS/FMS/BatchDisassociateResource.ts
Runtime binding for fms:BatchDisassociateResource.
Disassociates resources from the specified Firewall Manager resource set, reporting per-item failures. Provide the
implementation with Effect.provide(AWS.FMS.BatchDisassociateResourceHttp).
BatchDisassociateResource: Resource Sets
Section titled “BatchDisassociateResource: Resource Sets”// init — account-level binding takes no resourceconst batchDisassociateResource = yield* AWS.FMS.BatchDisassociateResource();
// runtimeconst result = yield* batchDisassociateResource({ ResourceSetIdentifier: resourceSetId, Items: [firewallArn],});console.log(result.FailedItems.length);DeleteAppsList
Section titled “DeleteAppsList”Source:
src/AWS/FMS/DeleteAppsList.ts
Runtime binding for fms:DeleteAppsList.
Permanently deletes the specified Firewall Manager applications list. Provide the
implementation with Effect.provide(AWS.FMS.DeleteAppsListHttp).
DeleteAppsList: Applications Lists
Section titled “DeleteAppsList: Applications Lists”// init — account-level binding takes no resourceconst deleteAppsList = yield* AWS.FMS.DeleteAppsList();
// runtimeyield* deleteAppsList({ ListId: listId });DeleteNotificationChannel
Section titled “DeleteNotificationChannel”Source:
src/AWS/FMS/DeleteNotificationChannel.ts
Runtime binding for fms:DeleteNotificationChannel.
Deletes the Firewall Manager association with the IAM role and SNS topic used to record SNS logs. Provide the
implementation with Effect.provide(AWS.FMS.DeleteNotificationChannelHttp).
DeleteNotificationChannel: Notification Channel
Section titled “DeleteNotificationChannel: Notification Channel”// init — account-level binding takes no resourceconst deleteNotificationChannel = yield* AWS.FMS.DeleteNotificationChannel();
// runtimeyield* deleteNotificationChannel();DeletePolicy
Section titled “DeletePolicy”Source:
src/AWS/FMS/DeletePolicy.ts
Runtime binding for fms:DeletePolicy.
Permanently deletes the specified Firewall Manager policy, optionally cleaning up the resources it created in member accounts. Provide the
implementation with Effect.provide(AWS.FMS.DeletePolicyHttp).
DeletePolicy: Managing Policies
Section titled “DeletePolicy: Managing Policies”// init — account-level binding takes no resourceconst deletePolicy = yield* AWS.FMS.DeletePolicy();
// runtimeyield* deletePolicy({ PolicyId: policyId, DeleteAllPolicyResources: true });DeleteProtocolsList
Section titled “DeleteProtocolsList”Source:
src/AWS/FMS/DeleteProtocolsList.ts
Runtime binding for fms:DeleteProtocolsList.
Permanently deletes the specified Firewall Manager protocols list. Provide the
implementation with Effect.provide(AWS.FMS.DeleteProtocolsListHttp).
DeleteProtocolsList: Protocols Lists
Section titled “DeleteProtocolsList: Protocols Lists”// init — account-level binding takes no resourceconst deleteProtocolsList = yield* AWS.FMS.DeleteProtocolsList();
// runtimeyield* deleteProtocolsList({ ListId: listId });DeleteResourceSet
Section titled “DeleteResourceSet”Source:
src/AWS/FMS/DeleteResourceSet.ts
Runtime binding for fms:DeleteResourceSet.
Permanently deletes the specified Firewall Manager resource set. Provide the
implementation with Effect.provide(AWS.FMS.DeleteResourceSetHttp).
DeleteResourceSet: Resource Sets
Section titled “DeleteResourceSet: Resource Sets”// init — account-level binding takes no resourceconst deleteResourceSet = yield* AWS.FMS.DeleteResourceSet();
// runtimeyield* deleteResourceSet({ Identifier: resourceSetId });DisassociateThirdPartyFirewall
Section titled “DisassociateThirdPartyFirewall”Source:
src/AWS/FMS/DisassociateThirdPartyFirewall.ts
Runtime binding for fms:DisassociateThirdPartyFirewall.
Disassociates a Firewall Manager policy administrator from a third-party firewall tenant. The third-party vendor deletes all of the firewalls
associated with the account. Provide the implementation with Effect.provide(AWS.FMS.DisassociateThirdPartyFirewallHttp).
DisassociateThirdPartyFirewall: Third-Party Firewalls
Section titled “DisassociateThirdPartyFirewall: Third-Party Firewalls”// init — account-level binding takes no resourceconst disassociateThirdPartyFirewall = yield* AWS.FMS.DisassociateThirdPartyFirewall();
// runtimeconst result = yield* disassociateThirdPartyFirewall({ ThirdPartyFirewall: "PALO_ALTO_NETWORKS_CLOUD_NGFW",});console.log(result.ThirdPartyFirewallStatus);GetAdminScope
Section titled “GetAdminScope”Source:
src/AWS/FMS/GetAdminScope.ts
Runtime binding for fms:GetAdminScope.
Returns information about the specified account’s administrative scope — the resources a Firewall Manager administrator can manage. Provide the
implementation with Effect.provide(AWS.FMS.GetAdminScopeHttp).
GetAdminScope: Administrator Management
Section titled “GetAdminScope: Administrator Management”// init — account-level binding takes no resourceconst getAdminScope = yield* AWS.FMS.GetAdminScope();
// runtimeconst result = yield* getAdminScope({ AdminAccount: accountId });console.log(result.Status, result.AdminScope?.PolicyTypeScope);GetAppsList
Section titled “GetAppsList”Source:
src/AWS/FMS/GetAppsList.ts
Runtime binding for fms:GetAppsList.
Returns the specified Firewall Manager applications list. Provide the
implementation with Effect.provide(AWS.FMS.GetAppsListHttp).
GetAppsList: Applications Lists
Section titled “GetAppsList: Applications Lists”// init — account-level binding takes no resourceconst getAppsList = yield* AWS.FMS.GetAppsList();
// runtimeconst result = yield* getAppsList({ ListId: listId });console.log(result.AppsList?.AppsList?.length);GetComplianceDetail
Section titled “GetComplianceDetail”Source:
src/AWS/FMS/GetComplianceDetail.ts
Runtime binding for fms:GetComplianceDetail.
Returns detailed compliance information about the specified member account — the resources that are in and out of compliance with the specified policy. Provide the
implementation with Effect.provide(AWS.FMS.GetComplianceDetailHttp).
GetComplianceDetail: Compliance and Protection Status
Section titled “GetComplianceDetail: Compliance and Protection Status”// init — account-level binding takes no resourceconst getComplianceDetail = yield* AWS.FMS.GetComplianceDetail();
// runtimeconst result = yield* getComplianceDetail({ PolicyId: policyId, MemberAccount: accountId,});console.log(result.PolicyComplianceDetail?.Violators?.length);GetNotificationChannel
Section titled “GetNotificationChannel”Source:
src/AWS/FMS/GetNotificationChannel.ts
Runtime binding for fms:GetNotificationChannel.
Returns the SNS topic that is used to record Firewall Manager SNS logs. Provide the
implementation with Effect.provide(AWS.FMS.GetNotificationChannelHttp).
GetNotificationChannel: Notification Channel
Section titled “GetNotificationChannel: Notification Channel”// init — account-level binding takes no resourceconst getNotificationChannel = yield* AWS.FMS.GetNotificationChannel();
// runtimeconst result = yield* getNotificationChannel();console.log(result.SnsTopicArn);GetPolicy
Section titled “GetPolicy”Source:
src/AWS/FMS/GetPolicy.ts
Runtime binding for fms:GetPolicy.
Returns the specified Firewall Manager policy. Provide the
implementation with Effect.provide(AWS.FMS.GetPolicyHttp).
GetPolicy: Reading Policies
Section titled “GetPolicy: Reading Policies”// init — account-level binding takes no resourceconst getPolicy = yield* AWS.FMS.GetPolicy();
// runtimeconst result = yield* getPolicy({ PolicyId: policyId });console.log(result.Policy?.PolicyName);GetProtectionStatus
Section titled “GetProtectionStatus”Source:
src/AWS/FMS/GetProtectionStatus.ts
Runtime binding for fms:GetProtectionStatus.
Returns policy-level attack summary information for Shield Advanced policies — DDoS attacks detected during the specified time period. Provide the
implementation with Effect.provide(AWS.FMS.GetProtectionStatusHttp).
GetProtectionStatus: Compliance and Protection Status
Section titled “GetProtectionStatus: Compliance and Protection Status”// init — account-level binding takes no resourceconst getProtectionStatus = yield* AWS.FMS.GetProtectionStatus();
// runtimeconst result = yield* getProtectionStatus({ PolicyId: policyId });console.log(result.ServiceType, result.Data);GetProtocolsList
Section titled “GetProtocolsList”Source:
src/AWS/FMS/GetProtocolsList.ts
Runtime binding for fms:GetProtocolsList.
Returns the specified Firewall Manager protocols list. Provide the
implementation with Effect.provide(AWS.FMS.GetProtocolsListHttp).
GetProtocolsList: Protocols Lists
Section titled “GetProtocolsList: Protocols Lists”// init — account-level binding takes no resourceconst getProtocolsList = yield* AWS.FMS.GetProtocolsList();
// runtimeconst result = yield* getProtocolsList({ ListId: listId });console.log(result.ProtocolsList?.ProtocolsList);GetResourceSet
Section titled “GetResourceSet”Source:
src/AWS/FMS/GetResourceSet.ts
Runtime binding for fms:GetResourceSet.
Returns the specified Firewall Manager resource set. Provide the
implementation with Effect.provide(AWS.FMS.GetResourceSetHttp).
GetResourceSet: Resource Sets
Section titled “GetResourceSet: Resource Sets”// init — account-level binding takes no resourceconst getResourceSet = yield* AWS.FMS.GetResourceSet();
// runtimeconst result = yield* getResourceSet({ Identifier: resourceSetId });console.log(result.ResourceSet.Name);GetThirdPartyFirewallAssociationStatus
Section titled “GetThirdPartyFirewallAssociationStatus”Source:
src/AWS/FMS/GetThirdPartyFirewallAssociationStatus.ts
Runtime binding for fms:GetThirdPartyFirewallAssociationStatus.
Returns the onboarding status of the Firewall Manager admin account with a third-party firewall vendor tenant, including the AWS Marketplace
subscription status. Provide the implementation with Effect.provide(AWS.FMS.GetThirdPartyFirewallAssociationStatusHttp).
GetThirdPartyFirewallAssociationStatus: Third-Party Firewalls
Section titled “GetThirdPartyFirewallAssociationStatus: Third-Party Firewalls”// init — account-level binding takes no resourceconst getThirdPartyFirewallAssociationStatus = yield* AWS.FMS.GetThirdPartyFirewallAssociationStatus();
// runtimeconst result = yield* getThirdPartyFirewallAssociationStatus({ ThirdPartyFirewall: "PALO_ALTO_NETWORKS_CLOUD_NGFW",});console.log( result.ThirdPartyFirewallStatus, result.MarketplaceOnboardingStatus,);GetViolationDetails
Section titled “GetViolationDetails”Source:
src/AWS/FMS/GetViolationDetails.ts
Runtime binding for fms:GetViolationDetails.
Returns violation details for the specified resource covered by a Firewall Manager network ACL, security group, Network Firewall, DNS Firewall, or third-party firewall policy. Provide the
implementation with Effect.provide(AWS.FMS.GetViolationDetailsHttp).
GetViolationDetails: Compliance and Protection Status
Section titled “GetViolationDetails: Compliance and Protection Status”// init — account-level binding takes no resourceconst getViolationDetails = yield* AWS.FMS.GetViolationDetails();
// runtimeconst result = yield* getViolationDetails({ PolicyId: policyId, MemberAccount: accountId, ResourceId: instanceId, ResourceType: "AWS::EC2::Instance",});console.log(result.ViolationDetail?.ResourceViolations.length);ListAdminAccountsForOrganization
Section titled “ListAdminAccountsForOrganization”Source:
src/AWS/FMS/ListAdminAccountsForOrganization.ts
Runtime binding for fms:ListAdminAccountsForOrganization.
Returns the Firewall Manager administrator accounts in the organization — only usable by the organization’s management account. Provide the
implementation with Effect.provide(AWS.FMS.ListAdminAccountsForOrganizationHttp).
ListAdminAccountsForOrganization: Administrator Management
Section titled “ListAdminAccountsForOrganization: Administrator Management”// init — account-level binding takes no resourceconst listAdminAccountsForOrganization = yield* AWS.FMS.ListAdminAccountsForOrganization();
// runtimeconst result = yield* listAdminAccountsForOrganization();console.log(result.AdminAccounts?.length);ListAdminsManagingAccount
Section titled “ListAdminsManagingAccount”Source:
src/AWS/FMS/ListAdminsManagingAccount.ts
Runtime binding for fms:ListAdminsManagingAccount.
Returns the administrators who have the calling account within their administrative scope — usable by any member account to see who manages it. Provide the
implementation with Effect.provide(AWS.FMS.ListAdminsManagingAccountHttp).
ListAdminsManagingAccount: Administrator Management
Section titled “ListAdminsManagingAccount: Administrator Management”// init — account-level binding takes no resourceconst listAdminsManagingAccount = yield* AWS.FMS.ListAdminsManagingAccount();
// runtimeconst result = yield* listAdminsManagingAccount();console.log(result.AdminAccounts?.length);ListAppsLists
Section titled “ListAppsLists”Source:
src/AWS/FMS/ListAppsLists.ts
Runtime binding for fms:ListAppsLists.
Returns an array of AppsListDataSummary objects for the applications lists in the administrator’s account. Provide the
implementation with Effect.provide(AWS.FMS.ListAppsListsHttp).
ListAppsLists: Applications Lists
Section titled “ListAppsLists: Applications Lists”// init — account-level binding takes no resourceconst listAppsLists = yield* AWS.FMS.ListAppsLists();
// runtimeconst result = yield* listAppsLists({ MaxResults: 25 });console.log(result.AppsLists?.length);ListComplianceStatus
Section titled “ListComplianceStatus”Source:
src/AWS/FMS/ListComplianceStatus.ts
Runtime binding for fms:ListComplianceStatus.
Returns an array of PolicyComplianceStatus objects — use it to get a summary of which member accounts are protected by the specified policy. Provide the
implementation with Effect.provide(AWS.FMS.ListComplianceStatusHttp).
ListComplianceStatus: Compliance and Protection Status
Section titled “ListComplianceStatus: Compliance and Protection Status”// init — account-level binding takes no resourceconst listComplianceStatus = yield* AWS.FMS.ListComplianceStatus();
// runtimeconst result = yield* listComplianceStatus({ PolicyId: policyId });console.log(result.PolicyComplianceStatusList?.length);ListDiscoveredResources
Section titled “ListDiscoveredResources”Source:
src/AWS/FMS/ListDiscoveredResources.ts
Runtime binding for fms:ListDiscoveredResources.
Returns an array of resources in the organization’s accounts that are available to be associated with a resource set. Provide the
implementation with Effect.provide(AWS.FMS.ListDiscoveredResourcesHttp).
ListDiscoveredResources: Resource Sets
Section titled “ListDiscoveredResources: Resource Sets”// init — account-level binding takes no resourceconst listDiscoveredResources = yield* AWS.FMS.ListDiscoveredResources();
// runtimeconst result = yield* listDiscoveredResources({ MemberAccountIds: [accountId], ResourceType: "AWS::EC2::Instance",});console.log(result.Items?.length);ListMemberAccounts
Section titled “ListMemberAccounts”Source:
src/AWS/FMS/ListMemberAccounts.ts
Runtime binding for fms:ListMemberAccounts.
Returns the member account ids in the administrator’s Amazon Web Services organization — only usable by the organization’s management account or a delegated administrator. Provide the
implementation with Effect.provide(AWS.FMS.ListMemberAccountsHttp).
ListMemberAccounts: Compliance and Protection Status
Section titled “ListMemberAccounts: Compliance and Protection Status”// init — account-level binding takes no resourceconst listMemberAccounts = yield* AWS.FMS.ListMemberAccounts();
// runtimeconst result = yield* listMemberAccounts();console.log(result.MemberAccounts?.length);ListPolicies
Section titled “ListPolicies”Source:
src/AWS/FMS/ListPolicies.ts
Runtime binding for fms:ListPolicies.
Returns the PolicySummary list for the Firewall Manager policies in the administrator’s account. Provide the
implementation with Effect.provide(AWS.FMS.ListPoliciesHttp).
ListPolicies: Reading Policies
Section titled “ListPolicies: Reading Policies”// init — account-level binding takes no resourceconst listPolicies = yield* AWS.FMS.ListPolicies();
// runtimeconst result = yield* listPolicies();console.log(result.PolicyList?.length);ListProtocolsLists
Section titled “ListProtocolsLists”Source:
src/AWS/FMS/ListProtocolsLists.ts
Runtime binding for fms:ListProtocolsLists.
Returns an array of ProtocolsListDataSummary objects for the protocols lists in the administrator’s account. Provide the
implementation with Effect.provide(AWS.FMS.ListProtocolsListsHttp).
ListProtocolsLists: Protocols Lists
Section titled “ListProtocolsLists: Protocols Lists”// init — account-level binding takes no resourceconst listProtocolsLists = yield* AWS.FMS.ListProtocolsLists();
// runtimeconst result = yield* listProtocolsLists({ MaxResults: 25 });console.log(result.ProtocolsLists?.length);ListResourceSetResources
Section titled “ListResourceSetResources”Source:
src/AWS/FMS/ListResourceSetResources.ts
Runtime binding for fms:ListResourceSetResources.
Returns an array of the resources associated with the specified Firewall Manager resource set. Provide the
implementation with Effect.provide(AWS.FMS.ListResourceSetResourcesHttp).
ListResourceSetResources: Resource Sets
Section titled “ListResourceSetResources: Resource Sets”// init — account-level binding takes no resourceconst listResourceSetResources = yield* AWS.FMS.ListResourceSetResources();
// runtimeconst result = yield* listResourceSetResources({ Identifier: resourceSetId });console.log(result.Items.length);ListResourceSets
Section titled “ListResourceSets”Source:
src/AWS/FMS/ListResourceSets.ts
Runtime binding for fms:ListResourceSets.
Returns an array of ResourceSetSummary objects for the resource sets in the administrator’s account. Provide the
implementation with Effect.provide(AWS.FMS.ListResourceSetsHttp).
ListResourceSets: Resource Sets
Section titled “ListResourceSets: Resource Sets”// init — account-level binding takes no resourceconst listResourceSets = yield* AWS.FMS.ListResourceSets();
// runtimeconst result = yield* listResourceSets();console.log(result.ResourceSets?.length);ListThirdPartyFirewallFirewallPolicies
Section titled “ListThirdPartyFirewallFirewallPolicies”Source:
src/AWS/FMS/ListThirdPartyFirewallFirewallPolicies.ts
Runtime binding for fms:ListThirdPartyFirewallFirewallPolicies.
Retrieves a list of all of the third-party firewall policies that are associated with the third-party firewall administrator’s account. Provide
the implementation with Effect.provide(AWS.FMS.ListThirdPartyFirewallFirewallPoliciesHttp).
ListThirdPartyFirewallFirewallPolicies: Third-Party Firewalls
Section titled “ListThirdPartyFirewallFirewallPolicies: Third-Party Firewalls”// init — account-level binding takes no resourceconst listThirdPartyFirewallFirewallPolicies = yield* AWS.FMS.ListThirdPartyFirewallFirewallPolicies();
// runtimeconst result = yield* listThirdPartyFirewallFirewallPolicies({ ThirdPartyFirewall: "PALO_ALTO_NETWORKS_CLOUD_NGFW", MaxResults: 10,});console.log(result.ThirdPartyFirewallFirewallPolicies);PutAppsList
Section titled “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).
PutAppsList: Applications Lists
Section titled “PutAppsList: Applications Lists”// init — account-level binding takes no resourceconst putAppsList = yield* AWS.FMS.PutAppsList();
// runtimeconst result = yield* putAppsList({ AppsList: { ListName: "allowed-apps", AppsList: [{ AppName: "web", Protocol: "TCP", Port: 443 }], },});console.log(result.AppsList?.ListId);PutNotificationChannel
Section titled “PutNotificationChannel”Source:
src/AWS/FMS/PutNotificationChannel.ts
Runtime binding for fms:PutNotificationChannel.
Designates the SNS topic and IAM role that Firewall Manager uses to record SNS logs — the channel through which Firewall Manager notifications flow. Provide the
implementation with Effect.provide(AWS.FMS.PutNotificationChannelHttp).
PutNotificationChannel: Notification Channel
Section titled “PutNotificationChannel: Notification Channel”// init — account-level binding takes no resourceconst putNotificationChannel = yield* AWS.FMS.PutNotificationChannel();
// runtimeyield* putNotificationChannel({ SnsTopicArn: topicArn, SnsRoleName: roleArn,});PutPolicy
Section titled “PutPolicy”Source:
src/AWS/FMS/PutPolicy.ts
Runtime binding for fms:PutPolicy.
Creates or updates a Firewall Manager policy — a WAF, Shield Advanced, security group, Network Firewall, DNS Firewall, or network ACL policy applied across the organization’s accounts. Provide the
implementation with Effect.provide(AWS.FMS.PutPolicyHttp).
PutPolicy: Managing Policies
Section titled “PutPolicy: Managing Policies”// init — account-level binding takes no resourceconst putPolicy = yield* AWS.FMS.PutPolicy();
// runtimeconst result = yield* putPolicy({ Policy: { PolicyName: "org-waf-baseline", SecurityServicePolicyData: { Type: "WAFV2", ManagedServiceData: "..." }, ResourceType: "AWS::ElasticLoadBalancingV2::LoadBalancer", ExcludeResourceTags: false, RemediationEnabled: true, },});console.log(result.Policy?.PolicyId);PutProtocolsList
Section titled “PutProtocolsList”Source:
src/AWS/FMS/PutProtocolsList.ts
Runtime binding for fms:PutProtocolsList.
Creates or updates a Firewall Manager protocols list. Provide the
implementation with Effect.provide(AWS.FMS.PutProtocolsListHttp).
PutProtocolsList: Protocols Lists
Section titled “PutProtocolsList: Protocols Lists”// init — account-level binding takes no resourceconst putProtocolsList = yield* AWS.FMS.PutProtocolsList();
// runtimeconst result = yield* putProtocolsList({ ProtocolsList: { ListName: "allowed-protocols", ProtocolsList: ["TCP", "UDP"] },});console.log(result.ProtocolsList?.ListId);PutResourceSet
Section titled “PutResourceSet”Source:
src/AWS/FMS/PutResourceSet.ts
Runtime binding for fms:PutResourceSet.
Creates or updates a Firewall Manager resource set — a collection of resources that a Firewall Manager policy can protect as a unit. Provide the
implementation with Effect.provide(AWS.FMS.PutResourceSetHttp).
PutResourceSet: Resource Sets
Section titled “PutResourceSet: Resource Sets”// init — account-level binding takes no resourceconst putResourceSet = yield* AWS.FMS.PutResourceSet();
// runtimeconst result = yield* putResourceSet({ ResourceSet: { Name: "edge-resources", ResourceTypeList: ["AWS::NetworkFirewall::Firewall"], },});console.log(result.ResourceSet.Id);