fms.d.ts 173 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978
  1. import {Request} from '../lib/request';
  2. import {Response} from '../lib/response';
  3. import {AWSError} from '../lib/error';
  4. import {Service} from '../lib/service';
  5. import {ServiceConfigurationOptions} from '../lib/service';
  6. import {ConfigBase as Config} from '../lib/config-base';
  7. interface Blob {}
  8. declare class FMS extends Service {
  9. /**
  10. * Constructs a service object. This object has one method for each API operation.
  11. */
  12. constructor(options?: FMS.Types.ClientConfiguration)
  13. config: Config & FMS.Types.ClientConfiguration;
  14. /**
  15. * Sets a Firewall Manager default administrator account. The Firewall Manager default administrator account can manage third-party firewalls and has full administrative scope that allows administration of all policy types, accounts, organizational units, and Regions. This account must be a member account of the organization in Organizations whose resources you want to protect. For information about working with Firewall Manager administrator accounts, see Managing Firewall Manager administrators in the Firewall Manager Developer Guide.
  16. */
  17. associateAdminAccount(params: FMS.Types.AssociateAdminAccountRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  18. /**
  19. * Sets a Firewall Manager default administrator account. The Firewall Manager default administrator account can manage third-party firewalls and has full administrative scope that allows administration of all policy types, accounts, organizational units, and Regions. This account must be a member account of the organization in Organizations whose resources you want to protect. For information about working with Firewall Manager administrator accounts, see Managing Firewall Manager administrators in the Firewall Manager Developer Guide.
  20. */
  21. associateAdminAccount(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  22. /**
  23. * Sets the Firewall Manager policy administrator as a tenant administrator of a third-party firewall service. A tenant is an instance of the third-party firewall service that's associated with your Amazon Web Services customer account.
  24. */
  25. associateThirdPartyFirewall(params: FMS.Types.AssociateThirdPartyFirewallRequest, callback?: (err: AWSError, data: FMS.Types.AssociateThirdPartyFirewallResponse) => void): Request<FMS.Types.AssociateThirdPartyFirewallResponse, AWSError>;
  26. /**
  27. * Sets the Firewall Manager policy administrator as a tenant administrator of a third-party firewall service. A tenant is an instance of the third-party firewall service that's associated with your Amazon Web Services customer account.
  28. */
  29. associateThirdPartyFirewall(callback?: (err: AWSError, data: FMS.Types.AssociateThirdPartyFirewallResponse) => void): Request<FMS.Types.AssociateThirdPartyFirewallResponse, AWSError>;
  30. /**
  31. * Associate resources to a Firewall Manager resource set.
  32. */
  33. batchAssociateResource(params: FMS.Types.BatchAssociateResourceRequest, callback?: (err: AWSError, data: FMS.Types.BatchAssociateResourceResponse) => void): Request<FMS.Types.BatchAssociateResourceResponse, AWSError>;
  34. /**
  35. * Associate resources to a Firewall Manager resource set.
  36. */
  37. batchAssociateResource(callback?: (err: AWSError, data: FMS.Types.BatchAssociateResourceResponse) => void): Request<FMS.Types.BatchAssociateResourceResponse, AWSError>;
  38. /**
  39. * Disassociates resources from a Firewall Manager resource set.
  40. */
  41. batchDisassociateResource(params: FMS.Types.BatchDisassociateResourceRequest, callback?: (err: AWSError, data: FMS.Types.BatchDisassociateResourceResponse) => void): Request<FMS.Types.BatchDisassociateResourceResponse, AWSError>;
  42. /**
  43. * Disassociates resources from a Firewall Manager resource set.
  44. */
  45. batchDisassociateResource(callback?: (err: AWSError, data: FMS.Types.BatchDisassociateResourceResponse) => void): Request<FMS.Types.BatchDisassociateResourceResponse, AWSError>;
  46. /**
  47. * Permanently deletes an Firewall Manager applications list.
  48. */
  49. deleteAppsList(params: FMS.Types.DeleteAppsListRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  50. /**
  51. * Permanently deletes an Firewall Manager applications list.
  52. */
  53. deleteAppsList(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  54. /**
  55. * Deletes an Firewall Manager association with the IAM role and the Amazon Simple Notification Service (SNS) topic that is used to record Firewall Manager SNS logs.
  56. */
  57. deleteNotificationChannel(params: FMS.Types.DeleteNotificationChannelRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  58. /**
  59. * Deletes an Firewall Manager association with the IAM role and the Amazon Simple Notification Service (SNS) topic that is used to record Firewall Manager SNS logs.
  60. */
  61. deleteNotificationChannel(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  62. /**
  63. * Permanently deletes an Firewall Manager policy.
  64. */
  65. deletePolicy(params: FMS.Types.DeletePolicyRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  66. /**
  67. * Permanently deletes an Firewall Manager policy.
  68. */
  69. deletePolicy(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  70. /**
  71. * Permanently deletes an Firewall Manager protocols list.
  72. */
  73. deleteProtocolsList(params: FMS.Types.DeleteProtocolsListRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  74. /**
  75. * Permanently deletes an Firewall Manager protocols list.
  76. */
  77. deleteProtocolsList(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  78. /**
  79. * Deletes the specified ResourceSet.
  80. */
  81. deleteResourceSet(params: FMS.Types.DeleteResourceSetRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  82. /**
  83. * Deletes the specified ResourceSet.
  84. */
  85. deleteResourceSet(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  86. /**
  87. * Disassociates an Firewall Manager administrator account. To set a different account as an Firewall Manager administrator, submit a PutAdminAccount request. To set an account as a default administrator account, you must submit an AssociateAdminAccount request. Disassociation of the default administrator account follows the first in, last out principle. If you are the default administrator, all Firewall Manager administrators within the organization must first disassociate their accounts before you can disassociate your account.
  88. */
  89. disassociateAdminAccount(params: FMS.Types.DisassociateAdminAccountRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  90. /**
  91. * Disassociates an Firewall Manager administrator account. To set a different account as an Firewall Manager administrator, submit a PutAdminAccount request. To set an account as a default administrator account, you must submit an AssociateAdminAccount request. Disassociation of the default administrator account follows the first in, last out principle. If you are the default administrator, all Firewall Manager administrators within the organization must first disassociate their accounts before you can disassociate your account.
  92. */
  93. disassociateAdminAccount(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  94. /**
  95. * Disassociates a Firewall Manager policy administrator from a third-party firewall tenant. When you call DisassociateThirdPartyFirewall, the third-party firewall vendor deletes all of the firewalls that are associated with the account.
  96. */
  97. disassociateThirdPartyFirewall(params: FMS.Types.DisassociateThirdPartyFirewallRequest, callback?: (err: AWSError, data: FMS.Types.DisassociateThirdPartyFirewallResponse) => void): Request<FMS.Types.DisassociateThirdPartyFirewallResponse, AWSError>;
  98. /**
  99. * Disassociates a Firewall Manager policy administrator from a third-party firewall tenant. When you call DisassociateThirdPartyFirewall, the third-party firewall vendor deletes all of the firewalls that are associated with the account.
  100. */
  101. disassociateThirdPartyFirewall(callback?: (err: AWSError, data: FMS.Types.DisassociateThirdPartyFirewallResponse) => void): Request<FMS.Types.DisassociateThirdPartyFirewallResponse, AWSError>;
  102. /**
  103. * Returns the Organizations account that is associated with Firewall Manager as the Firewall Manager default administrator.
  104. */
  105. getAdminAccount(params: FMS.Types.GetAdminAccountRequest, callback?: (err: AWSError, data: FMS.Types.GetAdminAccountResponse) => void): Request<FMS.Types.GetAdminAccountResponse, AWSError>;
  106. /**
  107. * Returns the Organizations account that is associated with Firewall Manager as the Firewall Manager default administrator.
  108. */
  109. getAdminAccount(callback?: (err: AWSError, data: FMS.Types.GetAdminAccountResponse) => void): Request<FMS.Types.GetAdminAccountResponse, AWSError>;
  110. /**
  111. * Returns information about the specified account's administrative scope. The administrative scope defines the resources that an Firewall Manager administrator can manage.
  112. */
  113. getAdminScope(params: FMS.Types.GetAdminScopeRequest, callback?: (err: AWSError, data: FMS.Types.GetAdminScopeResponse) => void): Request<FMS.Types.GetAdminScopeResponse, AWSError>;
  114. /**
  115. * Returns information about the specified account's administrative scope. The administrative scope defines the resources that an Firewall Manager administrator can manage.
  116. */
  117. getAdminScope(callback?: (err: AWSError, data: FMS.Types.GetAdminScopeResponse) => void): Request<FMS.Types.GetAdminScopeResponse, AWSError>;
  118. /**
  119. * Returns information about the specified Firewall Manager applications list.
  120. */
  121. getAppsList(params: FMS.Types.GetAppsListRequest, callback?: (err: AWSError, data: FMS.Types.GetAppsListResponse) => void): Request<FMS.Types.GetAppsListResponse, AWSError>;
  122. /**
  123. * Returns information about the specified Firewall Manager applications list.
  124. */
  125. getAppsList(callback?: (err: AWSError, data: FMS.Types.GetAppsListResponse) => void): Request<FMS.Types.GetAppsListResponse, AWSError>;
  126. /**
  127. * Returns detailed compliance information about the specified member account. Details include resources that are in and out of compliance with the specified policy. The reasons for resources being considered compliant depend on the Firewall Manager policy type.
  128. */
  129. getComplianceDetail(params: FMS.Types.GetComplianceDetailRequest, callback?: (err: AWSError, data: FMS.Types.GetComplianceDetailResponse) => void): Request<FMS.Types.GetComplianceDetailResponse, AWSError>;
  130. /**
  131. * Returns detailed compliance information about the specified member account. Details include resources that are in and out of compliance with the specified policy. The reasons for resources being considered compliant depend on the Firewall Manager policy type.
  132. */
  133. getComplianceDetail(callback?: (err: AWSError, data: FMS.Types.GetComplianceDetailResponse) => void): Request<FMS.Types.GetComplianceDetailResponse, AWSError>;
  134. /**
  135. * Information about the Amazon Simple Notification Service (SNS) topic that is used to record Firewall Manager SNS logs.
  136. */
  137. getNotificationChannel(params: FMS.Types.GetNotificationChannelRequest, callback?: (err: AWSError, data: FMS.Types.GetNotificationChannelResponse) => void): Request<FMS.Types.GetNotificationChannelResponse, AWSError>;
  138. /**
  139. * Information about the Amazon Simple Notification Service (SNS) topic that is used to record Firewall Manager SNS logs.
  140. */
  141. getNotificationChannel(callback?: (err: AWSError, data: FMS.Types.GetNotificationChannelResponse) => void): Request<FMS.Types.GetNotificationChannelResponse, AWSError>;
  142. /**
  143. * Returns information about the specified Firewall Manager policy.
  144. */
  145. getPolicy(params: FMS.Types.GetPolicyRequest, callback?: (err: AWSError, data: FMS.Types.GetPolicyResponse) => void): Request<FMS.Types.GetPolicyResponse, AWSError>;
  146. /**
  147. * Returns information about the specified Firewall Manager policy.
  148. */
  149. getPolicy(callback?: (err: AWSError, data: FMS.Types.GetPolicyResponse) => void): Request<FMS.Types.GetPolicyResponse, AWSError>;
  150. /**
  151. * If you created a Shield Advanced policy, returns policy-level attack summary information in the event of a potential DDoS attack. Other policy types are currently unsupported.
  152. */
  153. getProtectionStatus(params: FMS.Types.GetProtectionStatusRequest, callback?: (err: AWSError, data: FMS.Types.GetProtectionStatusResponse) => void): Request<FMS.Types.GetProtectionStatusResponse, AWSError>;
  154. /**
  155. * If you created a Shield Advanced policy, returns policy-level attack summary information in the event of a potential DDoS attack. Other policy types are currently unsupported.
  156. */
  157. getProtectionStatus(callback?: (err: AWSError, data: FMS.Types.GetProtectionStatusResponse) => void): Request<FMS.Types.GetProtectionStatusResponse, AWSError>;
  158. /**
  159. * Returns information about the specified Firewall Manager protocols list.
  160. */
  161. getProtocolsList(params: FMS.Types.GetProtocolsListRequest, callback?: (err: AWSError, data: FMS.Types.GetProtocolsListResponse) => void): Request<FMS.Types.GetProtocolsListResponse, AWSError>;
  162. /**
  163. * Returns information about the specified Firewall Manager protocols list.
  164. */
  165. getProtocolsList(callback?: (err: AWSError, data: FMS.Types.GetProtocolsListResponse) => void): Request<FMS.Types.GetProtocolsListResponse, AWSError>;
  166. /**
  167. * Gets information about a specific resource set.
  168. */
  169. getResourceSet(params: FMS.Types.GetResourceSetRequest, callback?: (err: AWSError, data: FMS.Types.GetResourceSetResponse) => void): Request<FMS.Types.GetResourceSetResponse, AWSError>;
  170. /**
  171. * Gets information about a specific resource set.
  172. */
  173. getResourceSet(callback?: (err: AWSError, data: FMS.Types.GetResourceSetResponse) => void): Request<FMS.Types.GetResourceSetResponse, AWSError>;
  174. /**
  175. * The onboarding status of a Firewall Manager admin account to third-party firewall vendor tenant.
  176. */
  177. getThirdPartyFirewallAssociationStatus(params: FMS.Types.GetThirdPartyFirewallAssociationStatusRequest, callback?: (err: AWSError, data: FMS.Types.GetThirdPartyFirewallAssociationStatusResponse) => void): Request<FMS.Types.GetThirdPartyFirewallAssociationStatusResponse, AWSError>;
  178. /**
  179. * The onboarding status of a Firewall Manager admin account to third-party firewall vendor tenant.
  180. */
  181. getThirdPartyFirewallAssociationStatus(callback?: (err: AWSError, data: FMS.Types.GetThirdPartyFirewallAssociationStatusResponse) => void): Request<FMS.Types.GetThirdPartyFirewallAssociationStatusResponse, AWSError>;
  182. /**
  183. * Retrieves violations for a resource based on the specified Firewall Manager policy and Amazon Web Services account.
  184. */
  185. getViolationDetails(params: FMS.Types.GetViolationDetailsRequest, callback?: (err: AWSError, data: FMS.Types.GetViolationDetailsResponse) => void): Request<FMS.Types.GetViolationDetailsResponse, AWSError>;
  186. /**
  187. * Retrieves violations for a resource based on the specified Firewall Manager policy and Amazon Web Services account.
  188. */
  189. getViolationDetails(callback?: (err: AWSError, data: FMS.Types.GetViolationDetailsResponse) => void): Request<FMS.Types.GetViolationDetailsResponse, AWSError>;
  190. /**
  191. * Returns a AdminAccounts object that lists the Firewall Manager administrators within the organization that are onboarded to Firewall Manager by AssociateAdminAccount. This operation can be called only from the organization's management account.
  192. */
  193. listAdminAccountsForOrganization(params: FMS.Types.ListAdminAccountsForOrganizationRequest, callback?: (err: AWSError, data: FMS.Types.ListAdminAccountsForOrganizationResponse) => void): Request<FMS.Types.ListAdminAccountsForOrganizationResponse, AWSError>;
  194. /**
  195. * Returns a AdminAccounts object that lists the Firewall Manager administrators within the organization that are onboarded to Firewall Manager by AssociateAdminAccount. This operation can be called only from the organization's management account.
  196. */
  197. listAdminAccountsForOrganization(callback?: (err: AWSError, data: FMS.Types.ListAdminAccountsForOrganizationResponse) => void): Request<FMS.Types.ListAdminAccountsForOrganizationResponse, AWSError>;
  198. /**
  199. * Lists the accounts that are managing the specified Organizations member account. This is useful for any member account so that they can view the accounts who are managing their account. This operation only returns the managing administrators that have the requested account within their AdminScope.
  200. */
  201. listAdminsManagingAccount(params: FMS.Types.ListAdminsManagingAccountRequest, callback?: (err: AWSError, data: FMS.Types.ListAdminsManagingAccountResponse) => void): Request<FMS.Types.ListAdminsManagingAccountResponse, AWSError>;
  202. /**
  203. * Lists the accounts that are managing the specified Organizations member account. This is useful for any member account so that they can view the accounts who are managing their account. This operation only returns the managing administrators that have the requested account within their AdminScope.
  204. */
  205. listAdminsManagingAccount(callback?: (err: AWSError, data: FMS.Types.ListAdminsManagingAccountResponse) => void): Request<FMS.Types.ListAdminsManagingAccountResponse, AWSError>;
  206. /**
  207. * Returns an array of AppsListDataSummary objects.
  208. */
  209. listAppsLists(params: FMS.Types.ListAppsListsRequest, callback?: (err: AWSError, data: FMS.Types.ListAppsListsResponse) => void): Request<FMS.Types.ListAppsListsResponse, AWSError>;
  210. /**
  211. * Returns an array of AppsListDataSummary objects.
  212. */
  213. listAppsLists(callback?: (err: AWSError, data: FMS.Types.ListAppsListsResponse) => void): Request<FMS.Types.ListAppsListsResponse, AWSError>;
  214. /**
  215. * Returns an array of PolicyComplianceStatus objects. Use PolicyComplianceStatus to get a summary of which member accounts are protected by the specified policy.
  216. */
  217. listComplianceStatus(params: FMS.Types.ListComplianceStatusRequest, callback?: (err: AWSError, data: FMS.Types.ListComplianceStatusResponse) => void): Request<FMS.Types.ListComplianceStatusResponse, AWSError>;
  218. /**
  219. * Returns an array of PolicyComplianceStatus objects. Use PolicyComplianceStatus to get a summary of which member accounts are protected by the specified policy.
  220. */
  221. listComplianceStatus(callback?: (err: AWSError, data: FMS.Types.ListComplianceStatusResponse) => void): Request<FMS.Types.ListComplianceStatusResponse, AWSError>;
  222. /**
  223. * Returns an array of resources in the organization's accounts that are available to be associated with a resource set.
  224. */
  225. listDiscoveredResources(params: FMS.Types.ListDiscoveredResourcesRequest, callback?: (err: AWSError, data: FMS.Types.ListDiscoveredResourcesResponse) => void): Request<FMS.Types.ListDiscoveredResourcesResponse, AWSError>;
  226. /**
  227. * Returns an array of resources in the organization's accounts that are available to be associated with a resource set.
  228. */
  229. listDiscoveredResources(callback?: (err: AWSError, data: FMS.Types.ListDiscoveredResourcesResponse) => void): Request<FMS.Types.ListDiscoveredResourcesResponse, AWSError>;
  230. /**
  231. * Returns a MemberAccounts object that lists the member accounts in the administrator's Amazon Web Services organization. Either an Firewall Manager administrator or the organization's management account can make this request.
  232. */
  233. listMemberAccounts(params: FMS.Types.ListMemberAccountsRequest, callback?: (err: AWSError, data: FMS.Types.ListMemberAccountsResponse) => void): Request<FMS.Types.ListMemberAccountsResponse, AWSError>;
  234. /**
  235. * Returns a MemberAccounts object that lists the member accounts in the administrator's Amazon Web Services organization. Either an Firewall Manager administrator or the organization's management account can make this request.
  236. */
  237. listMemberAccounts(callback?: (err: AWSError, data: FMS.Types.ListMemberAccountsResponse) => void): Request<FMS.Types.ListMemberAccountsResponse, AWSError>;
  238. /**
  239. * Returns an array of PolicySummary objects.
  240. */
  241. listPolicies(params: FMS.Types.ListPoliciesRequest, callback?: (err: AWSError, data: FMS.Types.ListPoliciesResponse) => void): Request<FMS.Types.ListPoliciesResponse, AWSError>;
  242. /**
  243. * Returns an array of PolicySummary objects.
  244. */
  245. listPolicies(callback?: (err: AWSError, data: FMS.Types.ListPoliciesResponse) => void): Request<FMS.Types.ListPoliciesResponse, AWSError>;
  246. /**
  247. * Returns an array of ProtocolsListDataSummary objects.
  248. */
  249. listProtocolsLists(params: FMS.Types.ListProtocolsListsRequest, callback?: (err: AWSError, data: FMS.Types.ListProtocolsListsResponse) => void): Request<FMS.Types.ListProtocolsListsResponse, AWSError>;
  250. /**
  251. * Returns an array of ProtocolsListDataSummary objects.
  252. */
  253. listProtocolsLists(callback?: (err: AWSError, data: FMS.Types.ListProtocolsListsResponse) => void): Request<FMS.Types.ListProtocolsListsResponse, AWSError>;
  254. /**
  255. * Returns an array of resources that are currently associated to a resource set.
  256. */
  257. listResourceSetResources(params: FMS.Types.ListResourceSetResourcesRequest, callback?: (err: AWSError, data: FMS.Types.ListResourceSetResourcesResponse) => void): Request<FMS.Types.ListResourceSetResourcesResponse, AWSError>;
  258. /**
  259. * Returns an array of resources that are currently associated to a resource set.
  260. */
  261. listResourceSetResources(callback?: (err: AWSError, data: FMS.Types.ListResourceSetResourcesResponse) => void): Request<FMS.Types.ListResourceSetResourcesResponse, AWSError>;
  262. /**
  263. * Returns an array of ResourceSetSummary objects.
  264. */
  265. listResourceSets(params: FMS.Types.ListResourceSetsRequest, callback?: (err: AWSError, data: FMS.Types.ListResourceSetsResponse) => void): Request<FMS.Types.ListResourceSetsResponse, AWSError>;
  266. /**
  267. * Returns an array of ResourceSetSummary objects.
  268. */
  269. listResourceSets(callback?: (err: AWSError, data: FMS.Types.ListResourceSetsResponse) => void): Request<FMS.Types.ListResourceSetsResponse, AWSError>;
  270. /**
  271. * Retrieves the list of tags for the specified Amazon Web Services resource.
  272. */
  273. listTagsForResource(params: FMS.Types.ListTagsForResourceRequest, callback?: (err: AWSError, data: FMS.Types.ListTagsForResourceResponse) => void): Request<FMS.Types.ListTagsForResourceResponse, AWSError>;
  274. /**
  275. * Retrieves the list of tags for the specified Amazon Web Services resource.
  276. */
  277. listTagsForResource(callback?: (err: AWSError, data: FMS.Types.ListTagsForResourceResponse) => void): Request<FMS.Types.ListTagsForResourceResponse, AWSError>;
  278. /**
  279. * Retrieves a list of all of the third-party firewall policies that are associated with the third-party firewall administrator's account.
  280. */
  281. listThirdPartyFirewallFirewallPolicies(params: FMS.Types.ListThirdPartyFirewallFirewallPoliciesRequest, callback?: (err: AWSError, data: FMS.Types.ListThirdPartyFirewallFirewallPoliciesResponse) => void): Request<FMS.Types.ListThirdPartyFirewallFirewallPoliciesResponse, AWSError>;
  282. /**
  283. * Retrieves a list of all of the third-party firewall policies that are associated with the third-party firewall administrator's account.
  284. */
  285. listThirdPartyFirewallFirewallPolicies(callback?: (err: AWSError, data: FMS.Types.ListThirdPartyFirewallFirewallPoliciesResponse) => void): Request<FMS.Types.ListThirdPartyFirewallFirewallPoliciesResponse, AWSError>;
  286. /**
  287. * Creates or updates an Firewall Manager administrator account. The account must be a member of the organization that was onboarded to Firewall Manager by AssociateAdminAccount. Only the organization's management account can create an Firewall Manager administrator account. When you create an Firewall Manager administrator account, the service checks to see if the account is already a delegated administrator within Organizations. If the account isn't a delegated administrator, Firewall Manager calls Organizations to delegate the account within Organizations. For more information about administrator accounts within Organizations, see Managing the Amazon Web Services Accounts in Your Organization.
  288. */
  289. putAdminAccount(params: FMS.Types.PutAdminAccountRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  290. /**
  291. * Creates or updates an Firewall Manager administrator account. The account must be a member of the organization that was onboarded to Firewall Manager by AssociateAdminAccount. Only the organization's management account can create an Firewall Manager administrator account. When you create an Firewall Manager administrator account, the service checks to see if the account is already a delegated administrator within Organizations. If the account isn't a delegated administrator, Firewall Manager calls Organizations to delegate the account within Organizations. For more information about administrator accounts within Organizations, see Managing the Amazon Web Services Accounts in Your Organization.
  292. */
  293. putAdminAccount(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  294. /**
  295. * Creates an Firewall Manager applications list.
  296. */
  297. putAppsList(params: FMS.Types.PutAppsListRequest, callback?: (err: AWSError, data: FMS.Types.PutAppsListResponse) => void): Request<FMS.Types.PutAppsListResponse, AWSError>;
  298. /**
  299. * Creates an Firewall Manager applications list.
  300. */
  301. putAppsList(callback?: (err: AWSError, data: FMS.Types.PutAppsListResponse) => void): Request<FMS.Types.PutAppsListResponse, AWSError>;
  302. /**
  303. * Designates the IAM role and Amazon Simple Notification Service (SNS) topic that Firewall Manager uses to record SNS logs. To perform this action outside of the console, you must first configure the SNS topic's access policy to allow the SnsRoleName to publish SNS logs. If the SnsRoleName provided is a role other than the AWSServiceRoleForFMS service-linked role, this role must have a trust relationship configured to allow the Firewall Manager service principal fms.amazonaws.com to assume this role. For information about configuring an SNS access policy, see Service roles for Firewall Manager in the Firewall Manager Developer Guide.
  304. */
  305. putNotificationChannel(params: FMS.Types.PutNotificationChannelRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  306. /**
  307. * Designates the IAM role and Amazon Simple Notification Service (SNS) topic that Firewall Manager uses to record SNS logs. To perform this action outside of the console, you must first configure the SNS topic's access policy to allow the SnsRoleName to publish SNS logs. If the SnsRoleName provided is a role other than the AWSServiceRoleForFMS service-linked role, this role must have a trust relationship configured to allow the Firewall Manager service principal fms.amazonaws.com to assume this role. For information about configuring an SNS access policy, see Service roles for Firewall Manager in the Firewall Manager Developer Guide.
  308. */
  309. putNotificationChannel(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
  310. /**
  311. * Creates an Firewall Manager policy. A Firewall Manager policy is specific to the individual policy type. If you want to enforce multiple policy types across accounts, you can create multiple policies. You can create more than one policy for each type. If you add a new account to an organization that you created with Organizations, Firewall Manager automatically applies the policy to the resources in that account that are within scope of the policy. Firewall Manager provides the following types of policies: WAF policy - This policy applies WAF web ACL protections to specified accounts and resources. Shield Advanced policy - This policy applies Shield Advanced protection to specified accounts and resources. Security Groups policy - This type of policy gives you control over security groups that are in use throughout your organization in Organizations and lets you enforce a baseline set of rules across your organization. Network ACL policy - This type of policy gives you control over the network ACLs that are in use throughout your organization in Organizations and lets you enforce a baseline set of first and last network ACL rules across your organization. Network Firewall policy - This policy applies Network Firewall protection to your organization's VPCs. DNS Firewall policy - This policy applies Amazon Route 53 Resolver DNS Firewall protections to your organization's VPCs. Third-party firewall policy - This policy applies third-party firewall protections. Third-party firewalls are available by subscription through the Amazon Web Services Marketplace console at Amazon Web Services Marketplace. Palo Alto Networks Cloud NGFW policy - This policy applies Palo Alto Networks Cloud Next Generation Firewall (NGFW) protections and Palo Alto Networks Cloud NGFW rulestacks to your organization's VPCs. Fortigate CNF policy - This policy applies Fortigate Cloud Native Firewall (CNF) protections. Fortigate CNF is a cloud-centered solution that blocks Zero-Day threats and secures cloud infrastructures with industry-leading advanced threat prevention, smart web application firewalls (WAF), and API protection.
  312. */
  313. putPolicy(params: FMS.Types.PutPolicyRequest, callback?: (err: AWSError, data: FMS.Types.PutPolicyResponse) => void): Request<FMS.Types.PutPolicyResponse, AWSError>;
  314. /**
  315. * Creates an Firewall Manager policy. A Firewall Manager policy is specific to the individual policy type. If you want to enforce multiple policy types across accounts, you can create multiple policies. You can create more than one policy for each type. If you add a new account to an organization that you created with Organizations, Firewall Manager automatically applies the policy to the resources in that account that are within scope of the policy. Firewall Manager provides the following types of policies: WAF policy - This policy applies WAF web ACL protections to specified accounts and resources. Shield Advanced policy - This policy applies Shield Advanced protection to specified accounts and resources. Security Groups policy - This type of policy gives you control over security groups that are in use throughout your organization in Organizations and lets you enforce a baseline set of rules across your organization. Network ACL policy - This type of policy gives you control over the network ACLs that are in use throughout your organization in Organizations and lets you enforce a baseline set of first and last network ACL rules across your organization. Network Firewall policy - This policy applies Network Firewall protection to your organization's VPCs. DNS Firewall policy - This policy applies Amazon Route 53 Resolver DNS Firewall protections to your organization's VPCs. Third-party firewall policy - This policy applies third-party firewall protections. Third-party firewalls are available by subscription through the Amazon Web Services Marketplace console at Amazon Web Services Marketplace. Palo Alto Networks Cloud NGFW policy - This policy applies Palo Alto Networks Cloud Next Generation Firewall (NGFW) protections and Palo Alto Networks Cloud NGFW rulestacks to your organization's VPCs. Fortigate CNF policy - This policy applies Fortigate Cloud Native Firewall (CNF) protections. Fortigate CNF is a cloud-centered solution that blocks Zero-Day threats and secures cloud infrastructures with industry-leading advanced threat prevention, smart web application firewalls (WAF), and API protection.
  316. */
  317. putPolicy(callback?: (err: AWSError, data: FMS.Types.PutPolicyResponse) => void): Request<FMS.Types.PutPolicyResponse, AWSError>;
  318. /**
  319. * Creates an Firewall Manager protocols list.
  320. */
  321. putProtocolsList(params: FMS.Types.PutProtocolsListRequest, callback?: (err: AWSError, data: FMS.Types.PutProtocolsListResponse) => void): Request<FMS.Types.PutProtocolsListResponse, AWSError>;
  322. /**
  323. * Creates an Firewall Manager protocols list.
  324. */
  325. putProtocolsList(callback?: (err: AWSError, data: FMS.Types.PutProtocolsListResponse) => void): Request<FMS.Types.PutProtocolsListResponse, AWSError>;
  326. /**
  327. * Creates the resource set. An Firewall Manager resource set defines the resources to import into an Firewall Manager policy from another Amazon Web Services service.
  328. */
  329. putResourceSet(params: FMS.Types.PutResourceSetRequest, callback?: (err: AWSError, data: FMS.Types.PutResourceSetResponse) => void): Request<FMS.Types.PutResourceSetResponse, AWSError>;
  330. /**
  331. * Creates the resource set. An Firewall Manager resource set defines the resources to import into an Firewall Manager policy from another Amazon Web Services service.
  332. */
  333. putResourceSet(callback?: (err: AWSError, data: FMS.Types.PutResourceSetResponse) => void): Request<FMS.Types.PutResourceSetResponse, AWSError>;
  334. /**
  335. * Adds one or more tags to an Amazon Web Services resource.
  336. */
  337. tagResource(params: FMS.Types.TagResourceRequest, callback?: (err: AWSError, data: FMS.Types.TagResourceResponse) => void): Request<FMS.Types.TagResourceResponse, AWSError>;
  338. /**
  339. * Adds one or more tags to an Amazon Web Services resource.
  340. */
  341. tagResource(callback?: (err: AWSError, data: FMS.Types.TagResourceResponse) => void): Request<FMS.Types.TagResourceResponse, AWSError>;
  342. /**
  343. * Removes one or more tags from an Amazon Web Services resource.
  344. */
  345. untagResource(params: FMS.Types.UntagResourceRequest, callback?: (err: AWSError, data: FMS.Types.UntagResourceResponse) => void): Request<FMS.Types.UntagResourceResponse, AWSError>;
  346. /**
  347. * Removes one or more tags from an Amazon Web Services resource.
  348. */
  349. untagResource(callback?: (err: AWSError, data: FMS.Types.UntagResourceResponse) => void): Request<FMS.Types.UntagResourceResponse, AWSError>;
  350. }
  351. declare namespace FMS {
  352. export type AWSAccountId = string;
  353. export type AWSAccountIdList = AWSAccountId[];
  354. export type AWSRegion = string;
  355. export type AWSRegionList = AWSRegion[];
  356. export type AccountIdList = AWSAccountId[];
  357. export type AccountRoleStatus = "READY"|"CREATING"|"PENDING_DELETION"|"DELETING"|"DELETED"|string;
  358. export interface AccountScope {
  359. /**
  360. * The list of accounts within the organization that the specified Firewall Manager administrator either can or cannot apply policies to, based on the value of ExcludeSpecifiedAccounts. If ExcludeSpecifiedAccounts is set to true, then the Firewall Manager administrator can apply policies to all members of the organization except for the accounts in this list. If ExcludeSpecifiedAccounts is set to false, then the Firewall Manager administrator can only apply policies to the accounts in this list.
  361. */
  362. Accounts?: AccountIdList;
  363. /**
  364. * A boolean value that indicates if the administrator can apply policies to all accounts within an organization. If true, the administrator can apply policies to all accounts within the organization. You can either enable management of all accounts through this operation, or you can specify a list of accounts to manage in AccountScope$Accounts. You cannot specify both.
  365. */
  366. AllAccountsEnabled?: Boolean;
  367. /**
  368. * A boolean value that excludes the accounts in AccountScope$Accounts from the administrator's scope. If true, the Firewall Manager administrator can apply policies to all members of the organization except for the accounts listed in AccountScope$Accounts. You can either specify a list of accounts to exclude by AccountScope$Accounts, or you can enable management of all accounts by AccountScope$AllAccountsEnabled. You cannot specify both.
  369. */
  370. ExcludeSpecifiedAccounts?: Boolean;
  371. }
  372. export interface ActionTarget {
  373. /**
  374. * The ID of the remediation target.
  375. */
  376. ResourceId?: ResourceId;
  377. /**
  378. * A description of the remediation action target.
  379. */
  380. Description?: LengthBoundedString;
  381. }
  382. export interface AdminAccountSummary {
  383. /**
  384. * The Amazon Web Services account ID of the Firewall Manager administrator's account.
  385. */
  386. AdminAccount?: AWSAccountId;
  387. /**
  388. * A boolean value that indicates if the administrator is the default administrator. If true, then this is the default administrator account. The default administrator can manage third-party firewalls and has full administrative scope. There is only one default administrator account per organization. For information about Firewall Manager default administrator accounts, see Managing Firewall Manager administrators in the Firewall Manager Developer Guide.
  389. */
  390. DefaultAdmin?: Boolean;
  391. /**
  392. * The current status of the request to onboard a member account as an Firewall Manager administrator. ONBOARDING - The account is onboarding to Firewall Manager as an administrator. ONBOARDING_COMPLETE - Firewall Manager The account is onboarded to Firewall Manager as an administrator, and can perform actions on the resources defined in their AdminScope. OFFBOARDING - The account is being removed as an Firewall Manager administrator. OFFBOARDING_COMPLETE - The account has been removed as an Firewall Manager administrator.
  393. */
  394. Status?: OrganizationStatus;
  395. }
  396. export type AdminAccountSummaryList = AdminAccountSummary[];
  397. export interface AdminScope {
  398. /**
  399. * Defines the accounts that the specified Firewall Manager administrator can apply policies to.
  400. */
  401. AccountScope?: AccountScope;
  402. /**
  403. * Defines the Organizations organizational units that the specified Firewall Manager administrator can apply policies to. For more information about OUs in Organizations, see Managing organizational units (OUs) in the Organizations User Guide.
  404. */
  405. OrganizationalUnitScope?: OrganizationalUnitScope;
  406. /**
  407. * Defines the Amazon Web Services Regions that the specified Firewall Manager administrator can perform actions in.
  408. */
  409. RegionScope?: RegionScope;
  410. /**
  411. * Defines the Firewall Manager policy types that the specified Firewall Manager administrator can create and manage.
  412. */
  413. PolicyTypeScope?: PolicyTypeScope;
  414. }
  415. export interface App {
  416. /**
  417. * The application's name.
  418. */
  419. AppName: ResourceName;
  420. /**
  421. * The IP protocol name or number. The name can be one of tcp, udp, or icmp. For information on possible numbers, see Protocol Numbers.
  422. */
  423. Protocol: Protocol;
  424. /**
  425. * The application's port number, for example 80.
  426. */
  427. Port: IPPortNumber;
  428. }
  429. export type AppsList = App[];
  430. export interface AppsListData {
  431. /**
  432. * The ID of the Firewall Manager applications list.
  433. */
  434. ListId?: ListId;
  435. /**
  436. * The name of the Firewall Manager applications list.
  437. */
  438. ListName: ResourceName;
  439. /**
  440. * A unique identifier for each update to the list. When you update the list, the update token must match the token of the current version of the application list. You can retrieve the update token by getting the list.
  441. */
  442. ListUpdateToken?: UpdateToken;
  443. /**
  444. * The time that the Firewall Manager applications list was created.
  445. */
  446. CreateTime?: TimeStamp;
  447. /**
  448. * The time that the Firewall Manager applications list was last updated.
  449. */
  450. LastUpdateTime?: TimeStamp;
  451. /**
  452. * An array of applications in the Firewall Manager applications list.
  453. */
  454. AppsList: AppsList;
  455. /**
  456. * A map of previous version numbers to their corresponding App object arrays.
  457. */
  458. PreviousAppsList?: PreviousAppsList;
  459. }
  460. export interface AppsListDataSummary {
  461. /**
  462. * The Amazon Resource Name (ARN) of the applications list.
  463. */
  464. ListArn?: ResourceArn;
  465. /**
  466. * The ID of the applications list.
  467. */
  468. ListId?: ListId;
  469. /**
  470. * The name of the applications list.
  471. */
  472. ListName?: ResourceName;
  473. /**
  474. * An array of App objects in the Firewall Manager applications list.
  475. */
  476. AppsList?: AppsList;
  477. }
  478. export type AppsListsData = AppsListDataSummary[];
  479. export interface AssociateAdminAccountRequest {
  480. /**
  481. * The Amazon Web Services account ID to associate with Firewall Manager as the Firewall Manager default administrator account. This account must be a member account of the organization in Organizations whose resources you want to protect. For more information about Organizations, see Managing the Amazon Web Services Accounts in Your Organization.
  482. */
  483. AdminAccount: AWSAccountId;
  484. }
  485. export interface AssociateThirdPartyFirewallRequest {
  486. /**
  487. * The name of the third-party firewall vendor.
  488. */
  489. ThirdPartyFirewall: ThirdPartyFirewall;
  490. }
  491. export interface AssociateThirdPartyFirewallResponse {
  492. /**
  493. * The current status for setting a Firewall Manager policy administrator's account as an administrator of the third-party firewall tenant. ONBOARDING - The Firewall Manager policy administrator is being designated as a tenant administrator. ONBOARD_COMPLETE - The Firewall Manager policy administrator is designated as a tenant administrator. OFFBOARDING - The Firewall Manager policy administrator is being removed as a tenant administrator. OFFBOARD_COMPLETE - The Firewall Manager policy administrator has been removed as a tenant administrator. NOT_EXIST - The Firewall Manager policy administrator doesn't exist as a tenant administrator.
  494. */
  495. ThirdPartyFirewallStatus?: ThirdPartyFirewallAssociationStatus;
  496. }
  497. export interface AwsEc2InstanceViolation {
  498. /**
  499. * The resource ID of the EC2 instance.
  500. */
  501. ViolationTarget?: ViolationTarget;
  502. /**
  503. * Violation detail for network interfaces associated with the EC2 instance.
  504. */
  505. AwsEc2NetworkInterfaceViolations?: AwsEc2NetworkInterfaceViolations;
  506. }
  507. export interface AwsEc2NetworkInterfaceViolation {
  508. /**
  509. * The resource ID of the network interface.
  510. */
  511. ViolationTarget?: ViolationTarget;
  512. /**
  513. * List of security groups that violate the rules specified in the primary security group of the Firewall Manager policy.
  514. */
  515. ViolatingSecurityGroups?: ResourceIdList;
  516. }
  517. export type AwsEc2NetworkInterfaceViolations = AwsEc2NetworkInterfaceViolation[];
  518. export interface AwsVPCSecurityGroupViolation {
  519. /**
  520. * The security group rule that is being evaluated.
  521. */
  522. ViolationTarget?: ViolationTarget;
  523. /**
  524. * A description of the security group that violates the policy.
  525. */
  526. ViolationTargetDescription?: LengthBoundedString;
  527. /**
  528. * List of rules specified in the security group of the Firewall Manager policy that partially match the ViolationTarget rule.
  529. */
  530. PartialMatches?: PartialMatches;
  531. /**
  532. * Remediation options for the rule specified in the ViolationTarget.
  533. */
  534. PossibleSecurityGroupRemediationActions?: SecurityGroupRemediationActions;
  535. }
  536. export type Base62Id = string;
  537. export type BasicInteger = number;
  538. export interface BatchAssociateResourceRequest {
  539. /**
  540. * A unique identifier for the resource set, used in a request to refer to the resource set.
  541. */
  542. ResourceSetIdentifier: Identifier;
  543. /**
  544. * The uniform resource identifiers (URIs) of resources that should be associated to the resource set. The URIs must be Amazon Resource Names (ARNs).
  545. */
  546. Items: IdentifierList;
  547. }
  548. export interface BatchAssociateResourceResponse {
  549. /**
  550. * A unique identifier for the resource set, used in a request to refer to the resource set.
  551. */
  552. ResourceSetIdentifier: Identifier;
  553. /**
  554. * The resources that failed to associate to the resource set.
  555. */
  556. FailedItems: FailedItemList;
  557. }
  558. export interface BatchDisassociateResourceRequest {
  559. /**
  560. * A unique identifier for the resource set, used in a request to refer to the resource set.
  561. */
  562. ResourceSetIdentifier: Identifier;
  563. /**
  564. * The uniform resource identifiers (URI) of resources that should be disassociated from the resource set. The URIs must be Amazon Resource Names (ARNs).
  565. */
  566. Items: IdentifierList;
  567. }
  568. export interface BatchDisassociateResourceResponse {
  569. /**
  570. * A unique identifier for the resource set, used in a request to refer to the resource set.
  571. */
  572. ResourceSetIdentifier: Identifier;
  573. /**
  574. * The resources that failed to disassociate from the resource set.
  575. */
  576. FailedItems: FailedItemList;
  577. }
  578. export type Boolean = boolean;
  579. export type BooleanObject = boolean;
  580. export type CIDR = string;
  581. export interface ComplianceViolator {
  582. /**
  583. * The resource ID.
  584. */
  585. ResourceId?: ResourceId;
  586. /**
  587. * The reason that the resource is not protected by the policy.
  588. */
  589. ViolationReason?: ViolationReason;
  590. /**
  591. * The resource type. This is in the format shown in the Amazon Web Services Resource Types Reference. For example: AWS::ElasticLoadBalancingV2::LoadBalancer, AWS::CloudFront::Distribution, or AWS::NetworkFirewall::FirewallPolicy.
  592. */
  593. ResourceType?: ResourceType;
  594. /**
  595. * Metadata about the resource that doesn't comply with the policy scope.
  596. */
  597. Metadata?: ComplianceViolatorMetadata;
  598. }
  599. export type ComplianceViolatorMetadata = {[key: string]: LengthBoundedString};
  600. export type ComplianceViolators = ComplianceViolator[];
  601. export interface CreateNetworkAclAction {
  602. /**
  603. * Brief description of this remediation action.
  604. */
  605. Description?: LengthBoundedString;
  606. /**
  607. * The VPC that's associated with the remediation action.
  608. */
  609. Vpc?: ActionTarget;
  610. /**
  611. * Indicates whether it is possible for Firewall Manager to perform this remediation action. A false value indicates that auto remediation is disabled or Firewall Manager is unable to perform the action due to a conflict of some kind.
  612. */
  613. FMSCanRemediate?: Boolean;
  614. }
  615. export interface CreateNetworkAclEntriesAction {
  616. /**
  617. * Brief description of this remediation action.
  618. */
  619. Description?: LengthBoundedString;
  620. /**
  621. * The network ACL that's associated with the remediation action.
  622. */
  623. NetworkAclId?: ActionTarget;
  624. /**
  625. * Lists the entries that the remediation action would create.
  626. */
  627. NetworkAclEntriesToBeCreated?: EntriesDescription;
  628. /**
  629. * Indicates whether it is possible for Firewall Manager to perform this remediation action. A false value indicates that auto remediation is disabled or Firewall Manager is unable to perform the action due to a conflict of some kind.
  630. */
  631. FMSCanRemediate?: Boolean;
  632. }
  633. export type CustomerPolicyScopeId = string;
  634. export type CustomerPolicyScopeIdList = CustomerPolicyScopeId[];
  635. export type CustomerPolicyScopeIdType = "ACCOUNT"|"ORG_UNIT"|string;
  636. export type CustomerPolicyScopeMap = {[key: string]: CustomerPolicyScopeIdList};
  637. export type CustomerPolicyStatus = "ACTIVE"|"OUT_OF_ADMIN_SCOPE"|string;
  638. export interface DeleteAppsListRequest {
  639. /**
  640. * The ID of the applications list that you want to delete. You can retrieve this ID from PutAppsList, ListAppsLists, and GetAppsList.
  641. */
  642. ListId: ListId;
  643. }
  644. export interface DeleteNetworkAclEntriesAction {
  645. /**
  646. * Brief description of this remediation action.
  647. */
  648. Description?: LengthBoundedString;
  649. /**
  650. * The network ACL that's associated with the remediation action.
  651. */
  652. NetworkAclId?: ActionTarget;
  653. /**
  654. * Lists the entries that the remediation action would delete.
  655. */
  656. NetworkAclEntriesToBeDeleted?: EntriesDescription;
  657. /**
  658. * Indicates whether it is possible for Firewall Manager to perform this remediation action. A false value indicates that auto remediation is disabled or Firewall Manager is unable to perform the action due to a conflict of some kind.
  659. */
  660. FMSCanRemediate?: Boolean;
  661. }
  662. export interface DeleteNotificationChannelRequest {
  663. }
  664. export interface DeletePolicyRequest {
  665. /**
  666. * The ID of the policy that you want to delete. You can retrieve this ID from PutPolicy and ListPolicies.
  667. */
  668. PolicyId: PolicyId;
  669. /**
  670. * If True, the request performs cleanup according to the policy type. For WAF and Shield Advanced policies, the cleanup does the following: Deletes rule groups created by Firewall Manager Removes web ACLs from in-scope resources Deletes web ACLs that contain no rules or rule groups For security group policies, the cleanup does the following for each security group in the policy: Disassociates the security group from in-scope resources Deletes the security group if it was created through Firewall Manager and if it's no longer associated with any resources through another policy For security group common policies, even if set to False, Firewall Manager deletes all security groups created by Firewall Manager that aren't associated with any other resources through another policy. After the cleanup, in-scope resources are no longer protected by web ACLs in this policy. Protection of out-of-scope resources remains unchanged. Scope is determined by tags that you create and accounts that you associate with the policy. When creating the policy, if you specify that only resources in specific accounts or with specific tags are in scope of the policy, those accounts and resources are handled by the policy. All others are out of scope. If you don't specify tags or accounts, all resources are in scope.
  671. */
  672. DeleteAllPolicyResources?: Boolean;
  673. }
  674. export interface DeleteProtocolsListRequest {
  675. /**
  676. * The ID of the protocols list that you want to delete. You can retrieve this ID from PutProtocolsList, ListProtocolsLists, and GetProtocolsLost.
  677. */
  678. ListId: ListId;
  679. }
  680. export interface DeleteResourceSetRequest {
  681. /**
  682. * A unique identifier for the resource set, used in a request to refer to the resource set.
  683. */
  684. Identifier: Base62Id;
  685. }
  686. export type DependentServiceName = "AWSCONFIG"|"AWSWAF"|"AWSSHIELD_ADVANCED"|"AWSVPC"|string;
  687. export type Description = string;
  688. export type DestinationType = "IPV4"|"IPV6"|"PREFIX_LIST"|string;
  689. export type DetailedInfo = string;
  690. export interface DisassociateAdminAccountRequest {
  691. }
  692. export interface DisassociateThirdPartyFirewallRequest {
  693. /**
  694. * The name of the third-party firewall vendor.
  695. */
  696. ThirdPartyFirewall: ThirdPartyFirewall;
  697. }
  698. export interface DisassociateThirdPartyFirewallResponse {
  699. /**
  700. * The current status for the disassociation of a Firewall Manager administrators account with a third-party firewall.
  701. */
  702. ThirdPartyFirewallStatus?: ThirdPartyFirewallAssociationStatus;
  703. }
  704. export interface DiscoveredResource {
  705. /**
  706. * The universal resource identifier (URI) of the discovered resource.
  707. */
  708. URI?: Identifier;
  709. /**
  710. * The Amazon Web Services account ID associated with the discovered resource.
  711. */
  712. AccountId?: AWSAccountId;
  713. /**
  714. * The type of the discovered resource.
  715. */
  716. Type?: ResourceType;
  717. /**
  718. * The name of the discovered resource.
  719. */
  720. Name?: ResourceName;
  721. }
  722. export type DiscoveredResourceList = DiscoveredResource[];
  723. export interface DnsDuplicateRuleGroupViolation {
  724. /**
  725. * Information about the VPC ID.
  726. */
  727. ViolationTarget?: ViolationTarget;
  728. /**
  729. * A description of the violation that specifies the rule group and VPC.
  730. */
  731. ViolationTargetDescription?: LengthBoundedString;
  732. }
  733. export interface DnsRuleGroupLimitExceededViolation {
  734. /**
  735. * Information about the VPC ID.
  736. */
  737. ViolationTarget?: ViolationTarget;
  738. /**
  739. * A description of the violation that specifies the rule group and VPC.
  740. */
  741. ViolationTargetDescription?: LengthBoundedString;
  742. /**
  743. * The number of rule groups currently associated with the VPC.
  744. */
  745. NumberOfRuleGroupsAlreadyAssociated?: BasicInteger;
  746. }
  747. export type DnsRuleGroupPriorities = DnsRuleGroupPriority[];
  748. export type DnsRuleGroupPriority = number;
  749. export interface DnsRuleGroupPriorityConflictViolation {
  750. /**
  751. * Information about the VPC ID.
  752. */
  753. ViolationTarget?: ViolationTarget;
  754. /**
  755. * A description of the violation that specifies the VPC and the rule group that's already associated with it.
  756. */
  757. ViolationTargetDescription?: LengthBoundedString;
  758. /**
  759. * The priority setting of the two conflicting rule groups.
  760. */
  761. ConflictingPriority?: DnsRuleGroupPriority;
  762. /**
  763. * The ID of the Firewall Manager DNS Firewall policy that was already applied to the VPC. This policy contains the rule group that's already associated with the VPC.
  764. */
  765. ConflictingPolicyId?: PolicyId;
  766. /**
  767. * The priorities of rule groups that are already associated with the VPC. To retry your operation, choose priority settings that aren't in this list for the rule groups in your new DNS Firewall policy.
  768. */
  769. UnavailablePriorities?: DnsRuleGroupPriorities;
  770. }
  771. export interface EC2AssociateRouteTableAction {
  772. /**
  773. * A description of the EC2 route table that is associated with the remediation action.
  774. */
  775. Description?: LengthBoundedString;
  776. /**
  777. * The ID of the EC2 route table that is associated with the remediation action.
  778. */
  779. RouteTableId: ActionTarget;
  780. /**
  781. * The ID of the subnet for the EC2 route table that is associated with the remediation action.
  782. */
  783. SubnetId?: ActionTarget;
  784. /**
  785. * The ID of the gateway to be used with the EC2 route table that is associated with the remediation action.
  786. */
  787. GatewayId?: ActionTarget;
  788. }
  789. export interface EC2CopyRouteTableAction {
  790. /**
  791. * A description of the copied EC2 route table that is associated with the remediation action.
  792. */
  793. Description?: LengthBoundedString;
  794. /**
  795. * The VPC ID of the copied EC2 route table that is associated with the remediation action.
  796. */
  797. VpcId: ActionTarget;
  798. /**
  799. * The ID of the copied EC2 route table that is associated with the remediation action.
  800. */
  801. RouteTableId: ActionTarget;
  802. }
  803. export interface EC2CreateRouteAction {
  804. /**
  805. * A description of CreateRoute action in Amazon EC2.
  806. */
  807. Description?: LengthBoundedString;
  808. /**
  809. * Information about the IPv4 CIDR address block used for the destination match.
  810. */
  811. DestinationCidrBlock?: CIDR;
  812. /**
  813. * Information about the ID of a prefix list used for the destination match.
  814. */
  815. DestinationPrefixListId?: ResourceId;
  816. /**
  817. * Information about the IPv6 CIDR block destination.
  818. */
  819. DestinationIpv6CidrBlock?: CIDR;
  820. /**
  821. * Information about the ID of a VPC endpoint. Supported for Gateway Load Balancer endpoints only.
  822. */
  823. VpcEndpointId?: ActionTarget;
  824. /**
  825. * Information about the ID of an internet gateway or virtual private gateway attached to your VPC.
  826. */
  827. GatewayId?: ActionTarget;
  828. /**
  829. * Information about the ID of the route table for the route.
  830. */
  831. RouteTableId: ActionTarget;
  832. }
  833. export interface EC2CreateRouteTableAction {
  834. /**
  835. * A description of the CreateRouteTable action.
  836. */
  837. Description?: LengthBoundedString;
  838. /**
  839. * Information about the ID of a VPC.
  840. */
  841. VpcId: ActionTarget;
  842. }
  843. export interface EC2DeleteRouteAction {
  844. /**
  845. * A description of the DeleteRoute action.
  846. */
  847. Description?: LengthBoundedString;
  848. /**
  849. * Information about the IPv4 CIDR range for the route. The value you specify must match the CIDR for the route exactly.
  850. */
  851. DestinationCidrBlock?: CIDR;
  852. /**
  853. * Information about the ID of the prefix list for the route.
  854. */
  855. DestinationPrefixListId?: ResourceId;
  856. /**
  857. * Information about the IPv6 CIDR range for the route. The value you specify must match the CIDR for the route exactly.
  858. */
  859. DestinationIpv6CidrBlock?: CIDR;
  860. /**
  861. * Information about the ID of the route table.
  862. */
  863. RouteTableId: ActionTarget;
  864. }
  865. export interface EC2ReplaceRouteAction {
  866. /**
  867. * A description of the ReplaceRoute action in Amazon EC2.
  868. */
  869. Description?: LengthBoundedString;
  870. /**
  871. * Information about the IPv4 CIDR address block used for the destination match. The value that you provide must match the CIDR of an existing route in the table.
  872. */
  873. DestinationCidrBlock?: CIDR;
  874. /**
  875. * Information about the ID of the prefix list for the route.
  876. */
  877. DestinationPrefixListId?: ResourceId;
  878. /**
  879. * Information about the IPv6 CIDR address block used for the destination match. The value that you provide must match the CIDR of an existing route in the table.
  880. */
  881. DestinationIpv6CidrBlock?: CIDR;
  882. /**
  883. * Information about the ID of an internet gateway or virtual private gateway.
  884. */
  885. GatewayId?: ActionTarget;
  886. /**
  887. * Information about the ID of the route table.
  888. */
  889. RouteTableId: ActionTarget;
  890. }
  891. export interface EC2ReplaceRouteTableAssociationAction {
  892. /**
  893. * A description of the ReplaceRouteTableAssociation action in Amazon EC2.
  894. */
  895. Description?: LengthBoundedString;
  896. /**
  897. * Information about the association ID.
  898. */
  899. AssociationId: ActionTarget;
  900. /**
  901. * Information about the ID of the new route table to associate with the subnet.
  902. */
  903. RouteTableId: ActionTarget;
  904. }
  905. export type EntriesDescription = EntryDescription[];
  906. export type EntriesWithConflicts = EntryDescription[];
  907. export interface EntryDescription {
  908. /**
  909. * Describes a rule in a network ACL. Each network ACL has a set of numbered ingress rules and a separate set of numbered egress rules. When determining whether a packet should be allowed in or out of a subnet associated with the network ACL, Amazon Web Services processes the entries in the network ACL according to the rule numbers, in ascending order. When you manage an individual network ACL, you explicitly specify the rule numbers. When you specify the network ACL rules in a Firewall Manager policy, you provide the rules to run first, in the order that you want them to run, and the rules to run last, in the order that you want them to run. Firewall Manager assigns the rule numbers for you when you save the network ACL policy specification.
  910. */
  911. EntryDetail?: NetworkAclEntry;
  912. /**
  913. * The rule number for the entry. ACL entries are processed in ascending order by rule number. In a Firewall Manager network ACL policy, Firewall Manager assigns rule numbers.
  914. */
  915. EntryRuleNumber?: IntegerObjectMinimum0;
  916. /**
  917. * Specifies whether the entry is managed by Firewall Manager or by a user, and, for Firewall Manager-managed entries, specifies whether the entry is among those that run first in the network ACL or those that run last.
  918. */
  919. EntryType?: EntryType;
  920. }
  921. export type EntryType = "FMS_MANAGED_FIRST_ENTRY"|"FMS_MANAGED_LAST_ENTRY"|"CUSTOM_ENTRY"|string;
  922. export interface EntryViolation {
  923. /**
  924. * The Firewall Manager-managed network ACL entry that is involved in the entry violation.
  925. */
  926. ExpectedEntry?: EntryDescription;
  927. /**
  928. * The evaluation location within the ordered list of entries where the ExpectedEntry should be, according to the network ACL policy specifications.
  929. */
  930. ExpectedEvaluationOrder?: LengthBoundedString;
  931. /**
  932. * The evaluation location within the ordered list of entries where the ExpectedEntry is currently located.
  933. */
  934. ActualEvaluationOrder?: LengthBoundedString;
  935. /**
  936. * The entry that's currently in the ExpectedEvaluationOrder location, in place of the expected entry.
  937. */
  938. EntryAtExpectedEvaluationOrder?: EntryDescription;
  939. /**
  940. * The list of entries that are in conflict with ExpectedEntry.
  941. */
  942. EntriesWithConflicts?: EntriesWithConflicts;
  943. /**
  944. * Descriptions of the violations that Firewall Manager found for these entries.
  945. */
  946. EntryViolationReasons?: EntryViolationReasons;
  947. }
  948. export type EntryViolationReason = "MISSING_EXPECTED_ENTRY"|"INCORRECT_ENTRY_ORDER"|"ENTRY_CONFLICT"|string;
  949. export type EntryViolationReasons = EntryViolationReason[];
  950. export type EntryViolations = EntryViolation[];
  951. export interface EvaluationResult {
  952. /**
  953. * Describes an Amazon Web Services account's compliance with the Firewall Manager policy.
  954. */
  955. ComplianceStatus?: PolicyComplianceStatusType;
  956. /**
  957. * The number of resources that are noncompliant with the specified policy. For WAF and Shield Advanced policies, a resource is considered noncompliant if it is not associated with the policy. For security group policies, a resource is considered noncompliant if it doesn't comply with the rules of the policy and remediation is disabled or not possible.
  958. */
  959. ViolatorCount?: ResourceCount;
  960. /**
  961. * Indicates that over 100 resources are noncompliant with the Firewall Manager policy.
  962. */
  963. EvaluationLimitExceeded?: Boolean;
  964. }
  965. export type EvaluationResults = EvaluationResult[];
  966. export interface ExpectedRoute {
  967. /**
  968. * Information about the IPv4 CIDR block.
  969. */
  970. IpV4Cidr?: CIDR;
  971. /**
  972. * Information about the ID of the prefix list for the route.
  973. */
  974. PrefixListId?: CIDR;
  975. /**
  976. * Information about the IPv6 CIDR block.
  977. */
  978. IpV6Cidr?: CIDR;
  979. /**
  980. * Information about the contributing subnets.
  981. */
  982. ContributingSubnets?: ResourceIdList;
  983. /**
  984. * Information about the allowed targets.
  985. */
  986. AllowedTargets?: LengthBoundedStringList;
  987. /**
  988. * Information about the route table ID.
  989. */
  990. RouteTableId?: ResourceId;
  991. }
  992. export type ExpectedRoutes = ExpectedRoute[];
  993. export interface FMSPolicyUpdateFirewallCreationConfigAction {
  994. /**
  995. * Describes the remedial action.
  996. */
  997. Description?: LengthBoundedString;
  998. /**
  999. * A FirewallCreationConfig that you can copy into your current policy's SecurityServiceData in order to remedy scope violations.
  1000. */
  1001. FirewallCreationConfig?: ManagedServiceData;
  1002. }
  1003. export interface FailedItem {
  1004. /**
  1005. * The univeral resource indicator (URI) of the resource that failed.
  1006. */
  1007. URI?: Identifier;
  1008. /**
  1009. * The reason the resource's association could not be updated.
  1010. */
  1011. Reason?: FailedItemReason;
  1012. }
  1013. export type FailedItemList = FailedItem[];
  1014. export type FailedItemReason = "NOT_VALID_ARN"|"NOT_VALID_PARTITION"|"NOT_VALID_REGION"|"NOT_VALID_SERVICE"|"NOT_VALID_RESOURCE_TYPE"|"NOT_VALID_ACCOUNT_ID"|string;
  1015. export type FirewallDeploymentModel = "CENTRALIZED"|"DISTRIBUTED"|string;
  1016. export type FirewallPolicyId = string;
  1017. export type FirewallPolicyName = string;
  1018. export interface FirewallSubnetIsOutOfScopeViolation {
  1019. /**
  1020. * The ID of the firewall subnet that violates the policy scope.
  1021. */
  1022. FirewallSubnetId?: ResourceId;
  1023. /**
  1024. * The VPC ID of the firewall subnet that violates the policy scope.
  1025. */
  1026. VpcId?: ResourceId;
  1027. /**
  1028. * The Availability Zone of the firewall subnet that violates the policy scope.
  1029. */
  1030. SubnetAvailabilityZone?: LengthBoundedString;
  1031. /**
  1032. * The Availability Zone ID of the firewall subnet that violates the policy scope.
  1033. */
  1034. SubnetAvailabilityZoneId?: LengthBoundedString;
  1035. /**
  1036. * The VPC endpoint ID of the firewall subnet that violates the policy scope.
  1037. */
  1038. VpcEndpointId?: ResourceId;
  1039. }
  1040. export interface FirewallSubnetMissingVPCEndpointViolation {
  1041. /**
  1042. * The ID of the firewall that this VPC endpoint is associated with.
  1043. */
  1044. FirewallSubnetId?: ResourceId;
  1045. /**
  1046. * The resource ID of the VPC associated with the deleted VPC subnet.
  1047. */
  1048. VpcId?: ResourceId;
  1049. /**
  1050. * The name of the Availability Zone of the deleted VPC subnet.
  1051. */
  1052. SubnetAvailabilityZone?: LengthBoundedString;
  1053. /**
  1054. * The ID of the Availability Zone of the deleted VPC subnet.
  1055. */
  1056. SubnetAvailabilityZoneId?: LengthBoundedString;
  1057. }
  1058. export interface GetAdminAccountRequest {
  1059. }
  1060. export interface GetAdminAccountResponse {
  1061. /**
  1062. * The account that is set as the Firewall Manager default administrator.
  1063. */
  1064. AdminAccount?: AWSAccountId;
  1065. /**
  1066. * The status of the account that you set as the Firewall Manager default administrator.
  1067. */
  1068. RoleStatus?: AccountRoleStatus;
  1069. }
  1070. export interface GetAdminScopeRequest {
  1071. /**
  1072. * The administrator account that you want to get the details for.
  1073. */
  1074. AdminAccount: AWSAccountId;
  1075. }
  1076. export interface GetAdminScopeResponse {
  1077. /**
  1078. * Contains details about the administrative scope of the requested account.
  1079. */
  1080. AdminScope?: AdminScope;
  1081. /**
  1082. * The current status of the request to onboard a member account as an Firewall Manager administrator. ONBOARDING - The account is onboarding to Firewall Manager as an administrator. ONBOARDING_COMPLETE - Firewall Manager The account is onboarded to Firewall Manager as an administrator, and can perform actions on the resources defined in their AdminScope. OFFBOARDING - The account is being removed as an Firewall Manager administrator. OFFBOARDING_COMPLETE - The account has been removed as an Firewall Manager administrator.
  1083. */
  1084. Status?: OrganizationStatus;
  1085. }
  1086. export interface GetAppsListRequest {
  1087. /**
  1088. * The ID of the Firewall Manager applications list that you want the details for.
  1089. */
  1090. ListId: ListId;
  1091. /**
  1092. * Specifies whether the list to retrieve is a default list owned by Firewall Manager.
  1093. */
  1094. DefaultList?: Boolean;
  1095. }
  1096. export interface GetAppsListResponse {
  1097. /**
  1098. * Information about the specified Firewall Manager applications list.
  1099. */
  1100. AppsList?: AppsListData;
  1101. /**
  1102. * The Amazon Resource Name (ARN) of the applications list.
  1103. */
  1104. AppsListArn?: ResourceArn;
  1105. }
  1106. export interface GetComplianceDetailRequest {
  1107. /**
  1108. * The ID of the policy that you want to get the details for. PolicyId is returned by PutPolicy and by ListPolicies.
  1109. */
  1110. PolicyId: PolicyId;
  1111. /**
  1112. * The Amazon Web Services account that owns the resources that you want to get the details for.
  1113. */
  1114. MemberAccount: AWSAccountId;
  1115. }
  1116. export interface GetComplianceDetailResponse {
  1117. /**
  1118. * Information about the resources and the policy that you specified in the GetComplianceDetail request.
  1119. */
  1120. PolicyComplianceDetail?: PolicyComplianceDetail;
  1121. }
  1122. export interface GetNotificationChannelRequest {
  1123. }
  1124. export interface GetNotificationChannelResponse {
  1125. /**
  1126. * The SNS topic that records Firewall Manager activity.
  1127. */
  1128. SnsTopicArn?: ResourceArn;
  1129. /**
  1130. * The IAM role that is used by Firewall Manager to record activity to SNS.
  1131. */
  1132. SnsRoleName?: ResourceArn;
  1133. }
  1134. export interface GetPolicyRequest {
  1135. /**
  1136. * The ID of the Firewall Manager policy that you want the details for.
  1137. */
  1138. PolicyId: PolicyId;
  1139. }
  1140. export interface GetPolicyResponse {
  1141. /**
  1142. * Information about the specified Firewall Manager policy.
  1143. */
  1144. Policy?: Policy;
  1145. /**
  1146. * The Amazon Resource Name (ARN) of the specified policy.
  1147. */
  1148. PolicyArn?: ResourceArn;
  1149. }
  1150. export interface GetProtectionStatusRequest {
  1151. /**
  1152. * The ID of the policy for which you want to get the attack information.
  1153. */
  1154. PolicyId: PolicyId;
  1155. /**
  1156. * The Amazon Web Services account that is in scope of the policy that you want to get the details for.
  1157. */
  1158. MemberAccountId?: AWSAccountId;
  1159. /**
  1160. * The start of the time period to query for the attacks. This is a timestamp type. The request syntax listing indicates a number type because the default used by Firewall Manager is Unix time in seconds. However, any valid timestamp format is allowed.
  1161. */
  1162. StartTime?: TimeStamp;
  1163. /**
  1164. * The end of the time period to query for the attacks. This is a timestamp type. The request syntax listing indicates a number type because the default used by Firewall Manager is Unix time in seconds. However, any valid timestamp format is allowed.
  1165. */
  1166. EndTime?: TimeStamp;
  1167. /**
  1168. * If you specify a value for MaxResults and you have more objects than the number that you specify for MaxResults, Firewall Manager returns a NextToken value in the response, which you can use to retrieve another group of objects. For the second and subsequent GetProtectionStatus requests, specify the value of NextToken from the previous response to get information about another batch of objects.
  1169. */
  1170. NextToken?: PaginationToken;
  1171. /**
  1172. * Specifies the number of objects that you want Firewall Manager to return for this request. If you have more objects than the number that you specify for MaxResults, the response includes a NextToken value that you can use to get another batch of objects.
  1173. */
  1174. MaxResults?: PaginationMaxResults;
  1175. }
  1176. export interface GetProtectionStatusResponse {
  1177. /**
  1178. * The ID of the Firewall Manager administrator account for this policy.
  1179. */
  1180. AdminAccountId?: AWSAccountId;
  1181. /**
  1182. * The service type that is protected by the policy. Currently, this is always SHIELD_ADVANCED.
  1183. */
  1184. ServiceType?: SecurityServiceType;
  1185. /**
  1186. * Details about the attack, including the following: Attack type Account ID ARN of the resource attacked Start time of the attack End time of the attack (ongoing attacks will not have an end time) The details are in JSON format.
  1187. */
  1188. Data?: ProtectionData;
  1189. /**
  1190. * If you have more objects than the number that you specified for MaxResults in the request, the response includes a NextToken value. To list more objects, submit another GetProtectionStatus request, and specify the NextToken value from the response in the NextToken value in the next request. Amazon Web Services SDKs provide auto-pagination that identify NextToken in a response and make subsequent request calls automatically on your behalf. However, this feature is not supported by GetProtectionStatus. You must submit subsequent requests with NextToken using your own processes.
  1191. */
  1192. NextToken?: PaginationToken;
  1193. }
  1194. export interface GetProtocolsListRequest {
  1195. /**
  1196. * The ID of the Firewall Manager protocols list that you want the details for.
  1197. */
  1198. ListId: ListId;
  1199. /**
  1200. * Specifies whether the list to retrieve is a default list owned by Firewall Manager.
  1201. */
  1202. DefaultList?: Boolean;
  1203. }
  1204. export interface GetProtocolsListResponse {
  1205. /**
  1206. * Information about the specified Firewall Manager protocols list.
  1207. */
  1208. ProtocolsList?: ProtocolsListData;
  1209. /**
  1210. * The Amazon Resource Name (ARN) of the specified protocols list.
  1211. */
  1212. ProtocolsListArn?: ResourceArn;
  1213. }
  1214. export interface GetResourceSetRequest {
  1215. /**
  1216. * A unique identifier for the resource set, used in a request to refer to the resource set.
  1217. */
  1218. Identifier: Base62Id;
  1219. }
  1220. export interface GetResourceSetResponse {
  1221. /**
  1222. * Information about the specified resource set.
  1223. */
  1224. ResourceSet: ResourceSet;
  1225. /**
  1226. * The Amazon Resource Name (ARN) of the resource set.
  1227. */
  1228. ResourceSetArn: ResourceArn;
  1229. }
  1230. export interface GetThirdPartyFirewallAssociationStatusRequest {
  1231. /**
  1232. * The name of the third-party firewall vendor.
  1233. */
  1234. ThirdPartyFirewall: ThirdPartyFirewall;
  1235. }
  1236. export interface GetThirdPartyFirewallAssociationStatusResponse {
  1237. /**
  1238. * The current status for setting a Firewall Manager policy administrators account as an administrator of the third-party firewall tenant. ONBOARDING - The Firewall Manager policy administrator is being designated as a tenant administrator. ONBOARD_COMPLETE - The Firewall Manager policy administrator is designated as a tenant administrator. OFFBOARDING - The Firewall Manager policy administrator is being removed as a tenant administrator. OFFBOARD_COMPLETE - The Firewall Manager policy administrator has been removed as a tenant administrator. NOT_EXIST - The Firewall Manager policy administrator doesn't exist as a tenant administrator.
  1239. */
  1240. ThirdPartyFirewallStatus?: ThirdPartyFirewallAssociationStatus;
  1241. /**
  1242. * The status for subscribing to the third-party firewall vendor in the Amazon Web Services Marketplace. NO_SUBSCRIPTION - The Firewall Manager policy administrator isn't subscribed to the third-party firewall service in the Amazon Web Services Marketplace. NOT_COMPLETE - The Firewall Manager policy administrator is in the process of subscribing to the third-party firewall service in the Amazon Web Services Marketplace, but doesn't yet have an active subscription. COMPLETE - The Firewall Manager policy administrator has an active subscription to the third-party firewall service in the Amazon Web Services Marketplace.
  1243. */
  1244. MarketplaceOnboardingStatus?: MarketplaceSubscriptionOnboardingStatus;
  1245. }
  1246. export interface GetViolationDetailsRequest {
  1247. /**
  1248. * The ID of the Firewall Manager policy that you want the details for. You can get violation details for the following policy types: DNS Firewall Imported Network Firewall Network Firewall Security group content audit Network ACL Third-party firewall
  1249. */
  1250. PolicyId: PolicyId;
  1251. /**
  1252. * The Amazon Web Services account ID that you want the details for.
  1253. */
  1254. MemberAccount: AWSAccountId;
  1255. /**
  1256. * The ID of the resource that has violations.
  1257. */
  1258. ResourceId: ResourceId;
  1259. /**
  1260. * The resource type. This is in the format shown in the Amazon Web Services Resource Types Reference. Supported resource types are: AWS::EC2::Instance, AWS::EC2::NetworkInterface, AWS::EC2::SecurityGroup, AWS::NetworkFirewall::FirewallPolicy, and AWS::EC2::Subnet.
  1261. */
  1262. ResourceType: ResourceType;
  1263. }
  1264. export interface GetViolationDetailsResponse {
  1265. /**
  1266. * Violation detail for a resource.
  1267. */
  1268. ViolationDetail?: ViolationDetail;
  1269. }
  1270. export type IPPortNumber = number;
  1271. export type IPPortNumberInteger = number;
  1272. export type Identifier = string;
  1273. export type IdentifierList = Identifier[];
  1274. export type IntegerObject = number;
  1275. export type IntegerObjectMinimum0 = number;
  1276. export interface InvalidNetworkAclEntriesViolation {
  1277. /**
  1278. * The VPC where the violation was found.
  1279. */
  1280. Vpc?: ResourceId;
  1281. /**
  1282. * The subnet that's associated with the network ACL.
  1283. */
  1284. Subnet?: ResourceId;
  1285. /**
  1286. * The Availability Zone where the network ACL is in use.
  1287. */
  1288. SubnetAvailabilityZone?: LengthBoundedString;
  1289. /**
  1290. * The network ACL containing the entry violations.
  1291. */
  1292. CurrentAssociatedNetworkAcl?: ResourceId;
  1293. /**
  1294. * Detailed information about the entry violations in the network ACL.
  1295. */
  1296. EntryViolations?: EntryViolations;
  1297. }
  1298. export type IssueInfoMap = {[key: string]: DetailedInfo};
  1299. export type LengthBoundedNonEmptyString = string;
  1300. export type LengthBoundedString = string;
  1301. export type LengthBoundedStringList = LengthBoundedString[];
  1302. export interface ListAdminAccountsForOrganizationRequest {
  1303. /**
  1304. * When you request a list of objects with a MaxResults setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Firewall Manager returns a NextToken value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.
  1305. */
  1306. NextToken?: PaginationToken;
  1307. /**
  1308. * The maximum number of objects that you want Firewall Manager to return for this request. If more objects are available, in the response, Firewall Manager provides a NextToken value that you can use in a subsequent call to get the next batch of objects.
  1309. */
  1310. MaxResults?: PaginationMaxResults;
  1311. }
  1312. export interface ListAdminAccountsForOrganizationResponse {
  1313. /**
  1314. * A list of Firewall Manager administrator accounts within the organization that were onboarded as administrators by AssociateAdminAccount or PutAdminAccount.
  1315. */
  1316. AdminAccounts?: AdminAccountSummaryList;
  1317. /**
  1318. * When you request a list of objects with a MaxResults setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Firewall Manager returns a NextToken value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.
  1319. */
  1320. NextToken?: PaginationToken;
  1321. }
  1322. export interface ListAdminsManagingAccountRequest {
  1323. /**
  1324. * When you request a list of objects with a MaxResults setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Firewall Manager returns a NextToken value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.
  1325. */
  1326. NextToken?: PaginationToken;
  1327. /**
  1328. * The maximum number of objects that you want Firewall Manager to return for this request. If more objects are available, in the response, Firewall Manager provides a NextToken value that you can use in a subsequent call to get the next batch of objects.
  1329. */
  1330. MaxResults?: PaginationMaxResults;
  1331. }
  1332. export interface ListAdminsManagingAccountResponse {
  1333. /**
  1334. * The list of accounts who manage member accounts within their AdminScope.
  1335. */
  1336. AdminAccounts?: AccountIdList;
  1337. /**
  1338. * When you request a list of objects with a MaxResults setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Firewall Manager returns a NextToken value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.
  1339. */
  1340. NextToken?: PaginationToken;
  1341. }
  1342. export interface ListAppsListsRequest {
  1343. /**
  1344. * Specifies whether the lists to retrieve are default lists owned by Firewall Manager.
  1345. */
  1346. DefaultLists?: Boolean;
  1347. /**
  1348. * If you specify a value for MaxResults in your list request, and you have more objects than the maximum, Firewall Manager returns this token in the response. For all but the first request, you provide the token returned by the prior request in the request parameters, to retrieve the next batch of objects.
  1349. */
  1350. NextToken?: PaginationToken;
  1351. /**
  1352. * The maximum number of objects that you want Firewall Manager to return for this request. If more objects are available, in the response, Firewall Manager provides a NextToken value that you can use in a subsequent call to get the next batch of objects. If you don't specify this, Firewall Manager returns all available objects.
  1353. */
  1354. MaxResults: PaginationMaxResults;
  1355. }
  1356. export interface ListAppsListsResponse {
  1357. /**
  1358. * An array of AppsListDataSummary objects.
  1359. */
  1360. AppsLists?: AppsListsData;
  1361. /**
  1362. * If you specify a value for MaxResults in your list request, and you have more objects than the maximum, Firewall Manager returns this token in the response. You can use this token in subsequent requests to retrieve the next batch of objects.
  1363. */
  1364. NextToken?: PaginationToken;
  1365. }
  1366. export interface ListComplianceStatusRequest {
  1367. /**
  1368. * The ID of the Firewall Manager policy that you want the details for.
  1369. */
  1370. PolicyId: PolicyId;
  1371. /**
  1372. * If you specify a value for MaxResults and you have more PolicyComplianceStatus objects than the number that you specify for MaxResults, Firewall Manager returns a NextToken value in the response that allows you to list another group of PolicyComplianceStatus objects. For the second and subsequent ListComplianceStatus requests, specify the value of NextToken from the previous response to get information about another batch of PolicyComplianceStatus objects.
  1373. */
  1374. NextToken?: PaginationToken;
  1375. /**
  1376. * Specifies the number of PolicyComplianceStatus objects that you want Firewall Manager to return for this request. If you have more PolicyComplianceStatus objects than the number that you specify for MaxResults, the response includes a NextToken value that you can use to get another batch of PolicyComplianceStatus objects.
  1377. */
  1378. MaxResults?: PaginationMaxResults;
  1379. }
  1380. export interface ListComplianceStatusResponse {
  1381. /**
  1382. * An array of PolicyComplianceStatus objects.
  1383. */
  1384. PolicyComplianceStatusList?: PolicyComplianceStatusList;
  1385. /**
  1386. * If you have more PolicyComplianceStatus objects than the number that you specified for MaxResults in the request, the response includes a NextToken value. To list more PolicyComplianceStatus objects, submit another ListComplianceStatus request, and specify the NextToken value from the response in the NextToken value in the next request.
  1387. */
  1388. NextToken?: PaginationToken;
  1389. }
  1390. export interface ListDiscoveredResourcesRequest {
  1391. /**
  1392. * The Amazon Web Services account IDs to discover resources in. Only one account is supported per request. The account must be a member of your organization.
  1393. */
  1394. MemberAccountIds: AWSAccountIdList;
  1395. /**
  1396. * The type of resources to discover.
  1397. */
  1398. ResourceType: ResourceType;
  1399. /**
  1400. * The maximum number of objects that you want Firewall Manager to return for this request. If more objects are available, in the response, Firewall Manager provides a NextToken value that you can use in a subsequent call to get the next batch of objects.
  1401. */
  1402. MaxResults?: PaginationMaxResults;
  1403. /**
  1404. * When you request a list of objects with a MaxResults setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Firewall Manager returns a NextToken value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.
  1405. */
  1406. NextToken?: PaginationToken;
  1407. }
  1408. export interface ListDiscoveredResourcesResponse {
  1409. /**
  1410. * Details of the resources that were discovered.
  1411. */
  1412. Items?: DiscoveredResourceList;
  1413. /**
  1414. * When you request a list of objects with a MaxResults setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Firewall Manager returns a NextToken value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.
  1415. */
  1416. NextToken?: PaginationToken;
  1417. }
  1418. export type ListId = string;
  1419. export interface ListMemberAccountsRequest {
  1420. /**
  1421. * If you specify a value for MaxResults and you have more account IDs than the number that you specify for MaxResults, Firewall Manager returns a NextToken value in the response that allows you to list another group of IDs. For the second and subsequent ListMemberAccountsRequest requests, specify the value of NextToken from the previous response to get information about another batch of member account IDs.
  1422. */
  1423. NextToken?: PaginationToken;
  1424. /**
  1425. * Specifies the number of member account IDs that you want Firewall Manager to return for this request. If you have more IDs than the number that you specify for MaxResults, the response includes a NextToken value that you can use to get another batch of member account IDs.
  1426. */
  1427. MaxResults?: PaginationMaxResults;
  1428. }
  1429. export interface ListMemberAccountsResponse {
  1430. /**
  1431. * An array of account IDs.
  1432. */
  1433. MemberAccounts?: MemberAccounts;
  1434. /**
  1435. * If you have more member account IDs than the number that you specified for MaxResults in the request, the response includes a NextToken value. To list more IDs, submit another ListMemberAccounts request, and specify the NextToken value from the response in the NextToken value in the next request.
  1436. */
  1437. NextToken?: PaginationToken;
  1438. }
  1439. export interface ListPoliciesRequest {
  1440. /**
  1441. * If you specify a value for MaxResults and you have more PolicySummary objects than the number that you specify for MaxResults, Firewall Manager returns a NextToken value in the response that allows you to list another group of PolicySummary objects. For the second and subsequent ListPolicies requests, specify the value of NextToken from the previous response to get information about another batch of PolicySummary objects.
  1442. */
  1443. NextToken?: PaginationToken;
  1444. /**
  1445. * Specifies the number of PolicySummary objects that you want Firewall Manager to return for this request. If you have more PolicySummary objects than the number that you specify for MaxResults, the response includes a NextToken value that you can use to get another batch of PolicySummary objects.
  1446. */
  1447. MaxResults?: PaginationMaxResults;
  1448. }
  1449. export interface ListPoliciesResponse {
  1450. /**
  1451. * An array of PolicySummary objects.
  1452. */
  1453. PolicyList?: PolicySummaryList;
  1454. /**
  1455. * If you have more PolicySummary objects than the number that you specified for MaxResults in the request, the response includes a NextToken value. To list more PolicySummary objects, submit another ListPolicies request, and specify the NextToken value from the response in the NextToken value in the next request.
  1456. */
  1457. NextToken?: PaginationToken;
  1458. }
  1459. export interface ListProtocolsListsRequest {
  1460. /**
  1461. * Specifies whether the lists to retrieve are default lists owned by Firewall Manager.
  1462. */
  1463. DefaultLists?: Boolean;
  1464. /**
  1465. * If you specify a value for MaxResults in your list request, and you have more objects than the maximum, Firewall Manager returns this token in the response. For all but the first request, you provide the token returned by the prior request in the request parameters, to retrieve the next batch of objects.
  1466. */
  1467. NextToken?: PaginationToken;
  1468. /**
  1469. * The maximum number of objects that you want Firewall Manager to return for this request. If more objects are available, in the response, Firewall Manager provides a NextToken value that you can use in a subsequent call to get the next batch of objects. If you don't specify this, Firewall Manager returns all available objects.
  1470. */
  1471. MaxResults: PaginationMaxResults;
  1472. }
  1473. export interface ListProtocolsListsResponse {
  1474. /**
  1475. * An array of ProtocolsListDataSummary objects.
  1476. */
  1477. ProtocolsLists?: ProtocolsListsData;
  1478. /**
  1479. * If you specify a value for MaxResults in your list request, and you have more objects than the maximum, Firewall Manager returns this token in the response. You can use this token in subsequent requests to retrieve the next batch of objects.
  1480. */
  1481. NextToken?: PaginationToken;
  1482. }
  1483. export interface ListResourceSetResourcesRequest {
  1484. /**
  1485. * A unique identifier for the resource set, used in a request to refer to the resource set.
  1486. */
  1487. Identifier: ResourceId;
  1488. /**
  1489. * The maximum number of objects that you want Firewall Manager to return for this request. If more objects are available, in the response, Firewall Manager provides a NextToken value that you can use in a subsequent call to get the next batch of objects.
  1490. */
  1491. MaxResults?: PaginationMaxResults;
  1492. /**
  1493. * When you request a list of objects with a MaxResults setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Firewall Manager returns a NextToken value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.
  1494. */
  1495. NextToken?: PaginationToken;
  1496. }
  1497. export interface ListResourceSetResourcesResponse {
  1498. /**
  1499. * An array of the associated resources' uniform resource identifiers (URI).
  1500. */
  1501. Items: ResourceList;
  1502. /**
  1503. * When you request a list of objects with a MaxResults setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Firewall Manager returns a NextToken value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.
  1504. */
  1505. NextToken?: PaginationToken;
  1506. }
  1507. export interface ListResourceSetsRequest {
  1508. /**
  1509. * When you request a list of objects with a MaxResults setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Firewall Manager returns a NextToken value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.
  1510. */
  1511. NextToken?: PaginationToken;
  1512. /**
  1513. * The maximum number of objects that you want Firewall Manager to return for this request. If more objects are available, in the response, Firewall Manager provides a NextToken value that you can use in a subsequent call to get the next batch of objects.
  1514. */
  1515. MaxResults?: PaginationMaxResults;
  1516. }
  1517. export interface ListResourceSetsResponse {
  1518. /**
  1519. * An array of ResourceSetSummary objects.
  1520. */
  1521. ResourceSets?: ResourceSetSummaryList;
  1522. /**
  1523. * When you request a list of objects with a MaxResults setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Firewall Manager returns a NextToken value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.
  1524. */
  1525. NextToken?: PaginationToken;
  1526. }
  1527. export interface ListTagsForResourceRequest {
  1528. /**
  1529. * The Amazon Resource Name (ARN) of the resource to return tags for. The Firewall Manager resources that support tagging are policies, applications lists, and protocols lists.
  1530. */
  1531. ResourceArn: ResourceArn;
  1532. }
  1533. export interface ListTagsForResourceResponse {
  1534. /**
  1535. * The tags associated with the resource.
  1536. */
  1537. TagList?: TagList;
  1538. }
  1539. export interface ListThirdPartyFirewallFirewallPoliciesRequest {
  1540. /**
  1541. * The name of the third-party firewall vendor.
  1542. */
  1543. ThirdPartyFirewall: ThirdPartyFirewall;
  1544. /**
  1545. * If the previous response included a NextToken element, the specified third-party firewall vendor is associated with more third-party firewall policies. To get more third-party firewall policies, submit another ListThirdPartyFirewallFirewallPoliciesRequest request. For the value of NextToken, specify the value of NextToken from the previous response. If the previous response didn't include a NextToken element, there are no more third-party firewall policies to get.
  1546. */
  1547. NextToken?: PaginationToken;
  1548. /**
  1549. * The maximum number of third-party firewall policies that you want Firewall Manager to return. If the specified third-party firewall vendor is associated with more than MaxResults firewall policies, the response includes a NextToken element. NextToken contains an encrypted token that identifies the first third-party firewall policies that Firewall Manager will return if you submit another request.
  1550. */
  1551. MaxResults: PaginationMaxResults;
  1552. }
  1553. export interface ListThirdPartyFirewallFirewallPoliciesResponse {
  1554. /**
  1555. * A list that contains one ThirdPartyFirewallFirewallPolicies element for each third-party firewall policies that the specified third-party firewall vendor is associated with. Each ThirdPartyFirewallFirewallPolicies element contains the firewall policy name and ID.
  1556. */
  1557. ThirdPartyFirewallFirewallPolicies?: ThirdPartyFirewallFirewallPolicies;
  1558. /**
  1559. * The value that you will use for NextToken in the next ListThirdPartyFirewallFirewallPolicies request.
  1560. */
  1561. NextToken?: PaginationToken;
  1562. }
  1563. export type ManagedServiceData = string;
  1564. export type MarketplaceSubscriptionOnboardingStatus = "NO_SUBSCRIPTION"|"NOT_COMPLETE"|"COMPLETE"|string;
  1565. export type MemberAccounts = AWSAccountId[];
  1566. export type Name = string;
  1567. export interface NetworkAclCommonPolicy {
  1568. /**
  1569. * The definition of the first and last rules for the network ACL policy.
  1570. */
  1571. NetworkAclEntrySet: NetworkAclEntrySet;
  1572. }
  1573. export type NetworkAclEntries = NetworkAclEntry[];
  1574. export interface NetworkAclEntry {
  1575. /**
  1576. * ICMP protocol: The ICMP type and code.
  1577. */
  1578. IcmpTypeCode?: NetworkAclIcmpTypeCode;
  1579. /**
  1580. * The protocol number. A value of "-1" means all protocols.
  1581. */
  1582. Protocol: LengthBoundedString;
  1583. /**
  1584. * TCP or UDP protocols: The range of ports the rule applies to.
  1585. */
  1586. PortRange?: NetworkAclPortRange;
  1587. /**
  1588. * The IPv4 network range to allow or deny, in CIDR notation.
  1589. */
  1590. CidrBlock?: LengthBoundedNonEmptyString;
  1591. /**
  1592. * The IPv6 network range to allow or deny, in CIDR notation.
  1593. */
  1594. Ipv6CidrBlock?: LengthBoundedNonEmptyString;
  1595. /**
  1596. * Indicates whether to allow or deny the traffic that matches the rule.
  1597. */
  1598. RuleAction: NetworkAclRuleAction;
  1599. /**
  1600. * Indicates whether the rule is an egress, or outbound, rule (applied to traffic leaving the subnet). If it's not an egress rule, then it's an ingress, or inbound, rule.
  1601. */
  1602. Egress: BooleanObject;
  1603. }
  1604. export interface NetworkAclEntrySet {
  1605. /**
  1606. * The rules that you want to run first in the Firewall Manager managed network ACLs. Provide these in the order in which you want them to run. Firewall Manager will assign the specific rule numbers for you, in the network ACLs that it creates. You must specify at least one first entry or one last entry in any network ACL policy.
  1607. */
  1608. FirstEntries?: NetworkAclEntries;
  1609. /**
  1610. * Applies only when remediation is enabled for the policy as a whole. Firewall Manager uses this setting when it finds policy violations that involve conflicts between the custom entries and the policy entries. If forced remediation is disabled, Firewall Manager marks the network ACL as noncompliant and does not try to remediate. For more information about the remediation behavior, see Remediation for managed network ACLs in the Firewall Manager Developer Guide.
  1611. */
  1612. ForceRemediateForFirstEntries: BooleanObject;
  1613. /**
  1614. * The rules that you want to run last in the Firewall Manager managed network ACLs. Provide these in the order in which you want them to run. Firewall Manager will assign the specific rule numbers for you, in the network ACLs that it creates. You must specify at least one first entry or one last entry in any network ACL policy.
  1615. */
  1616. LastEntries?: NetworkAclEntries;
  1617. /**
  1618. * Applies only when remediation is enabled for the policy as a whole. Firewall Manager uses this setting when it finds policy violations that involve conflicts between the custom entries and the policy entries. If forced remediation is disabled, Firewall Manager marks the network ACL as noncompliant and does not try to remediate. For more information about the remediation behavior, see Remediation for managed network ACLs in the Firewall Manager Developer Guide.
  1619. */
  1620. ForceRemediateForLastEntries: BooleanObject;
  1621. }
  1622. export interface NetworkAclIcmpTypeCode {
  1623. /**
  1624. * ICMP code.
  1625. */
  1626. Code?: IntegerObject;
  1627. /**
  1628. * ICMP type.
  1629. */
  1630. Type?: IntegerObject;
  1631. }
  1632. export interface NetworkAclPortRange {
  1633. /**
  1634. * The beginning port number of the range.
  1635. */
  1636. From?: IPPortNumberInteger;
  1637. /**
  1638. * The ending port number of the range.
  1639. */
  1640. To?: IPPortNumberInteger;
  1641. }
  1642. export type NetworkAclRuleAction = "allow"|"deny"|string;
  1643. export type NetworkFirewallAction = string;
  1644. export type NetworkFirewallActionList = NetworkFirewallAction[];
  1645. export interface NetworkFirewallBlackHoleRouteDetectedViolation {
  1646. /**
  1647. * The subnet that has an inactive state.
  1648. */
  1649. ViolationTarget?: ViolationTarget;
  1650. /**
  1651. * Information about the route table ID.
  1652. */
  1653. RouteTableId?: ResourceId;
  1654. /**
  1655. * Information about the VPC ID.
  1656. */
  1657. VpcId?: ResourceId;
  1658. /**
  1659. * Information about the route or routes that are in violation.
  1660. */
  1661. ViolatingRoutes?: Routes;
  1662. }
  1663. export interface NetworkFirewallInternetTrafficNotInspectedViolation {
  1664. /**
  1665. * The subnet ID.
  1666. */
  1667. SubnetId?: ResourceId;
  1668. /**
  1669. * The subnet Availability Zone.
  1670. */
  1671. SubnetAvailabilityZone?: LengthBoundedString;
  1672. /**
  1673. * Information about the route table ID.
  1674. */
  1675. RouteTableId?: ResourceId;
  1676. /**
  1677. * The route or routes that are in violation.
  1678. */
  1679. ViolatingRoutes?: Routes;
  1680. /**
  1681. * Information about whether the route table is used in another Availability Zone.
  1682. */
  1683. IsRouteTableUsedInDifferentAZ?: Boolean;
  1684. /**
  1685. * Information about the subnet route table for the current firewall.
  1686. */
  1687. CurrentFirewallSubnetRouteTable?: ResourceId;
  1688. /**
  1689. * The expected endpoint for the current firewall.
  1690. */
  1691. ExpectedFirewallEndpoint?: ResourceId;
  1692. /**
  1693. * The firewall subnet ID.
  1694. */
  1695. FirewallSubnetId?: ResourceId;
  1696. /**
  1697. * The firewall subnet routes that are expected.
  1698. */
  1699. ExpectedFirewallSubnetRoutes?: ExpectedRoutes;
  1700. /**
  1701. * The actual firewall subnet routes.
  1702. */
  1703. ActualFirewallSubnetRoutes?: Routes;
  1704. /**
  1705. * The internet gateway ID.
  1706. */
  1707. InternetGatewayId?: ResourceId;
  1708. /**
  1709. * The current route table for the internet gateway.
  1710. */
  1711. CurrentInternetGatewayRouteTable?: ResourceId;
  1712. /**
  1713. * The internet gateway routes that are expected.
  1714. */
  1715. ExpectedInternetGatewayRoutes?: ExpectedRoutes;
  1716. /**
  1717. * The actual internet gateway routes.
  1718. */
  1719. ActualInternetGatewayRoutes?: Routes;
  1720. /**
  1721. * Information about the VPC ID.
  1722. */
  1723. VpcId?: ResourceId;
  1724. }
  1725. export interface NetworkFirewallInvalidRouteConfigurationViolation {
  1726. /**
  1727. * The subnets that are affected.
  1728. */
  1729. AffectedSubnets?: ResourceIdList;
  1730. /**
  1731. * The route table ID.
  1732. */
  1733. RouteTableId?: ResourceId;
  1734. /**
  1735. * Information about whether the route table is used in another Availability Zone.
  1736. */
  1737. IsRouteTableUsedInDifferentAZ?: Boolean;
  1738. /**
  1739. * The route that's in violation.
  1740. */
  1741. ViolatingRoute?: Route;
  1742. /**
  1743. * The subnet route table for the current firewall.
  1744. */
  1745. CurrentFirewallSubnetRouteTable?: ResourceId;
  1746. /**
  1747. * The firewall endpoint that's expected.
  1748. */
  1749. ExpectedFirewallEndpoint?: ResourceId;
  1750. /**
  1751. * The actual firewall endpoint.
  1752. */
  1753. ActualFirewallEndpoint?: ResourceId;
  1754. /**
  1755. * The expected subnet ID for the firewall.
  1756. */
  1757. ExpectedFirewallSubnetId?: ResourceId;
  1758. /**
  1759. * The actual subnet ID for the firewall.
  1760. */
  1761. ActualFirewallSubnetId?: ResourceId;
  1762. /**
  1763. * The firewall subnet routes that are expected.
  1764. */
  1765. ExpectedFirewallSubnetRoutes?: ExpectedRoutes;
  1766. /**
  1767. * The actual firewall subnet routes that are expected.
  1768. */
  1769. ActualFirewallSubnetRoutes?: Routes;
  1770. /**
  1771. * The internet gateway ID.
  1772. */
  1773. InternetGatewayId?: ResourceId;
  1774. /**
  1775. * The route table for the current internet gateway.
  1776. */
  1777. CurrentInternetGatewayRouteTable?: ResourceId;
  1778. /**
  1779. * The expected routes for the internet gateway.
  1780. */
  1781. ExpectedInternetGatewayRoutes?: ExpectedRoutes;
  1782. /**
  1783. * The actual internet gateway routes.
  1784. */
  1785. ActualInternetGatewayRoutes?: Routes;
  1786. /**
  1787. * Information about the VPC ID.
  1788. */
  1789. VpcId?: ResourceId;
  1790. }
  1791. export interface NetworkFirewallMissingExpectedRTViolation {
  1792. /**
  1793. * The ID of the Network Firewall or VPC resource that's in violation.
  1794. */
  1795. ViolationTarget?: ViolationTarget;
  1796. /**
  1797. * The resource ID of the VPC associated with a violating subnet.
  1798. */
  1799. VPC?: ResourceId;
  1800. /**
  1801. * The Availability Zone of a violating subnet.
  1802. */
  1803. AvailabilityZone?: LengthBoundedString;
  1804. /**
  1805. * The resource ID of the current route table that's associated with the subnet, if one is available.
  1806. */
  1807. CurrentRouteTable?: ResourceId;
  1808. /**
  1809. * The resource ID of the route table that should be associated with the subnet.
  1810. */
  1811. ExpectedRouteTable?: ResourceId;
  1812. }
  1813. export interface NetworkFirewallMissingExpectedRoutesViolation {
  1814. /**
  1815. * The target of the violation.
  1816. */
  1817. ViolationTarget?: ViolationTarget;
  1818. /**
  1819. * The expected routes.
  1820. */
  1821. ExpectedRoutes?: ExpectedRoutes;
  1822. /**
  1823. * Information about the VPC ID.
  1824. */
  1825. VpcId?: ResourceId;
  1826. }
  1827. export interface NetworkFirewallMissingFirewallViolation {
  1828. /**
  1829. * The ID of the Network Firewall or VPC resource that's in violation.
  1830. */
  1831. ViolationTarget?: ViolationTarget;
  1832. /**
  1833. * The resource ID of the VPC associated with a violating subnet.
  1834. */
  1835. VPC?: ResourceId;
  1836. /**
  1837. * The Availability Zone of a violating subnet.
  1838. */
  1839. AvailabilityZone?: LengthBoundedString;
  1840. /**
  1841. * The reason the resource has this violation, if one is available.
  1842. */
  1843. TargetViolationReason?: TargetViolationReason;
  1844. }
  1845. export interface NetworkFirewallMissingSubnetViolation {
  1846. /**
  1847. * The ID of the Network Firewall or VPC resource that's in violation.
  1848. */
  1849. ViolationTarget?: ViolationTarget;
  1850. /**
  1851. * The resource ID of the VPC associated with a violating subnet.
  1852. */
  1853. VPC?: ResourceId;
  1854. /**
  1855. * The Availability Zone of a violating subnet.
  1856. */
  1857. AvailabilityZone?: LengthBoundedString;
  1858. /**
  1859. * The reason the resource has this violation, if one is available.
  1860. */
  1861. TargetViolationReason?: TargetViolationReason;
  1862. }
  1863. export type NetworkFirewallOverrideAction = "DROP_TO_ALERT"|string;
  1864. export interface NetworkFirewallPolicy {
  1865. /**
  1866. * Defines the deployment model to use for the firewall policy. To use a distributed model, set PolicyOption to NULL.
  1867. */
  1868. FirewallDeploymentModel?: FirewallDeploymentModel;
  1869. }
  1870. export interface NetworkFirewallPolicyDescription {
  1871. /**
  1872. * The stateless rule groups that are used in the Network Firewall firewall policy.
  1873. */
  1874. StatelessRuleGroups?: StatelessRuleGroupList;
  1875. /**
  1876. * The actions to take on packets that don't match any of the stateless rule groups.
  1877. */
  1878. StatelessDefaultActions?: NetworkFirewallActionList;
  1879. /**
  1880. * The actions to take on packet fragments that don't match any of the stateless rule groups.
  1881. */
  1882. StatelessFragmentDefaultActions?: NetworkFirewallActionList;
  1883. /**
  1884. * Names of custom actions that are available for use in the stateless default actions settings.
  1885. */
  1886. StatelessCustomActions?: NetworkFirewallActionList;
  1887. /**
  1888. * The stateful rule groups that are used in the Network Firewall firewall policy.
  1889. */
  1890. StatefulRuleGroups?: StatefulRuleGroupList;
  1891. /**
  1892. * The default actions to take on a packet that doesn't match any stateful rules. The stateful default action is optional, and is only valid when using the strict rule order. Valid values of the stateful default action: aws:drop_strict aws:drop_established aws:alert_strict aws:alert_established
  1893. */
  1894. StatefulDefaultActions?: NetworkFirewallActionList;
  1895. /**
  1896. * Additional options governing how Network Firewall handles stateful rules. The stateful rule groups that you use in your policy must have stateful rule options settings that are compatible with these settings.
  1897. */
  1898. StatefulEngineOptions?: StatefulEngineOptions;
  1899. }
  1900. export interface NetworkFirewallPolicyModifiedViolation {
  1901. /**
  1902. * The ID of the Network Firewall or VPC resource that's in violation.
  1903. */
  1904. ViolationTarget?: ViolationTarget;
  1905. /**
  1906. * The policy that's currently in use in the individual account.
  1907. */
  1908. CurrentPolicyDescription?: NetworkFirewallPolicyDescription;
  1909. /**
  1910. * The policy that should be in use in the individual account in order to be compliant.
  1911. */
  1912. ExpectedPolicyDescription?: NetworkFirewallPolicyDescription;
  1913. }
  1914. export type NetworkFirewallResourceName = string;
  1915. export interface NetworkFirewallStatefulRuleGroupOverride {
  1916. /**
  1917. * The action that changes the rule group from DROP to ALERT. This only applies to managed rule groups.
  1918. */
  1919. Action?: NetworkFirewallOverrideAction;
  1920. }
  1921. export interface NetworkFirewallUnexpectedFirewallRoutesViolation {
  1922. /**
  1923. * The subnet ID for the firewall.
  1924. */
  1925. FirewallSubnetId?: ResourceId;
  1926. /**
  1927. * The routes that are in violation.
  1928. */
  1929. ViolatingRoutes?: Routes;
  1930. /**
  1931. * The ID of the route table.
  1932. */
  1933. RouteTableId?: ResourceId;
  1934. /**
  1935. * The endpoint of the firewall.
  1936. */
  1937. FirewallEndpoint?: ResourceId;
  1938. /**
  1939. * Information about the VPC ID.
  1940. */
  1941. VpcId?: ResourceId;
  1942. }
  1943. export interface NetworkFirewallUnexpectedGatewayRoutesViolation {
  1944. /**
  1945. * Information about the gateway ID.
  1946. */
  1947. GatewayId?: ResourceId;
  1948. /**
  1949. * The routes that are in violation.
  1950. */
  1951. ViolatingRoutes?: Routes;
  1952. /**
  1953. * Information about the route table.
  1954. */
  1955. RouteTableId?: ResourceId;
  1956. /**
  1957. * Information about the VPC ID.
  1958. */
  1959. VpcId?: ResourceId;
  1960. }
  1961. export type OrderedRemediationActions = RemediationActionWithOrder[];
  1962. export type OrganizationStatus = "ONBOARDING"|"ONBOARDING_COMPLETE"|"OFFBOARDING"|"OFFBOARDING_COMPLETE"|string;
  1963. export type OrganizationalUnitId = string;
  1964. export type OrganizationalUnitIdList = OrganizationalUnitId[];
  1965. export interface OrganizationalUnitScope {
  1966. /**
  1967. * The list of OUs within the organization that the specified Firewall Manager administrator either can or cannot apply policies to, based on the value of OrganizationalUnitScope$ExcludeSpecifiedOrganizationalUnits. If OrganizationalUnitScope$ExcludeSpecifiedOrganizationalUnits is set to true, then the Firewall Manager administrator can apply policies to all OUs in the organization except for the OUs in this list. If OrganizationalUnitScope$ExcludeSpecifiedOrganizationalUnits is set to false, then the Firewall Manager administrator can only apply policies to the OUs in this list.
  1968. */
  1969. OrganizationalUnits?: OrganizationalUnitIdList;
  1970. /**
  1971. * A boolean value that indicates if the administrator can apply policies to all OUs within an organization. If true, the administrator can manage all OUs within the organization. You can either enable management of all OUs through this operation, or you can specify OUs to manage in OrganizationalUnitScope$OrganizationalUnits. You cannot specify both.
  1972. */
  1973. AllOrganizationalUnitsEnabled?: Boolean;
  1974. /**
  1975. * A boolean value that excludes the OUs in OrganizationalUnitScope$OrganizationalUnits from the administrator's scope. If true, the Firewall Manager administrator can apply policies to all OUs in the organization except for the OUs listed in OrganizationalUnitScope$OrganizationalUnits. You can either specify a list of OUs to exclude by OrganizationalUnitScope$OrganizationalUnits, or you can enable management of all OUs by OrganizationalUnitScope$AllOrganizationalUnitsEnabled. You cannot specify both.
  1976. */
  1977. ExcludeSpecifiedOrganizationalUnits?: Boolean;
  1978. }
  1979. export type PaginationMaxResults = number;
  1980. export type PaginationToken = string;
  1981. export interface PartialMatch {
  1982. /**
  1983. * The reference rule from the primary security group of the Firewall Manager policy.
  1984. */
  1985. Reference?: ReferenceRule;
  1986. /**
  1987. * The violation reason.
  1988. */
  1989. TargetViolationReasons?: TargetViolationReasons;
  1990. }
  1991. export type PartialMatches = PartialMatch[];
  1992. export interface Policy {
  1993. /**
  1994. * The ID of the Firewall Manager policy.
  1995. */
  1996. PolicyId?: PolicyId;
  1997. /**
  1998. * The name of the Firewall Manager policy.
  1999. */
  2000. PolicyName: ResourceName;
  2001. /**
  2002. * A unique identifier for each update to the policy. When issuing a PutPolicy request, the PolicyUpdateToken in the request must match the PolicyUpdateToken of the current policy version. To get the PolicyUpdateToken of the current policy version, use a GetPolicy request.
  2003. */
  2004. PolicyUpdateToken?: PolicyUpdateToken;
  2005. /**
  2006. * Details about the security service that is being used to protect the resources.
  2007. */
  2008. SecurityServicePolicyData: SecurityServicePolicyData;
  2009. /**
  2010. * The type of resource protected by or in scope of the policy. This is in the format shown in the Amazon Web Services Resource Types Reference. To apply this policy to multiple resource types, specify a resource type of ResourceTypeList and then specify the resource types in a ResourceTypeList. The following are valid resource types for each Firewall Manager policy type: Amazon Web Services WAF Classic - AWS::ApiGateway::Stage, AWS::CloudFront::Distribution, and AWS::ElasticLoadBalancingV2::LoadBalancer. WAF - AWS::ApiGateway::Stage, AWS::ElasticLoadBalancingV2::LoadBalancer, and AWS::CloudFront::Distribution. Shield Advanced - AWS::ElasticLoadBalancingV2::LoadBalancer, AWS::ElasticLoadBalancing::LoadBalancer, AWS::EC2::EIP, and AWS::CloudFront::Distribution. Network ACL - AWS::EC2::Subnet. Security group usage audit - AWS::EC2::SecurityGroup. Security group content audit - AWS::EC2::SecurityGroup, AWS::EC2::NetworkInterface, and AWS::EC2::Instance. DNS Firewall, Network Firewall, and third-party firewall - AWS::EC2::VPC.
  2011. */
  2012. ResourceType: ResourceType;
  2013. /**
  2014. * An array of ResourceType objects. Use this only to specify multiple resource types. To specify a single resource type, use ResourceType.
  2015. */
  2016. ResourceTypeList?: ResourceTypeList;
  2017. /**
  2018. * An array of ResourceTag objects.
  2019. */
  2020. ResourceTags?: ResourceTags;
  2021. /**
  2022. * If set to True, resources with the tags that are specified in the ResourceTag array are not in scope of the policy. If set to False, and the ResourceTag array is not null, only resources with the specified tags are in scope of the policy.
  2023. */
  2024. ExcludeResourceTags: Boolean;
  2025. /**
  2026. * Indicates if the policy should be automatically applied to new resources.
  2027. */
  2028. RemediationEnabled: Boolean;
  2029. /**
  2030. * Indicates whether Firewall Manager should automatically remove protections from resources that leave the policy scope and clean up resources that Firewall Manager is managing for accounts when those accounts leave policy scope. For example, Firewall Manager will disassociate a Firewall Manager managed web ACL from a protected customer resource when the customer resource leaves policy scope. By default, Firewall Manager doesn't remove protections or delete Firewall Manager managed resources. This option is not available for Shield Advanced or WAF Classic policies.
  2031. */
  2032. DeleteUnusedFMManagedResources?: Boolean;
  2033. /**
  2034. * Specifies the Amazon Web Services account IDs and Organizations organizational units (OUs) to include in the policy. Specifying an OU is the equivalent of specifying all accounts in the OU and in any of its child OUs, including any child OUs and accounts that are added at a later time. You can specify inclusions or exclusions, but not both. If you specify an IncludeMap, Firewall Manager applies the policy to all accounts specified by the IncludeMap, and does not evaluate any ExcludeMap specifications. If you do not specify an IncludeMap, then Firewall Manager applies the policy to all accounts except for those specified by the ExcludeMap. You can specify account IDs, OUs, or a combination: Specify account IDs by setting the key to ACCOUNT. For example, the following is a valid map: {“ACCOUNT” : [“accountID1”, “accountID2”]}. Specify OUs by setting the key to ORG_UNIT. For example, the following is a valid map: {“ORG_UNIT” : [“ouid111”, “ouid112”]}. Specify accounts and OUs together in a single map, separated with a comma. For example, the following is a valid map: {“ACCOUNT” : [“accountID1”, “accountID2”], “ORG_UNIT” : [“ouid111”, “ouid112”]}.
  2035. */
  2036. IncludeMap?: CustomerPolicyScopeMap;
  2037. /**
  2038. * Specifies the Amazon Web Services account IDs and Organizations organizational units (OUs) to exclude from the policy. Specifying an OU is the equivalent of specifying all accounts in the OU and in any of its child OUs, including any child OUs and accounts that are added at a later time. You can specify inclusions or exclusions, but not both. If you specify an IncludeMap, Firewall Manager applies the policy to all accounts specified by the IncludeMap, and does not evaluate any ExcludeMap specifications. If you do not specify an IncludeMap, then Firewall Manager applies the policy to all accounts except for those specified by the ExcludeMap. You can specify account IDs, OUs, or a combination: Specify account IDs by setting the key to ACCOUNT. For example, the following is a valid map: {“ACCOUNT” : [“accountID1”, “accountID2”]}. Specify OUs by setting the key to ORG_UNIT. For example, the following is a valid map: {“ORG_UNIT” : [“ouid111”, “ouid112”]}. Specify accounts and OUs together in a single map, separated with a comma. For example, the following is a valid map: {“ACCOUNT” : [“accountID1”, “accountID2”], “ORG_UNIT” : [“ouid111”, “ouid112”]}.
  2039. */
  2040. ExcludeMap?: CustomerPolicyScopeMap;
  2041. /**
  2042. * The unique identifiers of the resource sets used by the policy.
  2043. */
  2044. ResourceSetIds?: ResourceSetIds;
  2045. /**
  2046. * Your description of the Firewall Manager policy.
  2047. */
  2048. PolicyDescription?: ResourceDescription;
  2049. /**
  2050. * Indicates whether the policy is in or out of an admin's policy or Region scope. ACTIVE - The administrator can manage and delete the policy. OUT_OF_ADMIN_SCOPE - The administrator can view the policy, but they can't edit or delete the policy. Existing policy protections stay in place. Any new resources that come into scope of the policy won't be protected.
  2051. */
  2052. PolicyStatus?: CustomerPolicyStatus;
  2053. }
  2054. export interface PolicyComplianceDetail {
  2055. /**
  2056. * The Amazon Web Services account that created the Firewall Manager policy.
  2057. */
  2058. PolicyOwner?: AWSAccountId;
  2059. /**
  2060. * The ID of the Firewall Manager policy.
  2061. */
  2062. PolicyId?: PolicyId;
  2063. /**
  2064. * The Amazon Web Services account ID.
  2065. */
  2066. MemberAccount?: AWSAccountId;
  2067. /**
  2068. * An array of resources that aren't protected by the WAF or Shield Advanced policy or that aren't in compliance with the security group policy.
  2069. */
  2070. Violators?: ComplianceViolators;
  2071. /**
  2072. * Indicates if over 100 resources are noncompliant with the Firewall Manager policy.
  2073. */
  2074. EvaluationLimitExceeded?: Boolean;
  2075. /**
  2076. * A timestamp that indicates when the returned information should be considered out of date.
  2077. */
  2078. ExpiredAt?: TimeStamp;
  2079. /**
  2080. * Details about problems with dependent services, such as WAF or Config, and the error message received that indicates the problem with the service.
  2081. */
  2082. IssueInfoMap?: IssueInfoMap;
  2083. }
  2084. export interface PolicyComplianceStatus {
  2085. /**
  2086. * The Amazon Web Services account that created the Firewall Manager policy.
  2087. */
  2088. PolicyOwner?: AWSAccountId;
  2089. /**
  2090. * The ID of the Firewall Manager policy.
  2091. */
  2092. PolicyId?: PolicyId;
  2093. /**
  2094. * The name of the Firewall Manager policy.
  2095. */
  2096. PolicyName?: ResourceName;
  2097. /**
  2098. * The member account ID.
  2099. */
  2100. MemberAccount?: AWSAccountId;
  2101. /**
  2102. * An array of EvaluationResult objects.
  2103. */
  2104. EvaluationResults?: EvaluationResults;
  2105. /**
  2106. * Timestamp of the last update to the EvaluationResult objects.
  2107. */
  2108. LastUpdated?: TimeStamp;
  2109. /**
  2110. * Details about problems with dependent services, such as WAF or Config, and the error message received that indicates the problem with the service.
  2111. */
  2112. IssueInfoMap?: IssueInfoMap;
  2113. }
  2114. export type PolicyComplianceStatusList = PolicyComplianceStatus[];
  2115. export type PolicyComplianceStatusType = "COMPLIANT"|"NON_COMPLIANT"|string;
  2116. export type PolicyId = string;
  2117. export interface PolicyOption {
  2118. /**
  2119. * Defines the deployment model to use for the firewall policy.
  2120. */
  2121. NetworkFirewallPolicy?: NetworkFirewallPolicy;
  2122. /**
  2123. * Defines the policy options for a third-party firewall policy.
  2124. */
  2125. ThirdPartyFirewallPolicy?: ThirdPartyFirewallPolicy;
  2126. /**
  2127. * Defines a Firewall Manager network ACL policy.
  2128. */
  2129. NetworkAclCommonPolicy?: NetworkAclCommonPolicy;
  2130. }
  2131. export interface PolicySummary {
  2132. /**
  2133. * The Amazon Resource Name (ARN) of the specified policy.
  2134. */
  2135. PolicyArn?: ResourceArn;
  2136. /**
  2137. * The ID of the specified policy.
  2138. */
  2139. PolicyId?: PolicyId;
  2140. /**
  2141. * The name of the specified policy.
  2142. */
  2143. PolicyName?: ResourceName;
  2144. /**
  2145. * The type of resource protected by or in scope of the policy. This is in the format shown in the Amazon Web Services Resource Types Reference.
  2146. */
  2147. ResourceType?: ResourceType;
  2148. /**
  2149. * The service that the policy is using to protect the resources. This specifies the type of policy that is created, either an WAF policy, a Shield Advanced policy, or a security group policy.
  2150. */
  2151. SecurityServiceType?: SecurityServiceType;
  2152. /**
  2153. * Indicates if the policy should be automatically applied to new resources.
  2154. */
  2155. RemediationEnabled?: Boolean;
  2156. /**
  2157. * Indicates whether Firewall Manager should automatically remove protections from resources that leave the policy scope and clean up resources that Firewall Manager is managing for accounts when those accounts leave policy scope. For example, Firewall Manager will disassociate a Firewall Manager managed web ACL from a protected customer resource when the customer resource leaves policy scope. By default, Firewall Manager doesn't remove protections or delete Firewall Manager managed resources. This option is not available for Shield Advanced or WAF Classic policies.
  2158. */
  2159. DeleteUnusedFMManagedResources?: Boolean;
  2160. /**
  2161. * Indicates whether the policy is in or out of an admin's policy or Region scope. ACTIVE - The administrator can manage and delete the policy. OUT_OF_ADMIN_SCOPE - The administrator can view the policy, but they can't edit or delete the policy. Existing policy protections stay in place. Any new resources that come into scope of the policy won't be protected.
  2162. */
  2163. PolicyStatus?: CustomerPolicyStatus;
  2164. }
  2165. export type PolicySummaryList = PolicySummary[];
  2166. export interface PolicyTypeScope {
  2167. /**
  2168. * The list of policy types that the specified Firewall Manager administrator can manage.
  2169. */
  2170. PolicyTypes?: SecurityServiceTypeList;
  2171. /**
  2172. * Allows the specified Firewall Manager administrator to manage all Firewall Manager policy types, except for third-party policy types. Third-party policy types can only be managed by the Firewall Manager default administrator.
  2173. */
  2174. AllPolicyTypesEnabled?: Boolean;
  2175. }
  2176. export type PolicyUpdateToken = string;
  2177. export interface PossibleRemediationAction {
  2178. /**
  2179. * A description of the list of remediation actions.
  2180. */
  2181. Description?: LengthBoundedString;
  2182. /**
  2183. * The ordered list of remediation actions.
  2184. */
  2185. OrderedRemediationActions: OrderedRemediationActions;
  2186. /**
  2187. * Information about whether an action is taken by default.
  2188. */
  2189. IsDefaultAction?: Boolean;
  2190. }
  2191. export type PossibleRemediationActionList = PossibleRemediationAction[];
  2192. export interface PossibleRemediationActions {
  2193. /**
  2194. * A description of the possible remediation actions list.
  2195. */
  2196. Description?: LengthBoundedString;
  2197. /**
  2198. * Information about the actions.
  2199. */
  2200. Actions?: PossibleRemediationActionList;
  2201. }
  2202. export type PreviousAppsList = {[key: string]: AppsList};
  2203. export type PreviousListVersion = string;
  2204. export type PreviousProtocolsList = {[key: string]: ProtocolsList};
  2205. export type PriorityNumber = number;
  2206. export type ProtectionData = string;
  2207. export type Protocol = string;
  2208. export type ProtocolsList = Protocol[];
  2209. export interface ProtocolsListData {
  2210. /**
  2211. * The ID of the Firewall Manager protocols list.
  2212. */
  2213. ListId?: ListId;
  2214. /**
  2215. * The name of the Firewall Manager protocols list.
  2216. */
  2217. ListName: ResourceName;
  2218. /**
  2219. * A unique identifier for each update to the list. When you update the list, the update token must match the token of the current version of the application list. You can retrieve the update token by getting the list.
  2220. */
  2221. ListUpdateToken?: UpdateToken;
  2222. /**
  2223. * The time that the Firewall Manager protocols list was created.
  2224. */
  2225. CreateTime?: TimeStamp;
  2226. /**
  2227. * The time that the Firewall Manager protocols list was last updated.
  2228. */
  2229. LastUpdateTime?: TimeStamp;
  2230. /**
  2231. * An array of protocols in the Firewall Manager protocols list.
  2232. */
  2233. ProtocolsList: ProtocolsList;
  2234. /**
  2235. * A map of previous version numbers to their corresponding protocol arrays.
  2236. */
  2237. PreviousProtocolsList?: PreviousProtocolsList;
  2238. }
  2239. export interface ProtocolsListDataSummary {
  2240. /**
  2241. * The Amazon Resource Name (ARN) of the specified protocols list.
  2242. */
  2243. ListArn?: ResourceArn;
  2244. /**
  2245. * The ID of the specified protocols list.
  2246. */
  2247. ListId?: ListId;
  2248. /**
  2249. * The name of the specified protocols list.
  2250. */
  2251. ListName?: ResourceName;
  2252. /**
  2253. * An array of protocols in the Firewall Manager protocols list.
  2254. */
  2255. ProtocolsList?: ProtocolsList;
  2256. }
  2257. export type ProtocolsListsData = ProtocolsListDataSummary[];
  2258. export interface PutAdminAccountRequest {
  2259. /**
  2260. * The Amazon Web Services account ID to add as an Firewall Manager administrator account. The account must be a member of the organization that was onboarded to Firewall Manager by AssociateAdminAccount. For more information about Organizations, see Managing the Amazon Web Services Accounts in Your Organization.
  2261. */
  2262. AdminAccount: AWSAccountId;
  2263. /**
  2264. * Configures the resources that the specified Firewall Manager administrator can manage. As a best practice, set the administrative scope according to the principles of least privilege. Only grant the administrator the specific resources or permissions that they need to perform the duties of their role.
  2265. */
  2266. AdminScope?: AdminScope;
  2267. }
  2268. export interface PutAppsListRequest {
  2269. /**
  2270. * The details of the Firewall Manager applications list to be created.
  2271. */
  2272. AppsList: AppsListData;
  2273. /**
  2274. * The tags associated with the resource.
  2275. */
  2276. TagList?: TagList;
  2277. }
  2278. export interface PutAppsListResponse {
  2279. /**
  2280. * The details of the Firewall Manager applications list.
  2281. */
  2282. AppsList?: AppsListData;
  2283. /**
  2284. * The Amazon Resource Name (ARN) of the applications list.
  2285. */
  2286. AppsListArn?: ResourceArn;
  2287. }
  2288. export interface PutNotificationChannelRequest {
  2289. /**
  2290. * The Amazon Resource Name (ARN) of the SNS topic that collects notifications from Firewall Manager.
  2291. */
  2292. SnsTopicArn: ResourceArn;
  2293. /**
  2294. * The Amazon Resource Name (ARN) of the IAM role that allows Amazon SNS to record Firewall Manager activity.
  2295. */
  2296. SnsRoleName: ResourceArn;
  2297. }
  2298. export interface PutPolicyRequest {
  2299. /**
  2300. * The details of the Firewall Manager policy to be created.
  2301. */
  2302. Policy: Policy;
  2303. /**
  2304. * The tags to add to the Amazon Web Services resource.
  2305. */
  2306. TagList?: TagList;
  2307. }
  2308. export interface PutPolicyResponse {
  2309. /**
  2310. * The details of the Firewall Manager policy.
  2311. */
  2312. Policy?: Policy;
  2313. /**
  2314. * The Amazon Resource Name (ARN) of the policy.
  2315. */
  2316. PolicyArn?: ResourceArn;
  2317. }
  2318. export interface PutProtocolsListRequest {
  2319. /**
  2320. * The details of the Firewall Manager protocols list to be created.
  2321. */
  2322. ProtocolsList: ProtocolsListData;
  2323. /**
  2324. * The tags associated with the resource.
  2325. */
  2326. TagList?: TagList;
  2327. }
  2328. export interface PutProtocolsListResponse {
  2329. /**
  2330. * The details of the Firewall Manager protocols list.
  2331. */
  2332. ProtocolsList?: ProtocolsListData;
  2333. /**
  2334. * The Amazon Resource Name (ARN) of the protocols list.
  2335. */
  2336. ProtocolsListArn?: ResourceArn;
  2337. }
  2338. export interface PutResourceSetRequest {
  2339. /**
  2340. * Details about the resource set to be created or updated.&gt;
  2341. */
  2342. ResourceSet: ResourceSet;
  2343. /**
  2344. * Retrieves the tags associated with the specified resource set. Tags are key:value pairs that you can use to categorize and manage your resources, for purposes like billing. For example, you might set the tag key to "customer" and the value to the customer name or ID. You can specify one or more tags to add to each Amazon Web Services resource, up to 50 tags for a resource.
  2345. */
  2346. TagList?: TagList;
  2347. }
  2348. export interface PutResourceSetResponse {
  2349. /**
  2350. * Details about the resource set.
  2351. */
  2352. ResourceSet: ResourceSet;
  2353. /**
  2354. * The Amazon Resource Name (ARN) of the resource set.
  2355. */
  2356. ResourceSetArn: ResourceArn;
  2357. }
  2358. export type ReferenceRule = string;
  2359. export interface RegionScope {
  2360. /**
  2361. * The Amazon Web Services Regions that the specified Firewall Manager administrator can perform actions in.
  2362. */
  2363. Regions?: AWSRegionList;
  2364. /**
  2365. * Allows the specified Firewall Manager administrator to manage all Amazon Web Services Regions.
  2366. */
  2367. AllRegionsEnabled?: Boolean;
  2368. }
  2369. export interface RemediationAction {
  2370. /**
  2371. * A description of a remediation action.
  2372. */
  2373. Description?: LengthBoundedString;
  2374. /**
  2375. * Information about the CreateRoute action in the Amazon EC2 API.
  2376. */
  2377. EC2CreateRouteAction?: EC2CreateRouteAction;
  2378. /**
  2379. * Information about the ReplaceRoute action in the Amazon EC2 API.
  2380. */
  2381. EC2ReplaceRouteAction?: EC2ReplaceRouteAction;
  2382. /**
  2383. * Information about the DeleteRoute action in the Amazon EC2 API.
  2384. */
  2385. EC2DeleteRouteAction?: EC2DeleteRouteAction;
  2386. /**
  2387. * Information about the CopyRouteTable action in the Amazon EC2 API.
  2388. */
  2389. EC2CopyRouteTableAction?: EC2CopyRouteTableAction;
  2390. /**
  2391. * Information about the ReplaceRouteTableAssociation action in the Amazon EC2 API.
  2392. */
  2393. EC2ReplaceRouteTableAssociationAction?: EC2ReplaceRouteTableAssociationAction;
  2394. /**
  2395. * Information about the AssociateRouteTable action in the Amazon EC2 API.
  2396. */
  2397. EC2AssociateRouteTableAction?: EC2AssociateRouteTableAction;
  2398. /**
  2399. * Information about the CreateRouteTable action in the Amazon EC2 API.
  2400. */
  2401. EC2CreateRouteTableAction?: EC2CreateRouteTableAction;
  2402. /**
  2403. * The remedial action to take when updating a firewall configuration.
  2404. */
  2405. FMSPolicyUpdateFirewallCreationConfigAction?: FMSPolicyUpdateFirewallCreationConfigAction;
  2406. /**
  2407. * Information about the CreateNetworkAcl action in Amazon EC2.
  2408. */
  2409. CreateNetworkAclAction?: CreateNetworkAclAction;
  2410. /**
  2411. * Information about the ReplaceNetworkAclAssociation action in Amazon EC2.
  2412. */
  2413. ReplaceNetworkAclAssociationAction?: ReplaceNetworkAclAssociationAction;
  2414. /**
  2415. * Information about the CreateNetworkAclEntries action in Amazon EC2.
  2416. */
  2417. CreateNetworkAclEntriesAction?: CreateNetworkAclEntriesAction;
  2418. /**
  2419. * Information about the DeleteNetworkAclEntries action in Amazon EC2.
  2420. */
  2421. DeleteNetworkAclEntriesAction?: DeleteNetworkAclEntriesAction;
  2422. }
  2423. export type RemediationActionDescription = string;
  2424. export type RemediationActionType = "REMOVE"|"MODIFY"|string;
  2425. export interface RemediationActionWithOrder {
  2426. /**
  2427. * Information about an action you can take to remediate a violation.
  2428. */
  2429. RemediationAction?: RemediationAction;
  2430. /**
  2431. * The order of the remediation actions in the list.
  2432. */
  2433. Order?: BasicInteger;
  2434. }
  2435. export interface ReplaceNetworkAclAssociationAction {
  2436. /**
  2437. * Brief description of this remediation action.
  2438. */
  2439. Description?: LengthBoundedString;
  2440. AssociationId?: ActionTarget;
  2441. /**
  2442. * The network ACL that's associated with the remediation action.
  2443. */
  2444. NetworkAclId?: ActionTarget;
  2445. /**
  2446. * Indicates whether it is possible for Firewall Manager to perform this remediation action. A false value indicates that auto remediation is disabled or Firewall Manager is unable to perform the action due to a conflict of some kind.
  2447. */
  2448. FMSCanRemediate?: Boolean;
  2449. }
  2450. export interface Resource {
  2451. /**
  2452. * The resource's universal resource indicator (URI).
  2453. */
  2454. URI: Identifier;
  2455. /**
  2456. * The Amazon Web Services account ID that the associated resource belongs to.
  2457. */
  2458. AccountId?: AWSAccountId;
  2459. }
  2460. export type ResourceArn = string;
  2461. export type ResourceCount = number;
  2462. export type ResourceDescription = string;
  2463. export type ResourceId = string;
  2464. export type ResourceIdList = ResourceId[];
  2465. export type ResourceList = Resource[];
  2466. export type ResourceName = string;
  2467. export interface ResourceSet {
  2468. /**
  2469. * A unique identifier for the resource set. This ID is returned in the responses to create and list commands. You provide it to operations like update and delete.
  2470. */
  2471. Id?: Base62Id;
  2472. /**
  2473. * The descriptive name of the resource set. You can't change the name of a resource set after you create it.
  2474. */
  2475. Name: Name;
  2476. /**
  2477. * A description of the resource set.
  2478. */
  2479. Description?: Description;
  2480. /**
  2481. * An optional token that you can use for optimistic locking. Firewall Manager returns a token to your requests that access the resource set. The token marks the state of the resource set resource at the time of the request. Update tokens are not allowed when creating a resource set. After creation, each subsequent update call to the resource set requires the update token. To make an unconditional change to the resource set, omit the token in your update request. Without the token, Firewall Manager performs your updates regardless of whether the resource set has changed since you last retrieved it. To make a conditional change to the resource set, provide the token in your update request. Firewall Manager uses the token to ensure that the resource set hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the resource set again to get a current copy of it with a new token. Reapply your changes as needed, then try the operation again using the new token.
  2482. */
  2483. UpdateToken?: UpdateToken;
  2484. /**
  2485. * Determines the resources that can be associated to the resource set. Depending on your setting for max results and the number of resource sets, a single call might not return the full list.
  2486. */
  2487. ResourceTypeList: ResourceTypeList;
  2488. /**
  2489. * The last time that the resource set was changed.
  2490. */
  2491. LastUpdateTime?: TimeStamp;
  2492. /**
  2493. * Indicates whether the resource set is in or out of an admin's Region scope. ACTIVE - The administrator can manage and delete the resource set. OUT_OF_ADMIN_SCOPE - The administrator can view the resource set, but they can't edit or delete the resource set. Existing protections stay in place. Any new resource that come into scope of the resource set won't be protected.
  2494. */
  2495. ResourceSetStatus?: ResourceSetStatus;
  2496. }
  2497. export type ResourceSetIds = Base62Id[];
  2498. export type ResourceSetStatus = "ACTIVE"|"OUT_OF_ADMIN_SCOPE"|string;
  2499. export interface ResourceSetSummary {
  2500. /**
  2501. * A unique identifier for the resource set. This ID is returned in the responses to create and list commands. You provide it to operations like update and delete.
  2502. */
  2503. Id?: Base62Id;
  2504. /**
  2505. * The descriptive name of the resource set. You can't change the name of a resource set after you create it.
  2506. */
  2507. Name?: Name;
  2508. /**
  2509. * A description of the resource set.
  2510. */
  2511. Description?: Description;
  2512. /**
  2513. * The last time that the resource set was changed.
  2514. */
  2515. LastUpdateTime?: TimeStamp;
  2516. /**
  2517. * Indicates whether the resource set is in or out of an admin's Region scope. ACTIVE - The administrator can manage and delete the resource set. OUT_OF_ADMIN_SCOPE - The administrator can view the resource set, but they can't edit or delete the resource set. Existing protections stay in place. Any new resource that come into scope of the resource set won't be protected.
  2518. */
  2519. ResourceSetStatus?: ResourceSetStatus;
  2520. }
  2521. export type ResourceSetSummaryList = ResourceSetSummary[];
  2522. export interface ResourceTag {
  2523. /**
  2524. * The resource tag key.
  2525. */
  2526. Key: ResourceTagKey;
  2527. /**
  2528. * The resource tag value. To specify an empty string value, either don't provide this or specify it as "".
  2529. */
  2530. Value?: ResourceTagValue;
  2531. }
  2532. export type ResourceTagKey = string;
  2533. export type ResourceTagValue = string;
  2534. export type ResourceTags = ResourceTag[];
  2535. export type ResourceType = string;
  2536. export type ResourceTypeList = ResourceType[];
  2537. export interface ResourceViolation {
  2538. /**
  2539. * Violation detail for security groups.
  2540. */
  2541. AwsVPCSecurityGroupViolation?: AwsVPCSecurityGroupViolation;
  2542. /**
  2543. * Violation detail for a network interface.
  2544. */
  2545. AwsEc2NetworkInterfaceViolation?: AwsEc2NetworkInterfaceViolation;
  2546. /**
  2547. * Violation detail for an EC2 instance.
  2548. */
  2549. AwsEc2InstanceViolation?: AwsEc2InstanceViolation;
  2550. /**
  2551. * Violation detail for an Network Firewall policy that indicates that a subnet has no Firewall Manager managed firewall in its VPC.
  2552. */
  2553. NetworkFirewallMissingFirewallViolation?: NetworkFirewallMissingFirewallViolation;
  2554. /**
  2555. * Violation detail for an Network Firewall policy that indicates that an Availability Zone is missing the expected Firewall Manager managed subnet.
  2556. */
  2557. NetworkFirewallMissingSubnetViolation?: NetworkFirewallMissingSubnetViolation;
  2558. /**
  2559. * Violation detail for an Network Firewall policy that indicates that a subnet is not associated with the expected Firewall Manager managed route table.
  2560. */
  2561. NetworkFirewallMissingExpectedRTViolation?: NetworkFirewallMissingExpectedRTViolation;
  2562. /**
  2563. * Violation detail for an Network Firewall policy that indicates that a firewall policy in an individual account has been modified in a way that makes it noncompliant. For example, the individual account owner might have deleted a rule group, changed the priority of a stateless rule group, or changed a policy default action.
  2564. */
  2565. NetworkFirewallPolicyModifiedViolation?: NetworkFirewallPolicyModifiedViolation;
  2566. /**
  2567. * Violation detail for the subnet for which internet traffic hasn't been inspected.
  2568. */
  2569. NetworkFirewallInternetTrafficNotInspectedViolation?: NetworkFirewallInternetTrafficNotInspectedViolation;
  2570. /**
  2571. * The route configuration is invalid.
  2572. */
  2573. NetworkFirewallInvalidRouteConfigurationViolation?: NetworkFirewallInvalidRouteConfigurationViolation;
  2574. NetworkFirewallBlackHoleRouteDetectedViolation?: NetworkFirewallBlackHoleRouteDetectedViolation;
  2575. /**
  2576. * There's an unexpected firewall route.
  2577. */
  2578. NetworkFirewallUnexpectedFirewallRoutesViolation?: NetworkFirewallUnexpectedFirewallRoutesViolation;
  2579. /**
  2580. * There's an unexpected gateway route.
  2581. */
  2582. NetworkFirewallUnexpectedGatewayRoutesViolation?: NetworkFirewallUnexpectedGatewayRoutesViolation;
  2583. /**
  2584. * Expected routes are missing from Network Firewall.
  2585. */
  2586. NetworkFirewallMissingExpectedRoutesViolation?: NetworkFirewallMissingExpectedRoutesViolation;
  2587. /**
  2588. * Violation detail for a DNS Firewall policy that indicates that a rule group that Firewall Manager tried to associate with a VPC has the same priority as a rule group that's already associated.
  2589. */
  2590. DnsRuleGroupPriorityConflictViolation?: DnsRuleGroupPriorityConflictViolation;
  2591. /**
  2592. * Violation detail for a DNS Firewall policy that indicates that a rule group that Firewall Manager tried to associate with a VPC is already associated with the VPC and can't be associated again.
  2593. */
  2594. DnsDuplicateRuleGroupViolation?: DnsDuplicateRuleGroupViolation;
  2595. /**
  2596. * Violation detail for a DNS Firewall policy that indicates that the VPC reached the limit for associated DNS Firewall rule groups. Firewall Manager tried to associate another rule group with the VPC and failed.
  2597. */
  2598. DnsRuleGroupLimitExceededViolation?: DnsRuleGroupLimitExceededViolation;
  2599. /**
  2600. * Contains details about the firewall subnet that violates the policy scope.
  2601. */
  2602. FirewallSubnetIsOutOfScopeViolation?: FirewallSubnetIsOutOfScopeViolation;
  2603. /**
  2604. * Contains details about the route endpoint that violates the policy scope.
  2605. */
  2606. RouteHasOutOfScopeEndpointViolation?: RouteHasOutOfScopeEndpointViolation;
  2607. /**
  2608. * The violation details for a third-party firewall that's been deleted.
  2609. */
  2610. ThirdPartyFirewallMissingFirewallViolation?: ThirdPartyFirewallMissingFirewallViolation;
  2611. /**
  2612. * The violation details for a third-party firewall's subnet that's been deleted.
  2613. */
  2614. ThirdPartyFirewallMissingSubnetViolation?: ThirdPartyFirewallMissingSubnetViolation;
  2615. /**
  2616. * The violation details for a third-party firewall that has the Firewall Manager managed route table that was associated with the third-party firewall has been deleted.
  2617. */
  2618. ThirdPartyFirewallMissingExpectedRouteTableViolation?: ThirdPartyFirewallMissingExpectedRouteTableViolation;
  2619. /**
  2620. * The violation details for a third-party firewall's VPC endpoint subnet that was deleted.
  2621. */
  2622. FirewallSubnetMissingVPCEndpointViolation?: FirewallSubnetMissingVPCEndpointViolation;
  2623. /**
  2624. * Violation detail for the entries in a network ACL resource.
  2625. */
  2626. InvalidNetworkAclEntriesViolation?: InvalidNetworkAclEntriesViolation;
  2627. /**
  2628. * A list of possible remediation action lists. Each individual possible remediation action is a list of individual remediation actions.
  2629. */
  2630. PossibleRemediationActions?: PossibleRemediationActions;
  2631. }
  2632. export type ResourceViolations = ResourceViolation[];
  2633. export interface Route {
  2634. /**
  2635. * The type of destination for the route.
  2636. */
  2637. DestinationType?: DestinationType;
  2638. /**
  2639. * The type of target for the route.
  2640. */
  2641. TargetType?: TargetType;
  2642. /**
  2643. * The destination of the route.
  2644. */
  2645. Destination?: LengthBoundedString;
  2646. /**
  2647. * The route's target.
  2648. */
  2649. Target?: LengthBoundedString;
  2650. }
  2651. export interface RouteHasOutOfScopeEndpointViolation {
  2652. /**
  2653. * The ID of the subnet associated with the route that violates the policy scope.
  2654. */
  2655. SubnetId?: ResourceId;
  2656. /**
  2657. * The VPC ID of the route that violates the policy scope.
  2658. */
  2659. VpcId?: ResourceId;
  2660. /**
  2661. * The ID of the route table.
  2662. */
  2663. RouteTableId?: ResourceId;
  2664. /**
  2665. * The list of routes that violate the route table.
  2666. */
  2667. ViolatingRoutes?: Routes;
  2668. /**
  2669. * The subnet's Availability Zone.
  2670. */
  2671. SubnetAvailabilityZone?: LengthBoundedString;
  2672. /**
  2673. * The ID of the subnet's Availability Zone.
  2674. */
  2675. SubnetAvailabilityZoneId?: LengthBoundedString;
  2676. /**
  2677. * The route table associated with the current firewall subnet.
  2678. */
  2679. CurrentFirewallSubnetRouteTable?: ResourceId;
  2680. /**
  2681. * The ID of the firewall subnet.
  2682. */
  2683. FirewallSubnetId?: ResourceId;
  2684. /**
  2685. * The list of firewall subnet routes.
  2686. */
  2687. FirewallSubnetRoutes?: Routes;
  2688. /**
  2689. * The ID of the Internet Gateway.
  2690. */
  2691. InternetGatewayId?: ResourceId;
  2692. /**
  2693. * The current route table associated with the Internet Gateway.
  2694. */
  2695. CurrentInternetGatewayRouteTable?: ResourceId;
  2696. /**
  2697. * The routes in the route table associated with the Internet Gateway.
  2698. */
  2699. InternetGatewayRoutes?: Routes;
  2700. }
  2701. export type Routes = Route[];
  2702. export type RuleOrder = "STRICT_ORDER"|"DEFAULT_ACTION_ORDER"|string;
  2703. export interface SecurityGroupRemediationAction {
  2704. /**
  2705. * The remediation action that will be performed.
  2706. */
  2707. RemediationActionType?: RemediationActionType;
  2708. /**
  2709. * Brief description of the action that will be performed.
  2710. */
  2711. Description?: RemediationActionDescription;
  2712. /**
  2713. * The final state of the rule specified in the ViolationTarget after it is remediated.
  2714. */
  2715. RemediationResult?: SecurityGroupRuleDescription;
  2716. /**
  2717. * Indicates if the current action is the default action.
  2718. */
  2719. IsDefaultAction?: Boolean;
  2720. }
  2721. export type SecurityGroupRemediationActions = SecurityGroupRemediationAction[];
  2722. export interface SecurityGroupRuleDescription {
  2723. /**
  2724. * The IPv4 ranges for the security group rule.
  2725. */
  2726. IPV4Range?: CIDR;
  2727. /**
  2728. * The IPv6 ranges for the security group rule.
  2729. */
  2730. IPV6Range?: CIDR;
  2731. /**
  2732. * The ID of the prefix list for the security group rule.
  2733. */
  2734. PrefixListId?: ResourceId;
  2735. /**
  2736. * The IP protocol name (tcp, udp, icmp, icmpv6) or number.
  2737. */
  2738. Protocol?: LengthBoundedString;
  2739. /**
  2740. * The start of the port range for the TCP and UDP protocols, or an ICMP/ICMPv6 type number. A value of -1 indicates all ICMP/ICMPv6 types.
  2741. */
  2742. FromPort?: IPPortNumber;
  2743. /**
  2744. * The end of the port range for the TCP and UDP protocols, or an ICMP/ICMPv6 code. A value of -1 indicates all ICMP/ICMPv6 codes.
  2745. */
  2746. ToPort?: IPPortNumber;
  2747. }
  2748. export interface SecurityServicePolicyData {
  2749. /**
  2750. * The service that the policy is using to protect the resources. This specifies the type of policy that is created, either an WAF policy, a Shield Advanced policy, or a security group policy. For security group policies, Firewall Manager supports one security group for each common policy and for each content audit policy. This is an adjustable limit that you can increase by contacting Amazon Web Services Support.
  2751. */
  2752. Type: SecurityServiceType;
  2753. /**
  2754. * Details about the service that are specific to the service type, in JSON format. Example: DNS_FIREWALL "{\"type\":\"DNS_FIREWALL\",\"preProcessRuleGroups\":[{\"ruleGroupId\":\"rslvr-frg-1\",\"priority\":10}],\"postProcessRuleGroups\":[{\"ruleGroupId\":\"rslvr-frg-2\",\"priority\":9911}]}" Valid values for preProcessRuleGroups are between 1 and 99. Valid values for postProcessRuleGroups are between 9901 and 10000. Example: IMPORT_NETWORK_FIREWALL "{\"type\":\"IMPORT_NETWORK_FIREWALL\",\"awsNetworkFirewallConfig\":{\"networkFirewallStatelessRuleGroupReferences\":[{\"resourceARN\":\"arn:aws:network-firewall:us-west-2:000000000000:stateless-rulegroup\/rg1\",\"priority\":1}],\"networkFirewallStatelessDefaultActions\":[\"aws:drop\"],\"networkFirewallStatelessFragmentDefaultActions\":[\"aws:pass\"],\"networkFirewallStatelessCustomActions\":[],\"networkFirewallStatefulRuleGroupReferences\":[{\"resourceARN\":\"arn:aws:network-firewall:us-west-2:aws-managed:stateful-rulegroup\/ThreatSignaturesEmergingEventsStrictOrder\",\"priority\":8}],\"networkFirewallStatefulEngineOptions\":{\"ruleOrder\":\"STRICT_ORDER\"},\"networkFirewallStatefulDefaultActions\":[\"aws:drop_strict\"]}}" "{\"type\":\"DNS_FIREWALL\",\"preProcessRuleGroups\":[{\"ruleGroupId\":\"rslvr-frg-1\",\"priority\":10}],\"postProcessRuleGroups\":[{\"ruleGroupId\":\"rslvr-frg-2\",\"priority\":9911}]}" Valid values for preProcessRuleGroups are between 1 and 99. Valid values for postProcessRuleGroups are between 9901 and 10000. Example: NETWORK_FIREWALL - Centralized deployment model "{\"type\":\"NETWORK_FIREWALL\",\"awsNetworkFirewallConfig\":{\"networkFirewallStatelessRuleGroupReferences\":[{\"resourceARN\":\"arn:aws:network-firewall:us-east-1:123456789011:stateless-rulegroup/test\",\"priority\":1}],\"networkFirewallStatelessDefaultActions\":[\"aws:forward_to_sfe\",\"customActionName\"],\"networkFirewallStatelessFragmentDefaultActions\":[\"aws:forward_to_sfe\",\"customActionName\"],\"networkFirewallStatelessCustomActions\":[{\"actionName\":\"customActionName\",\"actionDefinition\":{\"publishMetricAction\":{\"dimensions\":[{\"value\":\"metricdimensionvalue\"}]}}}],\"networkFirewallStatefulRuleGroupReferences\":[{\"resourceARN\":\"arn:aws:network-firewall:us-east-1:123456789011:stateful-rulegroup/test\"}],\"networkFirewallLoggingConfiguration\":{\"logDestinationConfigs\":[{\"logDestinationType\":\"S3\",\"logType\":\"ALERT\",\"logDestination\":{\"bucketName\":\"s3-bucket-name\"}},{\"logDestinationType\":\"S3\",\"logType\":\"FLOW\",\"logDestination\":{\"bucketName\":\"s3-bucket-name\"}}],\"overrideExistingConfig\":true}},\"firewallDeploymentModel\":{\"centralizedFirewallDeploymentModel\":{\"centralizedFirewallOrchestrationConfig\":{\"inspectionVpcIds\":[{\"resourceId\":\"vpc-1234\",\"accountId\":\"123456789011\"}],\"firewallCreationConfig\":{\"endpointLocation\":{\"availabilityZoneConfigList\":[{\"availabilityZoneId\":null,\"availabilityZoneName\":\"us-east-1a\",\"allowedIPV4CidrList\":[\"10.0.0.0/28\"]}]}},\"allowedIPV4CidrList\":[]}}}}" To use the centralized deployment model, you must set PolicyOption to CENTRALIZED. Example: NETWORK_FIREWALL - Distributed deployment model with automatic Availability Zone configuration "{\"type\":\"NETWORK_FIREWALL\",\"networkFirewallStatelessRuleGroupReferences\":[{\"resourceARN\":\"arn:aws:network-firewall:us-east-1:123456789011:stateless-rulegroup/test\",\"priority\":1}],\"networkFirewallStatelessDefaultActions\":[\"aws:forward_to_sfe\",\"customActionName\"],\"networkFirewallStatelessFragmentDefaultActions\":[\"aws:forward_to_sfe\",\"customActionName\"],\"networkFirewallStatelessCustomActions\":[{\"actionName\":\"customActionName\",\"actionDefinition\":{\"publishMetricAction\":{\"dimensions\":[{\"value\":\"metricdimensionvalue\"}]}}}],\"networkFirewallStatefulRuleGroupReferences\":[{\"resourceARN\":\"arn:aws:network-firewall:us-east-1:123456789011:stateful-rulegroup/test\"}],\"networkFirewallOrchestrationConfig\":{\"singleFirewallEndpointPerVPC\":false,\"allowedIPV4CidrList\":[\"10.0.0.0/28\",\"192.168.0.0/28\"],\"routeManagementAction\":\"OFF\"},\"networkFirewallLoggingConfiguration\":{\"logDestinationConfigs\":[{\"logDestinationType\":\"S3\",\"logType\":\"ALERT\",\"logDestination\":{\"bucketName\":\"s3-bucket-name\"}},{\"logDestinationType\":\"S3\",\"logType\":\"FLOW\",\"logDestination\":{\"bucketName\":\"s3-bucket-name\"}}],\"overrideExistingConfig\":true}}" With automatic Availbility Zone configuration, Firewall Manager chooses which Availability Zones to create the endpoints in. To use the distributed deployment model, you must set PolicyOption to NULL. Example: NETWORK_FIREWALL - Distributed deployment model with automatic Availability Zone configuration and route management "{\"type\":\"NETWORK_FIREWALL\",\"networkFirewallStatelessRuleGroupReferences\":[{\"resourceARN\":\"arn:aws:network-firewall:us-east-1:123456789011:stateless-rulegroup/test\",\"priority\":1}],\"networkFirewallStatelessDefaultActions\":[\"aws:forward_to_sfe\",\"customActionName\"],\"networkFirewallStatelessFragmentDefaultActions\":[\"aws:forward_to_sfe\",\"customActionName\"],\"networkFirewallStatelessCustomActions\":[{\"actionName\":\"customActionName\",\"actionDefinition\":{\"publishMetricAction\":{\"dimensions\":[{\"value\":\"metricdimensionvalue\"}]}}}],\"networkFirewallStatefulRuleGroupReferences\":[{\"resourceARN\":\"arn:aws:network-firewall:us-east-1:123456789011:stateful-rulegroup/test\"}],\"networkFirewallOrchestrationConfig\":{\"singleFirewallEndpointPerVPC\":false,\"allowedIPV4CidrList\":[\"10.0.0.0/28\",\"192.168.0.0/28\"],\"routeManagementAction\":\"MONITOR\",\"routeManagementTargetTypes\":[\"InternetGateway\"]},\"networkFirewallLoggingConfiguration\":{\"logDestinationConfigs\":[{\"logDestinationType\":\"S3\",\"logType\":\"ALERT\",\"logDestination\":{\"bucketName\":\"s3-bucket-name\"}},{\"logDestinationType\":\"S3\",\"logType\": \"FLOW\",\"logDestination\":{\"bucketName\":\"s3-bucket-name\"}}],\"overrideExistingConfig\":true}}" To use the distributed deployment model, you must set PolicyOption to NULL. Example: NETWORK_FIREWALL - Distributed deployment model with custom Availability Zone configuration "{\"type\":\"NETWORK_FIREWALL\",\"networkFirewallStatelessRuleGroupReferences\":[{\"resourceARN\":\"arn:aws:network-firewall:us-east-1:123456789011:stateless-rulegroup/test\",\"priority\":1}],\"networkFirewallStatelessDefaultActions\":[\"aws:forward_to_sfe\",\"customActionName\"],\"networkFirewallStatelessFragmentDefaultActions\":[\"aws:forward_to_sfe\",\"fragmentcustomactionname\"],\"networkFirewallStatelessCustomActions\":[{\"actionName\":\"customActionName\", \"actionDefinition\":{\"publishMetricAction\":{\"dimensions\":[{\"value\":\"metricdimensionvalue\"}]}}},{\"actionName\":\"fragmentcustomactionname\",\"actionDefinition\":{\"publishMetricAction\":{\"dimensions\":[{\"value\":\"fragmentmetricdimensionvalue\"}]}}}],\"networkFirewallStatefulRuleGroupReferences\":[{\"resourceARN\":\"arn:aws:network-firewall:us-east-1:123456789011:stateful-rulegroup/test\"}],\"networkFirewallOrchestrationConfig\":{\"firewallCreationConfig\":{ \"endpointLocation\":{\"availabilityZoneConfigList\":[{\"availabilityZoneName\":\"us-east-1a\",\"allowedIPV4CidrList\":[\"10.0.0.0/28\"]},{\"availabilityZoneName\":\"us-east-1b\",\"allowedIPV4CidrList\":[ \"10.0.0.0/28\"]}]} },\"singleFirewallEndpointPerVPC\":false,\"allowedIPV4CidrList\":null,\"routeManagementAction\":\"OFF\",\"networkFirewallLoggingConfiguration\":{\"logDestinationConfigs\":[{\"logDestinationType\":\"S3\",\"logType\":\"ALERT\",\"logDestination\":{\"bucketName\":\"s3-bucket-name\"}},{\"logDestinationType\":\"S3\",\"logType\":\"FLOW\",\"logDestination\":{\"bucketName\":\"s3-bucket-name\"}}],\"overrideExistingConfig\":boolean}}" With custom Availability Zone configuration, you define which specific Availability Zones to create endpoints in by configuring firewallCreationConfig. To configure the Availability Zones in firewallCreationConfig, specify either the availabilityZoneName or availabilityZoneId parameter, not both parameters. To use the distributed deployment model, you must set PolicyOption to NULL. Example: NETWORK_FIREWALL - Distributed deployment model with custom Availability Zone configuration and route management "{\"type\":\"NETWORK_FIREWALL\",\"networkFirewallStatelessRuleGroupReferences\":[{\"resourceARN\":\"arn:aws:network-firewall:us-east-1:123456789011:stateless-rulegroup/test\",\"priority\":1}],\"networkFirewallStatelessDefaultActions\":[\"aws:forward_to_sfe\",\"customActionName\"],\"networkFirewallStatelessFragmentDefaultActions\":[\"aws:forward_to_sfe\",\"fragmentcustomactionname\"],\"networkFirewallStatelessCustomActions\":[{\"actionName\":\"customActionName\",\"actionDefinition\":{\"publishMetricAction\":{\"dimensions\":[{\"value\":\"metricdimensionvalue\"}]}}},{\"actionName\":\"fragmentcustomactionname\",\"actionDefinition\":{\"publishMetricAction\":{\"dimensions\":[{\"value\":\"fragmentmetricdimensionvalue\"}]}}}],\"networkFirewallStatefulRuleGroupReferences\":[{\"resourceARN\":\"arn:aws:network-firewall:us-east-1:123456789011:stateful-rulegroup/test\"}],\"networkFirewallOrchestrationConfig\":{\"firewallCreationConfig\":{\"endpointLocation\":{\"availabilityZoneConfigList\":[{\"availabilityZoneName\":\"us-east-1a\",\"allowedIPV4CidrList\":[\"10.0.0.0/28\"]},{\"availabilityZoneName\":\"us-east-1b\",\"allowedIPV4CidrList\":[\"10.0.0.0/28\"]}]}},\"singleFirewallEndpointPerVPC\":false,\"allowedIPV4CidrList\":null,\"routeManagementAction\":\"MONITOR\",\"routeManagementTargetTypes\":[\"InternetGateway\"],\"routeManagementConfig\":{\"allowCrossAZTrafficIfNoEndpoint\":true}},\"networkFirewallLoggingConfiguration\":{\"logDestinationConfigs\":[{\"logDestinationType\":\"S3\",\"logType\":\"ALERT\",\"logDestination\":{\"bucketName\":\"s3-bucket-name\"}},{\"logDestinationType\":\"S3\",\"logType\":\"FLOW\",\"logDestination\":{\"bucketName\":\"s3-bucket-name\"}}],\"overrideExistingConfig\":boolean}}" To use the distributed deployment model, you must set PolicyOption to NULL. Example: SECURITY_GROUPS_COMMON "{\"type\":\"SECURITY_GROUPS_COMMON\",\"revertManualSecurityGroupChanges\":false,\"exclusiveResourceSecurityGroupManagement\":false, \"applyToAllEC2InstanceENIs\":false,\"securityGroups\":[{\"id\":\" sg-000e55995d61a06bd\"}]}" Example: SECURITY_GROUPS_COMMON - Security group tag distribution ""{\"type\":\"SECURITY_GROUPS_COMMON\",\"securityGroups\":[{\"id\":\"sg-000e55995d61a06bd\"}],\"revertManualSecurityGroupChanges\":true,\"exclusiveResourceSecurityGroupManagement\":false,\"applyToAllEC2InstanceENIs\":false,\"includeSharedVPC\":false,\"enableTagDistribution\":true}"" Firewall Manager automatically distributes tags from the primary group to the security groups created by this policy. To use security group tag distribution, you must also set revertManualSecurityGroupChanges to true, otherwise Firewall Manager won't be able to create the policy. When you enable revertManualSecurityGroupChanges, Firewall Manager identifies and reports when the security groups created by this policy become non-compliant. Firewall Manager won't distribute system tags added by Amazon Web Services services into the replica security groups. System tags begin with the aws: prefix. Example: Shared VPCs. Apply the preceding policy to resources in shared VPCs as well as to those in VPCs that the account owns "{\"type\":\"SECURITY_GROUPS_COMMON\",\"revertManualSecurityGroupChanges\":false,\"exclusiveResourceSecurityGroupManagement\":false, \"applyToAllEC2InstanceENIs\":false,\"includeSharedVPC\":true,\"securityGroups\":[{\"id\":\" sg-000e55995d61a06bd\"}]}" Example: SECURITY_GROUPS_CONTENT_AUDIT "{\"type\":\"SECURITY_GROUPS_CONTENT_AUDIT\",\"securityGroups\":[{\"id\":\"sg-000e55995d61a06bd\"}],\"securityGroupAction\":{\"type\":\"ALLOW\"}}" The security group action for content audit can be ALLOW or DENY. For ALLOW, all in-scope security group rules must be within the allowed range of the policy's security group rules. For DENY, all in-scope security group rules must not contain a value or a range that matches a rule value or range in the policy security group. Example: SECURITY_GROUPS_USAGE_AUDIT "{\"type\":\"SECURITY_GROUPS_USAGE_AUDIT\",\"deleteUnusedSecurityGroups\":true,\"coalesceRedundantSecurityGroups\":true}" Example: SHIELD_ADVANCED with web ACL management "{\"type\":\"SHIELD_ADVANCED\",\"optimizeUnassociatedWebACL\":true}" If you set optimizeUnassociatedWebACL to true, Firewall Manager creates web ACLs in accounts within the policy scope if the web ACLs will be used by at least one resource. Firewall Manager creates web ACLs in the accounts within policy scope only if the web ACLs will be used by at least one resource. If at any time an account comes into policy scope, Firewall Manager automatically creates a web ACL in the account if at least one resource will use the web ACL. Upon enablement, Firewall Manager performs a one-time cleanup of unused web ACLs in your account. The cleanup process can take several hours. If a resource leaves policy scope after Firewall Manager creates a web ACL, Firewall Manager doesn't disassociate the resource from the web ACL. If you want Firewall Manager to clean up the web ACL, you must first manually disassociate the resources from the web ACL, and then enable the manage unused web ACLs option in your policy. If you set optimizeUnassociatedWebACL to false, and Firewall Manager automatically creates an empty web ACL in each account that's within policy scope. Specification for SHIELD_ADVANCED for Amazon CloudFront distributions "{\"type\":\"SHIELD_ADVANCED\",\"automaticResponseConfiguration\": {\"automaticResponseStatus\":\"ENABLED|IGNORED|DISABLED\", \"automaticResponseAction\":\"BLOCK|COUNT\"}, \"overrideCustomerWebaclClassic\":true|false, \"optimizeUnassociatedWebACL\":true|false}" For example: "{\"type\":\"SHIELD_ADVANCED\",\"automaticResponseConfiguration\": {\"automaticResponseStatus\":\"ENABLED\", \"automaticResponseAction\":\"COUNT\"}}" The default value for automaticResponseStatus is IGNORED. The value for automaticResponseAction is only required when automaticResponseStatus is set to ENABLED. The default value for overrideCustomerWebaclClassic is false. For other resource types that you can protect with a Shield Advanced policy, this ManagedServiceData configuration is an empty string. Example: THIRD_PARTY_FIREWALL Replace THIRD_PARTY_FIREWALL_NAME with the name of the third-party firewall. "{ "type":"THIRD_PARTY_FIREWALL", "thirdPartyFirewall":"THIRD_PARTY_FIREWALL_NAME", "thirdPartyFirewallConfig":{ "thirdPartyFirewallPolicyList":["global-1"] }, "firewallDeploymentModel":{ "distributedFirewallDeploymentModel":{ "distributedFirewallOrchestrationConfig":{ "firewallCreationConfig":{ "endpointLocation":{ "availabilityZoneConfigList":[ { "availabilityZoneName":"${AvailabilityZone}" } ] } }, "allowedIPV4CidrList":[ ] } } } }" Example: WAFV2 - Account takeover prevention, Bot Control managed rule groups, optimize unassociated web ACL, and rule action override "{\"type\":\"WAFV2\",\"preProcessRuleGroups\":[{\"ruleGroupArn\":null,\"overrideAction\":{\"type\":\"NONE\"},\"managedRuleGroupIdentifier\":{\"versionEnabled\":null,\"version\":null,\"vendorName\":\"AWS\",\"managedRuleGroupName\":\"AWSManagedRulesATPRuleSet\",\"managedRuleGroupConfigs\":[{\"awsmanagedRulesATPRuleSet\":{\"loginPath\":\"/loginpath\",\"requestInspection\":{\"payloadType\":\"FORM_ENCODED|JSON\",\"usernameField\":{\"identifier\":\"/form/username\"},\"passwordField\":{\"identifier\":\"/form/password\"}}}}]},\"ruleGroupType\":\"ManagedRuleGroup\",\"excludeRules\":[],\"sampledRequestsEnabled\":true},{\"ruleGroupArn\":null,\"overrideAction\":{\"type\":\"NONE\"},\"managedRuleGroupIdentifier\":{\"versionEnabled\":null,\"version\":null,\"vendorName\":\"AWS\",\"managedRuleGroupName\":\"AWSManagedRulesBotControlRuleSet\",\"managedRuleGroupConfigs\":[{\"awsmanagedRulesBotControlRuleSet\":{\"inspectionLevel\":\"TARGETED|COMMON\"}}]},\"ruleGroupType\":\"ManagedRuleGroup\",\"excludeRules\":[],\"sampledRequestsEnabled\":true,\"ruleActionOverrides\":[{\"name\":\"Rule1\",\"actionToUse\":{\"allow|block|count|captcha|challenge\":{}}},{\"name\":\"Rule2\",\"actionToUse\":{\"allow|block|count|captcha|challenge\":{}}}]}],\"postProcessRuleGroups\":[],\"defaultAction\":{\"type\":\"ALLOW\"},\"customRequestHandling\":null,\"customResponse\":null,\"overrideCustomerWebACLAssociation\":false,\"loggingConfiguration\":null,\"sampledRequestsEnabledForDefaultActions\":true,\"optimizeUnassociatedWebACL\":true}" Bot Control - For information about AWSManagedRulesBotControlRuleSet managed rule groups, see AWSManagedRulesBotControlRuleSet in the WAF API Reference. Fraud Control account takeover prevention (ATP) - For information about the properties available for AWSManagedRulesATPRuleSet managed rule groups, see AWSManagedRulesATPRuleSet in the WAF API Reference. Optimize unassociated web ACL - If you set optimizeUnassociatedWebACL to true, Firewall Manager creates web ACLs in accounts within the policy scope if the web ACLs will be used by at least one resource. Firewall Manager creates web ACLs in the accounts within policy scope only if the web ACLs will be used by at least one resource. If at any time an account comes into policy scope, Firewall Manager automatically creates a web ACL in the account if at least one resource will use the web ACL. Upon enablement, Firewall Manager performs a one-time cleanup of unused web ACLs in your account. The cleanup process can take several hours. If a resource leaves policy scope after Firewall Manager creates a web ACL, Firewall Manager disassociates the resource from the web ACL, but won't clean up the unused web ACL. Firewall Manager only cleans up unused web ACLs when you first enable management of unused web ACLs in a policy. If you set optimizeUnassociatedWebACL to false Firewall Manager doesn't manage unused web ACLs, and Firewall Manager automatically creates an empty web ACL in each account that's within policy scope. Rule action overrides - Firewall Manager supports rule action overrides only for managed rule groups. To configure a RuleActionOverrides add the Name of the rule to override, and ActionToUse, which is the new action to use for the rule. For information about using rule action override, see RuleActionOverride in the WAF API Reference. Example: WAFV2 - CAPTCHA and Challenge configs "{\"type\":\"WAFV2\",\"preProcessRuleGroups\":[{\"ruleGroupArn\":null,\"overrideAction\":{\"type\":\"NONE\"},\"managedRuleGroupIdentifier\":{\"versionEnabled\":null,\"version\":null,\"vendorName\":\"AWS\",\"managedRuleGroupName\":\"AWSManagedRulesAdminProtectionRuleSet\"},\"ruleGroupType\":\"ManagedRuleGroup\",\"excludeRules\":[],\"sampledRequestsEnabled\":true}],\"postProcessRuleGroups\":[],\"defaultAction\":{\"type\":\"ALLOW\"},\"customRequestHandling\":null,\"customResponse\":null,\"overrideCustomerWebACLAssociation\":false,\"loggingConfiguration\":null,\"sampledRequestsEnabledForDefaultActions\":true,\"captchaConfig\":{\"immunityTimeProperty\":{\"immunityTime\":500}},\"challengeConfig\":{\"immunityTimeProperty\":{\"immunityTime\":800}},\"tokenDomains\":[\"google.com\",\"amazon.com\"],\"associationConfig\":{\"requestBody\":{\"CLOUDFRONT\":{\"defaultSizeInspectionLimit\":\"KB_16\"}}}}" CAPTCHA and Challenge configs - If you update the policy's values for associationConfig, captchaConfig, challengeConfig, or tokenDomains, Firewall Manager will overwrite your local web ACLs to contain the new value(s). However, if you don't update the policy's associationConfig, captchaConfig, challengeConfig, or tokenDomains values, the values in your local web ACLs will remain unchanged. For information about association configs, see AssociationConfig. For information about CAPTCHA and Challenge configs, see CaptchaConfig and ChallengeConfig in the WAF API Reference. defaultSizeInspectionLimit - Specifies the maximum size of the web request body component that an associated Amazon CloudFront distribution should send to WAF for inspection. For more information, see DefaultSizeInspectionLimit in the WAF API Reference. Example: WAFV2 - Firewall Manager support for WAF managed rule group versioning "{\"type\":\"WAFV2\",\"preProcessRuleGroups\":[{\"ruleGroupArn\":null,\"overrideAction\":{\"type\":\"NONE\"},\"managedRuleGroupIdentifier\":{\"versionEnabled\":true,\"version\":\"Version_2.0\",\"vendorName\":\"AWS\",\"managedRuleGroupName\":\"AWSManagedRulesCommonRuleSet\"},\"ruleGroupType\":\"ManagedRuleGroup\",\"excludeRules\":[{\"name\":\"NoUserAgent_HEADER\"}]}],\"postProcessRuleGroups\":[],\"defaultAction\":{\"type\":\"ALLOW\"},\"overrideCustomerWebACLAssociation\":false,\"loggingConfiguration\":{\"logDestinationConfigs\":[\"arn:aws:firehose:us-west-2:12345678912:deliverystream/aws-waf-logs-fms-admin-destination\"],\"redactedFields\":[{\"redactedFieldType\":\"SingleHeader\",\"redactedFieldValue\":\"Cookies\"},{\"redactedFieldType\":\"Method\"}]}}" To use a specific version of a WAF managed rule group in your Firewall Manager policy, you must set versionEnabled to true, and set version to the version you'd like to use. If you don't set versionEnabled to true, or if you omit versionEnabled, then Firewall Manager uses the default version of the WAF managed rule group. Example: WAFV2 - Logging configurations "{\"type\":\"WAFV2\",\"preProcessRuleGroups\":[{\"ruleGroupArn\":null, \"overrideAction\":{\"type\":\"NONE\"},\"managedRuleGroupIdentifier\": {\"versionEnabled\":null,\"version\":null,\"vendorName\":\"AWS\", \"managedRuleGroupName\":\"AWSManagedRulesAdminProtectionRuleSet\"} ,\"ruleGroupType\":\"ManagedRuleGroup\",\"excludeRules\":[], \"sampledRequestsEnabled\":true}],\"postProcessRuleGroups\":[], \"defaultAction\":{\"type\":\"ALLOW\"},\"customRequestHandling\" :null,\"customResponse\":null,\"overrideCustomerWebACLAssociation\" :false,\"loggingConfiguration\":{\"logDestinationConfigs\": [\"arn:aws:s3:::aws-waf-logs-example-bucket\"] ,\"redactedFields\":[],\"loggingFilterConfigs\":{\"defaultBehavior\":\"KEEP\", \"filters\":[{\"behavior\":\"KEEP\",\"requirement\":\"MEETS_ALL\", \"conditions\":[{\"actionCondition\":\"CAPTCHA\"},{\"actionCondition\": \"CHALLENGE\"}, {\"actionCondition\":\"EXCLUDED_AS_COUNT\"}]}]}},\"sampledRequestsEnabledForDefaultActions\":true}" Firewall Manager supports Amazon Kinesis Data Firehose and Amazon S3 as the logDestinationConfigs in your loggingConfiguration. For information about WAF logging configurations, see LoggingConfiguration in the WAF API Reference In the loggingConfiguration, you can specify one logDestinationConfigs. Optionally provide as many as 20 redactedFields. The RedactedFieldType must be one of URI, QUERY_STRING, HEADER, or METHOD. Example: WAF Classic "{\"type\": \"WAF\", \"ruleGroups\": [{\"id\":\"12345678-1bcd-9012-efga-0987654321ab\", \"overrideAction\" : {\"type\": \"COUNT\"}}], \"defaultAction\": {\"type\": \"BLOCK\"}}"
  2755. */
  2756. ManagedServiceData?: ManagedServiceData;
  2757. /**
  2758. * Contains the settings to configure a network ACL policy, a Network Firewall firewall policy deployment model, or a third-party firewall policy.
  2759. */
  2760. PolicyOption?: PolicyOption;
  2761. }
  2762. export type SecurityServiceType = "WAF"|"WAFV2"|"SHIELD_ADVANCED"|"SECURITY_GROUPS_COMMON"|"SECURITY_GROUPS_CONTENT_AUDIT"|"SECURITY_GROUPS_USAGE_AUDIT"|"NETWORK_FIREWALL"|"DNS_FIREWALL"|"THIRD_PARTY_FIREWALL"|"IMPORT_NETWORK_FIREWALL"|"NETWORK_ACL_COMMON"|string;
  2763. export type SecurityServiceTypeList = SecurityServiceType[];
  2764. export interface StatefulEngineOptions {
  2765. /**
  2766. * Indicates how to manage the order of stateful rule evaluation for the policy. Stateful rules are provided to the rule engine as Suricata compatible strings, and Suricata evaluates them based on certain settings. For more information, see Evaluation order for stateful rules in the Network Firewall Developer Guide. Default: DEFAULT_ACTION_ORDER
  2767. */
  2768. RuleOrder?: RuleOrder;
  2769. /**
  2770. * Indicates how Network Firewall should handle traffic when a network connection breaks midstream. DROP - Fail closed and drop all subsequent traffic going to the firewall. CONTINUE - Continue to apply rules to subsequent traffic without context from traffic before the break. This impacts the behavior of rules that depend on context. For example, with a stateful rule that drops HTTP traffic, Network Firewall won't match subsequent traffic because the it won't have the context from session initialization, which defines the application layer protocol as HTTP. However, a TCP-layer rule using a flow:stateless rule would still match, and so would the aws:drop_strict default action. REJECT - Fail closed and drop all subsequent traffic going to the firewall. With this option, Network Firewall also sends a TCP reject packet back to the client so the client can immediately establish a new session. With the new session, Network Firewall will have context and will apply rules appropriately. For applications that are reliant on long-lived TCP connections that trigger Gateway Load Balancer idle timeouts, this is the recommended setting. FMS_IGNORE - Firewall Manager doesn't monitor or modify the Network Firewall stream exception policy settings. For more information, see Stream exception policy in your firewall policy in the Network Firewall Developer Guide. Default: FMS_IGNORE
  2771. */
  2772. StreamExceptionPolicy?: StreamExceptionPolicy;
  2773. }
  2774. export interface StatefulRuleGroup {
  2775. /**
  2776. * The name of the rule group.
  2777. */
  2778. RuleGroupName?: NetworkFirewallResourceName;
  2779. /**
  2780. * The resource ID of the rule group.
  2781. */
  2782. ResourceId?: ResourceId;
  2783. /**
  2784. * An integer setting that indicates the order in which to run the stateful rule groups in a single Network Firewall firewall policy. This setting only applies to firewall policies that specify the STRICT_ORDER rule order in the stateful engine options settings. Network Firewall evalutes each stateful rule group against a packet starting with the group that has the lowest priority setting. You must ensure that the priority settings are unique within each policy. For information about You can change the priority settings of your rule groups at any time. To make it easier to insert rule groups later, number them so there's a wide range in between, for example use 100, 200, and so on.
  2785. */
  2786. Priority?: PriorityNumber;
  2787. /**
  2788. * The action that allows the policy owner to override the behavior of the rule group within a policy.
  2789. */
  2790. Override?: NetworkFirewallStatefulRuleGroupOverride;
  2791. }
  2792. export type StatefulRuleGroupList = StatefulRuleGroup[];
  2793. export interface StatelessRuleGroup {
  2794. /**
  2795. * The name of the rule group.
  2796. */
  2797. RuleGroupName?: NetworkFirewallResourceName;
  2798. /**
  2799. * The resource ID of the rule group.
  2800. */
  2801. ResourceId?: ResourceId;
  2802. /**
  2803. * The priority of the rule group. Network Firewall evaluates the stateless rule groups in a firewall policy starting from the lowest priority setting.
  2804. */
  2805. Priority?: StatelessRuleGroupPriority;
  2806. }
  2807. export type StatelessRuleGroupList = StatelessRuleGroup[];
  2808. export type StatelessRuleGroupPriority = number;
  2809. export type StreamExceptionPolicy = "DROP"|"CONTINUE"|"REJECT"|"FMS_IGNORE"|string;
  2810. export interface Tag {
  2811. /**
  2812. * Part of the key:value pair that defines a tag. You can use a tag key to describe a category of information, such as "customer." Tag keys are case-sensitive.
  2813. */
  2814. Key: TagKey;
  2815. /**
  2816. * Part of the key:value pair that defines a tag. You can use a tag value to describe a specific value within a category, such as "companyA" or "companyB." Tag values are case-sensitive.
  2817. */
  2818. Value: TagValue;
  2819. }
  2820. export type TagKey = string;
  2821. export type TagKeyList = TagKey[];
  2822. export type TagList = Tag[];
  2823. export interface TagResourceRequest {
  2824. /**
  2825. * The Amazon Resource Name (ARN) of the resource to return tags for. The Firewall Manager resources that support tagging are policies, applications lists, and protocols lists.
  2826. */
  2827. ResourceArn: ResourceArn;
  2828. /**
  2829. * The tags to add to the resource.
  2830. */
  2831. TagList: TagList;
  2832. }
  2833. export interface TagResourceResponse {
  2834. }
  2835. export type TagValue = string;
  2836. export type TargetType = "GATEWAY"|"CARRIER_GATEWAY"|"INSTANCE"|"LOCAL_GATEWAY"|"NAT_GATEWAY"|"NETWORK_INTERFACE"|"VPC_ENDPOINT"|"VPC_PEERING_CONNECTION"|"EGRESS_ONLY_INTERNET_GATEWAY"|"TRANSIT_GATEWAY"|string;
  2837. export type TargetViolationReason = string;
  2838. export type TargetViolationReasons = TargetViolationReason[];
  2839. export type ThirdPartyFirewall = "PALO_ALTO_NETWORKS_CLOUD_NGFW"|"FORTIGATE_CLOUD_NATIVE_FIREWALL"|string;
  2840. export type ThirdPartyFirewallAssociationStatus = "ONBOARDING"|"ONBOARD_COMPLETE"|"OFFBOARDING"|"OFFBOARD_COMPLETE"|"NOT_EXIST"|string;
  2841. export type ThirdPartyFirewallFirewallPolicies = ThirdPartyFirewallFirewallPolicy[];
  2842. export interface ThirdPartyFirewallFirewallPolicy {
  2843. /**
  2844. * The ID of the specified firewall policy.
  2845. */
  2846. FirewallPolicyId?: FirewallPolicyId;
  2847. /**
  2848. * The name of the specified firewall policy.
  2849. */
  2850. FirewallPolicyName?: FirewallPolicyName;
  2851. }
  2852. export interface ThirdPartyFirewallMissingExpectedRouteTableViolation {
  2853. /**
  2854. * The ID of the third-party firewall or VPC resource that's causing the violation.
  2855. */
  2856. ViolationTarget?: ViolationTarget;
  2857. /**
  2858. * The resource ID of the VPC associated with a fireawll subnet that's causing the violation.
  2859. */
  2860. VPC?: ResourceId;
  2861. /**
  2862. * The Availability Zone of the firewall subnet that's causing the violation.
  2863. */
  2864. AvailabilityZone?: LengthBoundedString;
  2865. /**
  2866. * The resource ID of the current route table that's associated with the subnet, if one is available.
  2867. */
  2868. CurrentRouteTable?: ResourceId;
  2869. /**
  2870. * The resource ID of the route table that should be associated with the subnet.
  2871. */
  2872. ExpectedRouteTable?: ResourceId;
  2873. }
  2874. export interface ThirdPartyFirewallMissingFirewallViolation {
  2875. /**
  2876. * The ID of the third-party firewall that's causing the violation.
  2877. */
  2878. ViolationTarget?: ViolationTarget;
  2879. /**
  2880. * The resource ID of the VPC associated with a third-party firewall.
  2881. */
  2882. VPC?: ResourceId;
  2883. /**
  2884. * The Availability Zone of the third-party firewall that's causing the violation.
  2885. */
  2886. AvailabilityZone?: LengthBoundedString;
  2887. /**
  2888. * The reason the resource is causing this violation, if a reason is available.
  2889. */
  2890. TargetViolationReason?: TargetViolationReason;
  2891. }
  2892. export interface ThirdPartyFirewallMissingSubnetViolation {
  2893. /**
  2894. * The ID of the third-party firewall or VPC resource that's causing the violation.
  2895. */
  2896. ViolationTarget?: ViolationTarget;
  2897. /**
  2898. * The resource ID of the VPC associated with a subnet that's causing the violation.
  2899. */
  2900. VPC?: ResourceId;
  2901. /**
  2902. * The Availability Zone of a subnet that's causing the violation.
  2903. */
  2904. AvailabilityZone?: LengthBoundedString;
  2905. /**
  2906. * The reason the resource is causing the violation, if a reason is available.
  2907. */
  2908. TargetViolationReason?: TargetViolationReason;
  2909. }
  2910. export interface ThirdPartyFirewallPolicy {
  2911. /**
  2912. * Defines the deployment model to use for the third-party firewall policy.
  2913. */
  2914. FirewallDeploymentModel?: FirewallDeploymentModel;
  2915. }
  2916. export type TimeStamp = Date;
  2917. export interface UntagResourceRequest {
  2918. /**
  2919. * The Amazon Resource Name (ARN) of the resource to return tags for. The Firewall Manager resources that support tagging are policies, applications lists, and protocols lists.
  2920. */
  2921. ResourceArn: ResourceArn;
  2922. /**
  2923. * The keys of the tags to remove from the resource.
  2924. */
  2925. TagKeys: TagKeyList;
  2926. }
  2927. export interface UntagResourceResponse {
  2928. }
  2929. export type UpdateToken = string;
  2930. export interface ViolationDetail {
  2931. /**
  2932. * The ID of the Firewall Manager policy that the violation details were requested for.
  2933. */
  2934. PolicyId: PolicyId;
  2935. /**
  2936. * The Amazon Web Services account that the violation details were requested for.
  2937. */
  2938. MemberAccount: AWSAccountId;
  2939. /**
  2940. * The resource ID that the violation details were requested for.
  2941. */
  2942. ResourceId: ResourceId;
  2943. /**
  2944. * The resource type that the violation details were requested for.
  2945. */
  2946. ResourceType: ResourceType;
  2947. /**
  2948. * List of violations for the requested resource.
  2949. */
  2950. ResourceViolations: ResourceViolations;
  2951. /**
  2952. * The ResourceTag objects associated with the resource.
  2953. */
  2954. ResourceTags?: TagList;
  2955. /**
  2956. * Brief description for the requested resource.
  2957. */
  2958. ResourceDescription?: LengthBoundedString;
  2959. }
  2960. export type ViolationReason = "WEB_ACL_MISSING_RULE_GROUP"|"RESOURCE_MISSING_WEB_ACL"|"RESOURCE_INCORRECT_WEB_ACL"|"RESOURCE_MISSING_SHIELD_PROTECTION"|"RESOURCE_MISSING_WEB_ACL_OR_SHIELD_PROTECTION"|"RESOURCE_MISSING_SECURITY_GROUP"|"RESOURCE_VIOLATES_AUDIT_SECURITY_GROUP"|"SECURITY_GROUP_UNUSED"|"SECURITY_GROUP_REDUNDANT"|"FMS_CREATED_SECURITY_GROUP_EDITED"|"MISSING_FIREWALL"|"MISSING_FIREWALL_SUBNET_IN_AZ"|"MISSING_EXPECTED_ROUTE_TABLE"|"NETWORK_FIREWALL_POLICY_MODIFIED"|"FIREWALL_SUBNET_IS_OUT_OF_SCOPE"|"INTERNET_GATEWAY_MISSING_EXPECTED_ROUTE"|"FIREWALL_SUBNET_MISSING_EXPECTED_ROUTE"|"UNEXPECTED_FIREWALL_ROUTES"|"UNEXPECTED_TARGET_GATEWAY_ROUTES"|"TRAFFIC_INSPECTION_CROSSES_AZ_BOUNDARY"|"INVALID_ROUTE_CONFIGURATION"|"MISSING_TARGET_GATEWAY"|"INTERNET_TRAFFIC_NOT_INSPECTED"|"BLACK_HOLE_ROUTE_DETECTED"|"BLACK_HOLE_ROUTE_DETECTED_IN_FIREWALL_SUBNET"|"RESOURCE_MISSING_DNS_FIREWALL"|"ROUTE_HAS_OUT_OF_SCOPE_ENDPOINT"|"FIREWALL_SUBNET_MISSING_VPCE_ENDPOINT"|"INVALID_NETWORK_ACL_ENTRY"|string;
  2961. export type ViolationTarget = string;
  2962. /**
  2963. * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
  2964. */
  2965. export type apiVersion = "2018-01-01"|"latest"|string;
  2966. export interface ClientApiVersions {
  2967. /**
  2968. * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
  2969. */
  2970. apiVersion?: apiVersion;
  2971. }
  2972. export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
  2973. /**
  2974. * Contains interfaces for use with the FMS client.
  2975. */
  2976. export import Types = FMS;
  2977. }
  2978. export = FMS;