imagebuilder.d.ts 226 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274
  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 Imagebuilder extends Service {
  9. /**
  10. * Constructs a service object. This object has one method for each API operation.
  11. */
  12. constructor(options?: Imagebuilder.Types.ClientConfiguration)
  13. config: Config & Imagebuilder.Types.ClientConfiguration;
  14. /**
  15. * CancelImageCreation cancels the creation of Image. This operation can only be used on images in a non-terminal state.
  16. */
  17. cancelImageCreation(params: Imagebuilder.Types.CancelImageCreationRequest, callback?: (err: AWSError, data: Imagebuilder.Types.CancelImageCreationResponse) => void): Request<Imagebuilder.Types.CancelImageCreationResponse, AWSError>;
  18. /**
  19. * CancelImageCreation cancels the creation of Image. This operation can only be used on images in a non-terminal state.
  20. */
  21. cancelImageCreation(callback?: (err: AWSError, data: Imagebuilder.Types.CancelImageCreationResponse) => void): Request<Imagebuilder.Types.CancelImageCreationResponse, AWSError>;
  22. /**
  23. * Cancel a specific image lifecycle policy runtime instance.
  24. */
  25. cancelLifecycleExecution(params: Imagebuilder.Types.CancelLifecycleExecutionRequest, callback?: (err: AWSError, data: Imagebuilder.Types.CancelLifecycleExecutionResponse) => void): Request<Imagebuilder.Types.CancelLifecycleExecutionResponse, AWSError>;
  26. /**
  27. * Cancel a specific image lifecycle policy runtime instance.
  28. */
  29. cancelLifecycleExecution(callback?: (err: AWSError, data: Imagebuilder.Types.CancelLifecycleExecutionResponse) => void): Request<Imagebuilder.Types.CancelLifecycleExecutionResponse, AWSError>;
  30. /**
  31. * Creates a new component that can be used to build, validate, test, and assess your image. The component is based on a YAML document that you specify using exactly one of the following methods: Inline, using the data property in the request body. A URL that points to a YAML document file stored in Amazon S3, using the uri property in the request body.
  32. */
  33. createComponent(params: Imagebuilder.Types.CreateComponentRequest, callback?: (err: AWSError, data: Imagebuilder.Types.CreateComponentResponse) => void): Request<Imagebuilder.Types.CreateComponentResponse, AWSError>;
  34. /**
  35. * Creates a new component that can be used to build, validate, test, and assess your image. The component is based on a YAML document that you specify using exactly one of the following methods: Inline, using the data property in the request body. A URL that points to a YAML document file stored in Amazon S3, using the uri property in the request body.
  36. */
  37. createComponent(callback?: (err: AWSError, data: Imagebuilder.Types.CreateComponentResponse) => void): Request<Imagebuilder.Types.CreateComponentResponse, AWSError>;
  38. /**
  39. * Creates a new container recipe. Container recipes define how images are configured, tested, and assessed.
  40. */
  41. createContainerRecipe(params: Imagebuilder.Types.CreateContainerRecipeRequest, callback?: (err: AWSError, data: Imagebuilder.Types.CreateContainerRecipeResponse) => void): Request<Imagebuilder.Types.CreateContainerRecipeResponse, AWSError>;
  42. /**
  43. * Creates a new container recipe. Container recipes define how images are configured, tested, and assessed.
  44. */
  45. createContainerRecipe(callback?: (err: AWSError, data: Imagebuilder.Types.CreateContainerRecipeResponse) => void): Request<Imagebuilder.Types.CreateContainerRecipeResponse, AWSError>;
  46. /**
  47. * Creates a new distribution configuration. Distribution configurations define and configure the outputs of your pipeline.
  48. */
  49. createDistributionConfiguration(params: Imagebuilder.Types.CreateDistributionConfigurationRequest, callback?: (err: AWSError, data: Imagebuilder.Types.CreateDistributionConfigurationResponse) => void): Request<Imagebuilder.Types.CreateDistributionConfigurationResponse, AWSError>;
  50. /**
  51. * Creates a new distribution configuration. Distribution configurations define and configure the outputs of your pipeline.
  52. */
  53. createDistributionConfiguration(callback?: (err: AWSError, data: Imagebuilder.Types.CreateDistributionConfigurationResponse) => void): Request<Imagebuilder.Types.CreateDistributionConfigurationResponse, AWSError>;
  54. /**
  55. * Creates a new image. This request will create a new image along with all of the configured output resources defined in the distribution configuration. You must specify exactly one recipe for your image, using either a ContainerRecipeArn or an ImageRecipeArn.
  56. */
  57. createImage(params: Imagebuilder.Types.CreateImageRequest, callback?: (err: AWSError, data: Imagebuilder.Types.CreateImageResponse) => void): Request<Imagebuilder.Types.CreateImageResponse, AWSError>;
  58. /**
  59. * Creates a new image. This request will create a new image along with all of the configured output resources defined in the distribution configuration. You must specify exactly one recipe for your image, using either a ContainerRecipeArn or an ImageRecipeArn.
  60. */
  61. createImage(callback?: (err: AWSError, data: Imagebuilder.Types.CreateImageResponse) => void): Request<Imagebuilder.Types.CreateImageResponse, AWSError>;
  62. /**
  63. * Creates a new image pipeline. Image pipelines enable you to automate the creation and distribution of images.
  64. */
  65. createImagePipeline(params: Imagebuilder.Types.CreateImagePipelineRequest, callback?: (err: AWSError, data: Imagebuilder.Types.CreateImagePipelineResponse) => void): Request<Imagebuilder.Types.CreateImagePipelineResponse, AWSError>;
  66. /**
  67. * Creates a new image pipeline. Image pipelines enable you to automate the creation and distribution of images.
  68. */
  69. createImagePipeline(callback?: (err: AWSError, data: Imagebuilder.Types.CreateImagePipelineResponse) => void): Request<Imagebuilder.Types.CreateImagePipelineResponse, AWSError>;
  70. /**
  71. * Creates a new image recipe. Image recipes define how images are configured, tested, and assessed.
  72. */
  73. createImageRecipe(params: Imagebuilder.Types.CreateImageRecipeRequest, callback?: (err: AWSError, data: Imagebuilder.Types.CreateImageRecipeResponse) => void): Request<Imagebuilder.Types.CreateImageRecipeResponse, AWSError>;
  74. /**
  75. * Creates a new image recipe. Image recipes define how images are configured, tested, and assessed.
  76. */
  77. createImageRecipe(callback?: (err: AWSError, data: Imagebuilder.Types.CreateImageRecipeResponse) => void): Request<Imagebuilder.Types.CreateImageRecipeResponse, AWSError>;
  78. /**
  79. * Creates a new infrastructure configuration. An infrastructure configuration defines the environment in which your image will be built and tested.
  80. */
  81. createInfrastructureConfiguration(params: Imagebuilder.Types.CreateInfrastructureConfigurationRequest, callback?: (err: AWSError, data: Imagebuilder.Types.CreateInfrastructureConfigurationResponse) => void): Request<Imagebuilder.Types.CreateInfrastructureConfigurationResponse, AWSError>;
  82. /**
  83. * Creates a new infrastructure configuration. An infrastructure configuration defines the environment in which your image will be built and tested.
  84. */
  85. createInfrastructureConfiguration(callback?: (err: AWSError, data: Imagebuilder.Types.CreateInfrastructureConfigurationResponse) => void): Request<Imagebuilder.Types.CreateInfrastructureConfigurationResponse, AWSError>;
  86. /**
  87. * Create a lifecycle policy resource.
  88. */
  89. createLifecyclePolicy(params: Imagebuilder.Types.CreateLifecyclePolicyRequest, callback?: (err: AWSError, data: Imagebuilder.Types.CreateLifecyclePolicyResponse) => void): Request<Imagebuilder.Types.CreateLifecyclePolicyResponse, AWSError>;
  90. /**
  91. * Create a lifecycle policy resource.
  92. */
  93. createLifecyclePolicy(callback?: (err: AWSError, data: Imagebuilder.Types.CreateLifecyclePolicyResponse) => void): Request<Imagebuilder.Types.CreateLifecyclePolicyResponse, AWSError>;
  94. /**
  95. * Create a new workflow or a new version of an existing workflow.
  96. */
  97. createWorkflow(params: Imagebuilder.Types.CreateWorkflowRequest, callback?: (err: AWSError, data: Imagebuilder.Types.CreateWorkflowResponse) => void): Request<Imagebuilder.Types.CreateWorkflowResponse, AWSError>;
  98. /**
  99. * Create a new workflow or a new version of an existing workflow.
  100. */
  101. createWorkflow(callback?: (err: AWSError, data: Imagebuilder.Types.CreateWorkflowResponse) => void): Request<Imagebuilder.Types.CreateWorkflowResponse, AWSError>;
  102. /**
  103. * Deletes a component build version.
  104. */
  105. deleteComponent(params: Imagebuilder.Types.DeleteComponentRequest, callback?: (err: AWSError, data: Imagebuilder.Types.DeleteComponentResponse) => void): Request<Imagebuilder.Types.DeleteComponentResponse, AWSError>;
  106. /**
  107. * Deletes a component build version.
  108. */
  109. deleteComponent(callback?: (err: AWSError, data: Imagebuilder.Types.DeleteComponentResponse) => void): Request<Imagebuilder.Types.DeleteComponentResponse, AWSError>;
  110. /**
  111. * Deletes a container recipe.
  112. */
  113. deleteContainerRecipe(params: Imagebuilder.Types.DeleteContainerRecipeRequest, callback?: (err: AWSError, data: Imagebuilder.Types.DeleteContainerRecipeResponse) => void): Request<Imagebuilder.Types.DeleteContainerRecipeResponse, AWSError>;
  114. /**
  115. * Deletes a container recipe.
  116. */
  117. deleteContainerRecipe(callback?: (err: AWSError, data: Imagebuilder.Types.DeleteContainerRecipeResponse) => void): Request<Imagebuilder.Types.DeleteContainerRecipeResponse, AWSError>;
  118. /**
  119. * Deletes a distribution configuration.
  120. */
  121. deleteDistributionConfiguration(params: Imagebuilder.Types.DeleteDistributionConfigurationRequest, callback?: (err: AWSError, data: Imagebuilder.Types.DeleteDistributionConfigurationResponse) => void): Request<Imagebuilder.Types.DeleteDistributionConfigurationResponse, AWSError>;
  122. /**
  123. * Deletes a distribution configuration.
  124. */
  125. deleteDistributionConfiguration(callback?: (err: AWSError, data: Imagebuilder.Types.DeleteDistributionConfigurationResponse) => void): Request<Imagebuilder.Types.DeleteDistributionConfigurationResponse, AWSError>;
  126. /**
  127. * Deletes an Image Builder image resource. This does not delete any EC2 AMIs or ECR container images that are created during the image build process. You must clean those up separately, using the appropriate Amazon EC2 or Amazon ECR console actions, or API or CLI commands. To deregister an EC2 Linux AMI, see Deregister your Linux AMI in the Amazon EC2 User Guide . To deregister an EC2 Windows AMI, see Deregister your Windows AMI in the Amazon EC2 Windows Guide . To delete a container image from Amazon ECR, see Deleting an image in the Amazon ECR User Guide.
  128. */
  129. deleteImage(params: Imagebuilder.Types.DeleteImageRequest, callback?: (err: AWSError, data: Imagebuilder.Types.DeleteImageResponse) => void): Request<Imagebuilder.Types.DeleteImageResponse, AWSError>;
  130. /**
  131. * Deletes an Image Builder image resource. This does not delete any EC2 AMIs or ECR container images that are created during the image build process. You must clean those up separately, using the appropriate Amazon EC2 or Amazon ECR console actions, or API or CLI commands. To deregister an EC2 Linux AMI, see Deregister your Linux AMI in the Amazon EC2 User Guide . To deregister an EC2 Windows AMI, see Deregister your Windows AMI in the Amazon EC2 Windows Guide . To delete a container image from Amazon ECR, see Deleting an image in the Amazon ECR User Guide.
  132. */
  133. deleteImage(callback?: (err: AWSError, data: Imagebuilder.Types.DeleteImageResponse) => void): Request<Imagebuilder.Types.DeleteImageResponse, AWSError>;
  134. /**
  135. * Deletes an image pipeline.
  136. */
  137. deleteImagePipeline(params: Imagebuilder.Types.DeleteImagePipelineRequest, callback?: (err: AWSError, data: Imagebuilder.Types.DeleteImagePipelineResponse) => void): Request<Imagebuilder.Types.DeleteImagePipelineResponse, AWSError>;
  138. /**
  139. * Deletes an image pipeline.
  140. */
  141. deleteImagePipeline(callback?: (err: AWSError, data: Imagebuilder.Types.DeleteImagePipelineResponse) => void): Request<Imagebuilder.Types.DeleteImagePipelineResponse, AWSError>;
  142. /**
  143. * Deletes an image recipe.
  144. */
  145. deleteImageRecipe(params: Imagebuilder.Types.DeleteImageRecipeRequest, callback?: (err: AWSError, data: Imagebuilder.Types.DeleteImageRecipeResponse) => void): Request<Imagebuilder.Types.DeleteImageRecipeResponse, AWSError>;
  146. /**
  147. * Deletes an image recipe.
  148. */
  149. deleteImageRecipe(callback?: (err: AWSError, data: Imagebuilder.Types.DeleteImageRecipeResponse) => void): Request<Imagebuilder.Types.DeleteImageRecipeResponse, AWSError>;
  150. /**
  151. * Deletes an infrastructure configuration.
  152. */
  153. deleteInfrastructureConfiguration(params: Imagebuilder.Types.DeleteInfrastructureConfigurationRequest, callback?: (err: AWSError, data: Imagebuilder.Types.DeleteInfrastructureConfigurationResponse) => void): Request<Imagebuilder.Types.DeleteInfrastructureConfigurationResponse, AWSError>;
  154. /**
  155. * Deletes an infrastructure configuration.
  156. */
  157. deleteInfrastructureConfiguration(callback?: (err: AWSError, data: Imagebuilder.Types.DeleteInfrastructureConfigurationResponse) => void): Request<Imagebuilder.Types.DeleteInfrastructureConfigurationResponse, AWSError>;
  158. /**
  159. * Delete the specified lifecycle policy resource.
  160. */
  161. deleteLifecyclePolicy(params: Imagebuilder.Types.DeleteLifecyclePolicyRequest, callback?: (err: AWSError, data: Imagebuilder.Types.DeleteLifecyclePolicyResponse) => void): Request<Imagebuilder.Types.DeleteLifecyclePolicyResponse, AWSError>;
  162. /**
  163. * Delete the specified lifecycle policy resource.
  164. */
  165. deleteLifecyclePolicy(callback?: (err: AWSError, data: Imagebuilder.Types.DeleteLifecyclePolicyResponse) => void): Request<Imagebuilder.Types.DeleteLifecyclePolicyResponse, AWSError>;
  166. /**
  167. * Deletes a specific workflow resource.
  168. */
  169. deleteWorkflow(params: Imagebuilder.Types.DeleteWorkflowRequest, callback?: (err: AWSError, data: Imagebuilder.Types.DeleteWorkflowResponse) => void): Request<Imagebuilder.Types.DeleteWorkflowResponse, AWSError>;
  170. /**
  171. * Deletes a specific workflow resource.
  172. */
  173. deleteWorkflow(callback?: (err: AWSError, data: Imagebuilder.Types.DeleteWorkflowResponse) => void): Request<Imagebuilder.Types.DeleteWorkflowResponse, AWSError>;
  174. /**
  175. * Gets a component object.
  176. */
  177. getComponent(params: Imagebuilder.Types.GetComponentRequest, callback?: (err: AWSError, data: Imagebuilder.Types.GetComponentResponse) => void): Request<Imagebuilder.Types.GetComponentResponse, AWSError>;
  178. /**
  179. * Gets a component object.
  180. */
  181. getComponent(callback?: (err: AWSError, data: Imagebuilder.Types.GetComponentResponse) => void): Request<Imagebuilder.Types.GetComponentResponse, AWSError>;
  182. /**
  183. * Gets a component policy.
  184. */
  185. getComponentPolicy(params: Imagebuilder.Types.GetComponentPolicyRequest, callback?: (err: AWSError, data: Imagebuilder.Types.GetComponentPolicyResponse) => void): Request<Imagebuilder.Types.GetComponentPolicyResponse, AWSError>;
  186. /**
  187. * Gets a component policy.
  188. */
  189. getComponentPolicy(callback?: (err: AWSError, data: Imagebuilder.Types.GetComponentPolicyResponse) => void): Request<Imagebuilder.Types.GetComponentPolicyResponse, AWSError>;
  190. /**
  191. * Retrieves a container recipe.
  192. */
  193. getContainerRecipe(params: Imagebuilder.Types.GetContainerRecipeRequest, callback?: (err: AWSError, data: Imagebuilder.Types.GetContainerRecipeResponse) => void): Request<Imagebuilder.Types.GetContainerRecipeResponse, AWSError>;
  194. /**
  195. * Retrieves a container recipe.
  196. */
  197. getContainerRecipe(callback?: (err: AWSError, data: Imagebuilder.Types.GetContainerRecipeResponse) => void): Request<Imagebuilder.Types.GetContainerRecipeResponse, AWSError>;
  198. /**
  199. * Retrieves the policy for a container recipe.
  200. */
  201. getContainerRecipePolicy(params: Imagebuilder.Types.GetContainerRecipePolicyRequest, callback?: (err: AWSError, data: Imagebuilder.Types.GetContainerRecipePolicyResponse) => void): Request<Imagebuilder.Types.GetContainerRecipePolicyResponse, AWSError>;
  202. /**
  203. * Retrieves the policy for a container recipe.
  204. */
  205. getContainerRecipePolicy(callback?: (err: AWSError, data: Imagebuilder.Types.GetContainerRecipePolicyResponse) => void): Request<Imagebuilder.Types.GetContainerRecipePolicyResponse, AWSError>;
  206. /**
  207. * Gets a distribution configuration.
  208. */
  209. getDistributionConfiguration(params: Imagebuilder.Types.GetDistributionConfigurationRequest, callback?: (err: AWSError, data: Imagebuilder.Types.GetDistributionConfigurationResponse) => void): Request<Imagebuilder.Types.GetDistributionConfigurationResponse, AWSError>;
  210. /**
  211. * Gets a distribution configuration.
  212. */
  213. getDistributionConfiguration(callback?: (err: AWSError, data: Imagebuilder.Types.GetDistributionConfigurationResponse) => void): Request<Imagebuilder.Types.GetDistributionConfigurationResponse, AWSError>;
  214. /**
  215. * Gets an image.
  216. */
  217. getImage(params: Imagebuilder.Types.GetImageRequest, callback?: (err: AWSError, data: Imagebuilder.Types.GetImageResponse) => void): Request<Imagebuilder.Types.GetImageResponse, AWSError>;
  218. /**
  219. * Gets an image.
  220. */
  221. getImage(callback?: (err: AWSError, data: Imagebuilder.Types.GetImageResponse) => void): Request<Imagebuilder.Types.GetImageResponse, AWSError>;
  222. /**
  223. * Gets an image pipeline.
  224. */
  225. getImagePipeline(params: Imagebuilder.Types.GetImagePipelineRequest, callback?: (err: AWSError, data: Imagebuilder.Types.GetImagePipelineResponse) => void): Request<Imagebuilder.Types.GetImagePipelineResponse, AWSError>;
  226. /**
  227. * Gets an image pipeline.
  228. */
  229. getImagePipeline(callback?: (err: AWSError, data: Imagebuilder.Types.GetImagePipelineResponse) => void): Request<Imagebuilder.Types.GetImagePipelineResponse, AWSError>;
  230. /**
  231. * Gets an image policy.
  232. */
  233. getImagePolicy(params: Imagebuilder.Types.GetImagePolicyRequest, callback?: (err: AWSError, data: Imagebuilder.Types.GetImagePolicyResponse) => void): Request<Imagebuilder.Types.GetImagePolicyResponse, AWSError>;
  234. /**
  235. * Gets an image policy.
  236. */
  237. getImagePolicy(callback?: (err: AWSError, data: Imagebuilder.Types.GetImagePolicyResponse) => void): Request<Imagebuilder.Types.GetImagePolicyResponse, AWSError>;
  238. /**
  239. * Gets an image recipe.
  240. */
  241. getImageRecipe(params: Imagebuilder.Types.GetImageRecipeRequest, callback?: (err: AWSError, data: Imagebuilder.Types.GetImageRecipeResponse) => void): Request<Imagebuilder.Types.GetImageRecipeResponse, AWSError>;
  242. /**
  243. * Gets an image recipe.
  244. */
  245. getImageRecipe(callback?: (err: AWSError, data: Imagebuilder.Types.GetImageRecipeResponse) => void): Request<Imagebuilder.Types.GetImageRecipeResponse, AWSError>;
  246. /**
  247. * Gets an image recipe policy.
  248. */
  249. getImageRecipePolicy(params: Imagebuilder.Types.GetImageRecipePolicyRequest, callback?: (err: AWSError, data: Imagebuilder.Types.GetImageRecipePolicyResponse) => void): Request<Imagebuilder.Types.GetImageRecipePolicyResponse, AWSError>;
  250. /**
  251. * Gets an image recipe policy.
  252. */
  253. getImageRecipePolicy(callback?: (err: AWSError, data: Imagebuilder.Types.GetImageRecipePolicyResponse) => void): Request<Imagebuilder.Types.GetImageRecipePolicyResponse, AWSError>;
  254. /**
  255. * Gets an infrastructure configuration.
  256. */
  257. getInfrastructureConfiguration(params: Imagebuilder.Types.GetInfrastructureConfigurationRequest, callback?: (err: AWSError, data: Imagebuilder.Types.GetInfrastructureConfigurationResponse) => void): Request<Imagebuilder.Types.GetInfrastructureConfigurationResponse, AWSError>;
  258. /**
  259. * Gets an infrastructure configuration.
  260. */
  261. getInfrastructureConfiguration(callback?: (err: AWSError, data: Imagebuilder.Types.GetInfrastructureConfigurationResponse) => void): Request<Imagebuilder.Types.GetInfrastructureConfigurationResponse, AWSError>;
  262. /**
  263. * Get the runtime information that was logged for a specific runtime instance of the lifecycle policy.
  264. */
  265. getLifecycleExecution(params: Imagebuilder.Types.GetLifecycleExecutionRequest, callback?: (err: AWSError, data: Imagebuilder.Types.GetLifecycleExecutionResponse) => void): Request<Imagebuilder.Types.GetLifecycleExecutionResponse, AWSError>;
  266. /**
  267. * Get the runtime information that was logged for a specific runtime instance of the lifecycle policy.
  268. */
  269. getLifecycleExecution(callback?: (err: AWSError, data: Imagebuilder.Types.GetLifecycleExecutionResponse) => void): Request<Imagebuilder.Types.GetLifecycleExecutionResponse, AWSError>;
  270. /**
  271. * Get details for the specified image lifecycle policy.
  272. */
  273. getLifecyclePolicy(params: Imagebuilder.Types.GetLifecyclePolicyRequest, callback?: (err: AWSError, data: Imagebuilder.Types.GetLifecyclePolicyResponse) => void): Request<Imagebuilder.Types.GetLifecyclePolicyResponse, AWSError>;
  274. /**
  275. * Get details for the specified image lifecycle policy.
  276. */
  277. getLifecyclePolicy(callback?: (err: AWSError, data: Imagebuilder.Types.GetLifecyclePolicyResponse) => void): Request<Imagebuilder.Types.GetLifecyclePolicyResponse, AWSError>;
  278. /**
  279. * Get a workflow resource object.
  280. */
  281. getWorkflow(params: Imagebuilder.Types.GetWorkflowRequest, callback?: (err: AWSError, data: Imagebuilder.Types.GetWorkflowResponse) => void): Request<Imagebuilder.Types.GetWorkflowResponse, AWSError>;
  282. /**
  283. * Get a workflow resource object.
  284. */
  285. getWorkflow(callback?: (err: AWSError, data: Imagebuilder.Types.GetWorkflowResponse) => void): Request<Imagebuilder.Types.GetWorkflowResponse, AWSError>;
  286. /**
  287. * Get the runtime information that was logged for a specific runtime instance of the workflow.
  288. */
  289. getWorkflowExecution(params: Imagebuilder.Types.GetWorkflowExecutionRequest, callback?: (err: AWSError, data: Imagebuilder.Types.GetWorkflowExecutionResponse) => void): Request<Imagebuilder.Types.GetWorkflowExecutionResponse, AWSError>;
  290. /**
  291. * Get the runtime information that was logged for a specific runtime instance of the workflow.
  292. */
  293. getWorkflowExecution(callback?: (err: AWSError, data: Imagebuilder.Types.GetWorkflowExecutionResponse) => void): Request<Imagebuilder.Types.GetWorkflowExecutionResponse, AWSError>;
  294. /**
  295. * Get the runtime information that was logged for a specific runtime instance of the workflow step.
  296. */
  297. getWorkflowStepExecution(params: Imagebuilder.Types.GetWorkflowStepExecutionRequest, callback?: (err: AWSError, data: Imagebuilder.Types.GetWorkflowStepExecutionResponse) => void): Request<Imagebuilder.Types.GetWorkflowStepExecutionResponse, AWSError>;
  298. /**
  299. * Get the runtime information that was logged for a specific runtime instance of the workflow step.
  300. */
  301. getWorkflowStepExecution(callback?: (err: AWSError, data: Imagebuilder.Types.GetWorkflowStepExecutionResponse) => void): Request<Imagebuilder.Types.GetWorkflowStepExecutionResponse, AWSError>;
  302. /**
  303. * Imports a component and transforms its data into a component document.
  304. */
  305. importComponent(params: Imagebuilder.Types.ImportComponentRequest, callback?: (err: AWSError, data: Imagebuilder.Types.ImportComponentResponse) => void): Request<Imagebuilder.Types.ImportComponentResponse, AWSError>;
  306. /**
  307. * Imports a component and transforms its data into a component document.
  308. */
  309. importComponent(callback?: (err: AWSError, data: Imagebuilder.Types.ImportComponentResponse) => void): Request<Imagebuilder.Types.ImportComponentResponse, AWSError>;
  310. /**
  311. * When you export your virtual machine (VM) from its virtualization environment, that process creates a set of one or more disk container files that act as snapshots of your VM’s environment, settings, and data. The Amazon EC2 API ImportImage action uses those files to import your VM and create an AMI. To import using the CLI command, see import-image You can reference the task ID from the VM import to pull in the AMI that the import created as the base image for your Image Builder recipe.
  312. */
  313. importVmImage(params: Imagebuilder.Types.ImportVmImageRequest, callback?: (err: AWSError, data: Imagebuilder.Types.ImportVmImageResponse) => void): Request<Imagebuilder.Types.ImportVmImageResponse, AWSError>;
  314. /**
  315. * When you export your virtual machine (VM) from its virtualization environment, that process creates a set of one or more disk container files that act as snapshots of your VM’s environment, settings, and data. The Amazon EC2 API ImportImage action uses those files to import your VM and create an AMI. To import using the CLI command, see import-image You can reference the task ID from the VM import to pull in the AMI that the import created as the base image for your Image Builder recipe.
  316. */
  317. importVmImage(callback?: (err: AWSError, data: Imagebuilder.Types.ImportVmImageResponse) => void): Request<Imagebuilder.Types.ImportVmImageResponse, AWSError>;
  318. /**
  319. * Returns the list of component build versions for the specified semantic version. The semantic version has four nodes: &lt;major&gt;.&lt;minor&gt;.&lt;patch&gt;/&lt;build&gt;. You can assign values for the first three, and can filter on all of them. Filtering: With semantic versioning, you have the flexibility to use wildcards (x) to specify the most recent versions or nodes when selecting the base image or components for your recipe. When you use a wildcard in any node, all nodes to the right of the first wildcard must also be wildcards.
  320. */
  321. listComponentBuildVersions(params: Imagebuilder.Types.ListComponentBuildVersionsRequest, callback?: (err: AWSError, data: Imagebuilder.Types.ListComponentBuildVersionsResponse) => void): Request<Imagebuilder.Types.ListComponentBuildVersionsResponse, AWSError>;
  322. /**
  323. * Returns the list of component build versions for the specified semantic version. The semantic version has four nodes: &lt;major&gt;.&lt;minor&gt;.&lt;patch&gt;/&lt;build&gt;. You can assign values for the first three, and can filter on all of them. Filtering: With semantic versioning, you have the flexibility to use wildcards (x) to specify the most recent versions or nodes when selecting the base image or components for your recipe. When you use a wildcard in any node, all nodes to the right of the first wildcard must also be wildcards.
  324. */
  325. listComponentBuildVersions(callback?: (err: AWSError, data: Imagebuilder.Types.ListComponentBuildVersionsResponse) => void): Request<Imagebuilder.Types.ListComponentBuildVersionsResponse, AWSError>;
  326. /**
  327. * Returns the list of components that can be filtered by name, or by using the listed filters to streamline results. Newly created components can take up to two minutes to appear in the ListComponents API Results. The semantic version has four nodes: &lt;major&gt;.&lt;minor&gt;.&lt;patch&gt;/&lt;build&gt;. You can assign values for the first three, and can filter on all of them. Filtering: With semantic versioning, you have the flexibility to use wildcards (x) to specify the most recent versions or nodes when selecting the base image or components for your recipe. When you use a wildcard in any node, all nodes to the right of the first wildcard must also be wildcards.
  328. */
  329. listComponents(params: Imagebuilder.Types.ListComponentsRequest, callback?: (err: AWSError, data: Imagebuilder.Types.ListComponentsResponse) => void): Request<Imagebuilder.Types.ListComponentsResponse, AWSError>;
  330. /**
  331. * Returns the list of components that can be filtered by name, or by using the listed filters to streamline results. Newly created components can take up to two minutes to appear in the ListComponents API Results. The semantic version has four nodes: &lt;major&gt;.&lt;minor&gt;.&lt;patch&gt;/&lt;build&gt;. You can assign values for the first three, and can filter on all of them. Filtering: With semantic versioning, you have the flexibility to use wildcards (x) to specify the most recent versions or nodes when selecting the base image or components for your recipe. When you use a wildcard in any node, all nodes to the right of the first wildcard must also be wildcards.
  332. */
  333. listComponents(callback?: (err: AWSError, data: Imagebuilder.Types.ListComponentsResponse) => void): Request<Imagebuilder.Types.ListComponentsResponse, AWSError>;
  334. /**
  335. * Returns a list of container recipes.
  336. */
  337. listContainerRecipes(params: Imagebuilder.Types.ListContainerRecipesRequest, callback?: (err: AWSError, data: Imagebuilder.Types.ListContainerRecipesResponse) => void): Request<Imagebuilder.Types.ListContainerRecipesResponse, AWSError>;
  338. /**
  339. * Returns a list of container recipes.
  340. */
  341. listContainerRecipes(callback?: (err: AWSError, data: Imagebuilder.Types.ListContainerRecipesResponse) => void): Request<Imagebuilder.Types.ListContainerRecipesResponse, AWSError>;
  342. /**
  343. * Returns a list of distribution configurations.
  344. */
  345. listDistributionConfigurations(params: Imagebuilder.Types.ListDistributionConfigurationsRequest, callback?: (err: AWSError, data: Imagebuilder.Types.ListDistributionConfigurationsResponse) => void): Request<Imagebuilder.Types.ListDistributionConfigurationsResponse, AWSError>;
  346. /**
  347. * Returns a list of distribution configurations.
  348. */
  349. listDistributionConfigurations(callback?: (err: AWSError, data: Imagebuilder.Types.ListDistributionConfigurationsResponse) => void): Request<Imagebuilder.Types.ListDistributionConfigurationsResponse, AWSError>;
  350. /**
  351. * Returns a list of image build versions.
  352. */
  353. listImageBuildVersions(params: Imagebuilder.Types.ListImageBuildVersionsRequest, callback?: (err: AWSError, data: Imagebuilder.Types.ListImageBuildVersionsResponse) => void): Request<Imagebuilder.Types.ListImageBuildVersionsResponse, AWSError>;
  354. /**
  355. * Returns a list of image build versions.
  356. */
  357. listImageBuildVersions(callback?: (err: AWSError, data: Imagebuilder.Types.ListImageBuildVersionsResponse) => void): Request<Imagebuilder.Types.ListImageBuildVersionsResponse, AWSError>;
  358. /**
  359. * List the Packages that are associated with an Image Build Version, as determined by Amazon Web Services Systems Manager Inventory at build time.
  360. */
  361. listImagePackages(params: Imagebuilder.Types.ListImagePackagesRequest, callback?: (err: AWSError, data: Imagebuilder.Types.ListImagePackagesResponse) => void): Request<Imagebuilder.Types.ListImagePackagesResponse, AWSError>;
  362. /**
  363. * List the Packages that are associated with an Image Build Version, as determined by Amazon Web Services Systems Manager Inventory at build time.
  364. */
  365. listImagePackages(callback?: (err: AWSError, data: Imagebuilder.Types.ListImagePackagesResponse) => void): Request<Imagebuilder.Types.ListImagePackagesResponse, AWSError>;
  366. /**
  367. * Returns a list of images created by the specified pipeline.
  368. */
  369. listImagePipelineImages(params: Imagebuilder.Types.ListImagePipelineImagesRequest, callback?: (err: AWSError, data: Imagebuilder.Types.ListImagePipelineImagesResponse) => void): Request<Imagebuilder.Types.ListImagePipelineImagesResponse, AWSError>;
  370. /**
  371. * Returns a list of images created by the specified pipeline.
  372. */
  373. listImagePipelineImages(callback?: (err: AWSError, data: Imagebuilder.Types.ListImagePipelineImagesResponse) => void): Request<Imagebuilder.Types.ListImagePipelineImagesResponse, AWSError>;
  374. /**
  375. * Returns a list of image pipelines.
  376. */
  377. listImagePipelines(params: Imagebuilder.Types.ListImagePipelinesRequest, callback?: (err: AWSError, data: Imagebuilder.Types.ListImagePipelinesResponse) => void): Request<Imagebuilder.Types.ListImagePipelinesResponse, AWSError>;
  378. /**
  379. * Returns a list of image pipelines.
  380. */
  381. listImagePipelines(callback?: (err: AWSError, data: Imagebuilder.Types.ListImagePipelinesResponse) => void): Request<Imagebuilder.Types.ListImagePipelinesResponse, AWSError>;
  382. /**
  383. * Returns a list of image recipes.
  384. */
  385. listImageRecipes(params: Imagebuilder.Types.ListImageRecipesRequest, callback?: (err: AWSError, data: Imagebuilder.Types.ListImageRecipesResponse) => void): Request<Imagebuilder.Types.ListImageRecipesResponse, AWSError>;
  386. /**
  387. * Returns a list of image recipes.
  388. */
  389. listImageRecipes(callback?: (err: AWSError, data: Imagebuilder.Types.ListImageRecipesResponse) => void): Request<Imagebuilder.Types.ListImageRecipesResponse, AWSError>;
  390. /**
  391. * Returns a list of image scan aggregations for your account. You can filter by the type of key that Image Builder uses to group results. For example, if you want to get a list of findings by severity level for one of your pipelines, you might specify your pipeline with the imagePipelineArn filter. If you don't specify a filter, Image Builder returns an aggregation for your account. To streamline results, you can use the following filters in your request: accountId imageBuildVersionArn imagePipelineArn vulnerabilityId
  392. */
  393. listImageScanFindingAggregations(params: Imagebuilder.Types.ListImageScanFindingAggregationsRequest, callback?: (err: AWSError, data: Imagebuilder.Types.ListImageScanFindingAggregationsResponse) => void): Request<Imagebuilder.Types.ListImageScanFindingAggregationsResponse, AWSError>;
  394. /**
  395. * Returns a list of image scan aggregations for your account. You can filter by the type of key that Image Builder uses to group results. For example, if you want to get a list of findings by severity level for one of your pipelines, you might specify your pipeline with the imagePipelineArn filter. If you don't specify a filter, Image Builder returns an aggregation for your account. To streamline results, you can use the following filters in your request: accountId imageBuildVersionArn imagePipelineArn vulnerabilityId
  396. */
  397. listImageScanFindingAggregations(callback?: (err: AWSError, data: Imagebuilder.Types.ListImageScanFindingAggregationsResponse) => void): Request<Imagebuilder.Types.ListImageScanFindingAggregationsResponse, AWSError>;
  398. /**
  399. * Returns a list of image scan findings for your account.
  400. */
  401. listImageScanFindings(params: Imagebuilder.Types.ListImageScanFindingsRequest, callback?: (err: AWSError, data: Imagebuilder.Types.ListImageScanFindingsResponse) => void): Request<Imagebuilder.Types.ListImageScanFindingsResponse, AWSError>;
  402. /**
  403. * Returns a list of image scan findings for your account.
  404. */
  405. listImageScanFindings(callback?: (err: AWSError, data: Imagebuilder.Types.ListImageScanFindingsResponse) => void): Request<Imagebuilder.Types.ListImageScanFindingsResponse, AWSError>;
  406. /**
  407. * Returns the list of images that you have access to. Newly created images can take up to two minutes to appear in the ListImages API Results.
  408. */
  409. listImages(params: Imagebuilder.Types.ListImagesRequest, callback?: (err: AWSError, data: Imagebuilder.Types.ListImagesResponse) => void): Request<Imagebuilder.Types.ListImagesResponse, AWSError>;
  410. /**
  411. * Returns the list of images that you have access to. Newly created images can take up to two minutes to appear in the ListImages API Results.
  412. */
  413. listImages(callback?: (err: AWSError, data: Imagebuilder.Types.ListImagesResponse) => void): Request<Imagebuilder.Types.ListImagesResponse, AWSError>;
  414. /**
  415. * Returns a list of infrastructure configurations.
  416. */
  417. listInfrastructureConfigurations(params: Imagebuilder.Types.ListInfrastructureConfigurationsRequest, callback?: (err: AWSError, data: Imagebuilder.Types.ListInfrastructureConfigurationsResponse) => void): Request<Imagebuilder.Types.ListInfrastructureConfigurationsResponse, AWSError>;
  418. /**
  419. * Returns a list of infrastructure configurations.
  420. */
  421. listInfrastructureConfigurations(callback?: (err: AWSError, data: Imagebuilder.Types.ListInfrastructureConfigurationsResponse) => void): Request<Imagebuilder.Types.ListInfrastructureConfigurationsResponse, AWSError>;
  422. /**
  423. * List resources that the runtime instance of the image lifecycle identified for lifecycle actions.
  424. */
  425. listLifecycleExecutionResources(params: Imagebuilder.Types.ListLifecycleExecutionResourcesRequest, callback?: (err: AWSError, data: Imagebuilder.Types.ListLifecycleExecutionResourcesResponse) => void): Request<Imagebuilder.Types.ListLifecycleExecutionResourcesResponse, AWSError>;
  426. /**
  427. * List resources that the runtime instance of the image lifecycle identified for lifecycle actions.
  428. */
  429. listLifecycleExecutionResources(callback?: (err: AWSError, data: Imagebuilder.Types.ListLifecycleExecutionResourcesResponse) => void): Request<Imagebuilder.Types.ListLifecycleExecutionResourcesResponse, AWSError>;
  430. /**
  431. * Get the lifecycle runtime history for the specified resource.
  432. */
  433. listLifecycleExecutions(params: Imagebuilder.Types.ListLifecycleExecutionsRequest, callback?: (err: AWSError, data: Imagebuilder.Types.ListLifecycleExecutionsResponse) => void): Request<Imagebuilder.Types.ListLifecycleExecutionsResponse, AWSError>;
  434. /**
  435. * Get the lifecycle runtime history for the specified resource.
  436. */
  437. listLifecycleExecutions(callback?: (err: AWSError, data: Imagebuilder.Types.ListLifecycleExecutionsResponse) => void): Request<Imagebuilder.Types.ListLifecycleExecutionsResponse, AWSError>;
  438. /**
  439. * Get a list of lifecycle policies in your Amazon Web Services account.
  440. */
  441. listLifecyclePolicies(params: Imagebuilder.Types.ListLifecyclePoliciesRequest, callback?: (err: AWSError, data: Imagebuilder.Types.ListLifecyclePoliciesResponse) => void): Request<Imagebuilder.Types.ListLifecyclePoliciesResponse, AWSError>;
  442. /**
  443. * Get a list of lifecycle policies in your Amazon Web Services account.
  444. */
  445. listLifecyclePolicies(callback?: (err: AWSError, data: Imagebuilder.Types.ListLifecyclePoliciesResponse) => void): Request<Imagebuilder.Types.ListLifecyclePoliciesResponse, AWSError>;
  446. /**
  447. * Returns the list of tags for the specified resource.
  448. */
  449. listTagsForResource(params: Imagebuilder.Types.ListTagsForResourceRequest, callback?: (err: AWSError, data: Imagebuilder.Types.ListTagsForResourceResponse) => void): Request<Imagebuilder.Types.ListTagsForResourceResponse, AWSError>;
  450. /**
  451. * Returns the list of tags for the specified resource.
  452. */
  453. listTagsForResource(callback?: (err: AWSError, data: Imagebuilder.Types.ListTagsForResourceResponse) => void): Request<Imagebuilder.Types.ListTagsForResourceResponse, AWSError>;
  454. /**
  455. * Get a list of workflow steps that are waiting for action for workflows in your Amazon Web Services account.
  456. */
  457. listWaitingWorkflowSteps(params: Imagebuilder.Types.ListWaitingWorkflowStepsRequest, callback?: (err: AWSError, data: Imagebuilder.Types.ListWaitingWorkflowStepsResponse) => void): Request<Imagebuilder.Types.ListWaitingWorkflowStepsResponse, AWSError>;
  458. /**
  459. * Get a list of workflow steps that are waiting for action for workflows in your Amazon Web Services account.
  460. */
  461. listWaitingWorkflowSteps(callback?: (err: AWSError, data: Imagebuilder.Types.ListWaitingWorkflowStepsResponse) => void): Request<Imagebuilder.Types.ListWaitingWorkflowStepsResponse, AWSError>;
  462. /**
  463. * Returns a list of build versions for a specific workflow resource.
  464. */
  465. listWorkflowBuildVersions(params: Imagebuilder.Types.ListWorkflowBuildVersionsRequest, callback?: (err: AWSError, data: Imagebuilder.Types.ListWorkflowBuildVersionsResponse) => void): Request<Imagebuilder.Types.ListWorkflowBuildVersionsResponse, AWSError>;
  466. /**
  467. * Returns a list of build versions for a specific workflow resource.
  468. */
  469. listWorkflowBuildVersions(callback?: (err: AWSError, data: Imagebuilder.Types.ListWorkflowBuildVersionsResponse) => void): Request<Imagebuilder.Types.ListWorkflowBuildVersionsResponse, AWSError>;
  470. /**
  471. * Returns a list of workflow runtime instance metadata objects for a specific image build version.
  472. */
  473. listWorkflowExecutions(params: Imagebuilder.Types.ListWorkflowExecutionsRequest, callback?: (err: AWSError, data: Imagebuilder.Types.ListWorkflowExecutionsResponse) => void): Request<Imagebuilder.Types.ListWorkflowExecutionsResponse, AWSError>;
  474. /**
  475. * Returns a list of workflow runtime instance metadata objects for a specific image build version.
  476. */
  477. listWorkflowExecutions(callback?: (err: AWSError, data: Imagebuilder.Types.ListWorkflowExecutionsResponse) => void): Request<Imagebuilder.Types.ListWorkflowExecutionsResponse, AWSError>;
  478. /**
  479. * Returns runtime data for each step in a runtime instance of the workflow that you specify in the request.
  480. */
  481. listWorkflowStepExecutions(params: Imagebuilder.Types.ListWorkflowStepExecutionsRequest, callback?: (err: AWSError, data: Imagebuilder.Types.ListWorkflowStepExecutionsResponse) => void): Request<Imagebuilder.Types.ListWorkflowStepExecutionsResponse, AWSError>;
  482. /**
  483. * Returns runtime data for each step in a runtime instance of the workflow that you specify in the request.
  484. */
  485. listWorkflowStepExecutions(callback?: (err: AWSError, data: Imagebuilder.Types.ListWorkflowStepExecutionsResponse) => void): Request<Imagebuilder.Types.ListWorkflowStepExecutionsResponse, AWSError>;
  486. /**
  487. * Lists workflow build versions based on filtering parameters.
  488. */
  489. listWorkflows(params: Imagebuilder.Types.ListWorkflowsRequest, callback?: (err: AWSError, data: Imagebuilder.Types.ListWorkflowsResponse) => void): Request<Imagebuilder.Types.ListWorkflowsResponse, AWSError>;
  490. /**
  491. * Lists workflow build versions based on filtering parameters.
  492. */
  493. listWorkflows(callback?: (err: AWSError, data: Imagebuilder.Types.ListWorkflowsResponse) => void): Request<Imagebuilder.Types.ListWorkflowsResponse, AWSError>;
  494. /**
  495. * Applies a policy to a component. We recommend that you call the RAM API CreateResourceShare to share resources. If you call the Image Builder API PutComponentPolicy, you must also call the RAM API PromoteResourceShareCreatedFromPolicy in order for the resource to be visible to all principals with whom the resource is shared.
  496. */
  497. putComponentPolicy(params: Imagebuilder.Types.PutComponentPolicyRequest, callback?: (err: AWSError, data: Imagebuilder.Types.PutComponentPolicyResponse) => void): Request<Imagebuilder.Types.PutComponentPolicyResponse, AWSError>;
  498. /**
  499. * Applies a policy to a component. We recommend that you call the RAM API CreateResourceShare to share resources. If you call the Image Builder API PutComponentPolicy, you must also call the RAM API PromoteResourceShareCreatedFromPolicy in order for the resource to be visible to all principals with whom the resource is shared.
  500. */
  501. putComponentPolicy(callback?: (err: AWSError, data: Imagebuilder.Types.PutComponentPolicyResponse) => void): Request<Imagebuilder.Types.PutComponentPolicyResponse, AWSError>;
  502. /**
  503. * Applies a policy to a container image. We recommend that you call the RAM API CreateResourceShare (https://docs.aws.amazon.com//ram/latest/APIReference/API_CreateResourceShare.html) to share resources. If you call the Image Builder API PutContainerImagePolicy, you must also call the RAM API PromoteResourceShareCreatedFromPolicy (https://docs.aws.amazon.com//ram/latest/APIReference/API_PromoteResourceShareCreatedFromPolicy.html) in order for the resource to be visible to all principals with whom the resource is shared.
  504. */
  505. putContainerRecipePolicy(params: Imagebuilder.Types.PutContainerRecipePolicyRequest, callback?: (err: AWSError, data: Imagebuilder.Types.PutContainerRecipePolicyResponse) => void): Request<Imagebuilder.Types.PutContainerRecipePolicyResponse, AWSError>;
  506. /**
  507. * Applies a policy to a container image. We recommend that you call the RAM API CreateResourceShare (https://docs.aws.amazon.com//ram/latest/APIReference/API_CreateResourceShare.html) to share resources. If you call the Image Builder API PutContainerImagePolicy, you must also call the RAM API PromoteResourceShareCreatedFromPolicy (https://docs.aws.amazon.com//ram/latest/APIReference/API_PromoteResourceShareCreatedFromPolicy.html) in order for the resource to be visible to all principals with whom the resource is shared.
  508. */
  509. putContainerRecipePolicy(callback?: (err: AWSError, data: Imagebuilder.Types.PutContainerRecipePolicyResponse) => void): Request<Imagebuilder.Types.PutContainerRecipePolicyResponse, AWSError>;
  510. /**
  511. * Applies a policy to an image. We recommend that you call the RAM API CreateResourceShare to share resources. If you call the Image Builder API PutImagePolicy, you must also call the RAM API PromoteResourceShareCreatedFromPolicy in order for the resource to be visible to all principals with whom the resource is shared.
  512. */
  513. putImagePolicy(params: Imagebuilder.Types.PutImagePolicyRequest, callback?: (err: AWSError, data: Imagebuilder.Types.PutImagePolicyResponse) => void): Request<Imagebuilder.Types.PutImagePolicyResponse, AWSError>;
  514. /**
  515. * Applies a policy to an image. We recommend that you call the RAM API CreateResourceShare to share resources. If you call the Image Builder API PutImagePolicy, you must also call the RAM API PromoteResourceShareCreatedFromPolicy in order for the resource to be visible to all principals with whom the resource is shared.
  516. */
  517. putImagePolicy(callback?: (err: AWSError, data: Imagebuilder.Types.PutImagePolicyResponse) => void): Request<Imagebuilder.Types.PutImagePolicyResponse, AWSError>;
  518. /**
  519. * Applies a policy to an image recipe. We recommend that you call the RAM API CreateResourceShare to share resources. If you call the Image Builder API PutImageRecipePolicy, you must also call the RAM API PromoteResourceShareCreatedFromPolicy in order for the resource to be visible to all principals with whom the resource is shared.
  520. */
  521. putImageRecipePolicy(params: Imagebuilder.Types.PutImageRecipePolicyRequest, callback?: (err: AWSError, data: Imagebuilder.Types.PutImageRecipePolicyResponse) => void): Request<Imagebuilder.Types.PutImageRecipePolicyResponse, AWSError>;
  522. /**
  523. * Applies a policy to an image recipe. We recommend that you call the RAM API CreateResourceShare to share resources. If you call the Image Builder API PutImageRecipePolicy, you must also call the RAM API PromoteResourceShareCreatedFromPolicy in order for the resource to be visible to all principals with whom the resource is shared.
  524. */
  525. putImageRecipePolicy(callback?: (err: AWSError, data: Imagebuilder.Types.PutImageRecipePolicyResponse) => void): Request<Imagebuilder.Types.PutImageRecipePolicyResponse, AWSError>;
  526. /**
  527. * Pauses or resumes image creation when the associated workflow runs a WaitForAction step.
  528. */
  529. sendWorkflowStepAction(params: Imagebuilder.Types.SendWorkflowStepActionRequest, callback?: (err: AWSError, data: Imagebuilder.Types.SendWorkflowStepActionResponse) => void): Request<Imagebuilder.Types.SendWorkflowStepActionResponse, AWSError>;
  530. /**
  531. * Pauses or resumes image creation when the associated workflow runs a WaitForAction step.
  532. */
  533. sendWorkflowStepAction(callback?: (err: AWSError, data: Imagebuilder.Types.SendWorkflowStepActionResponse) => void): Request<Imagebuilder.Types.SendWorkflowStepActionResponse, AWSError>;
  534. /**
  535. * Manually triggers a pipeline to create an image.
  536. */
  537. startImagePipelineExecution(params: Imagebuilder.Types.StartImagePipelineExecutionRequest, callback?: (err: AWSError, data: Imagebuilder.Types.StartImagePipelineExecutionResponse) => void): Request<Imagebuilder.Types.StartImagePipelineExecutionResponse, AWSError>;
  538. /**
  539. * Manually triggers a pipeline to create an image.
  540. */
  541. startImagePipelineExecution(callback?: (err: AWSError, data: Imagebuilder.Types.StartImagePipelineExecutionResponse) => void): Request<Imagebuilder.Types.StartImagePipelineExecutionResponse, AWSError>;
  542. /**
  543. * Begin asynchronous resource state update for lifecycle changes to the specified image resources.
  544. */
  545. startResourceStateUpdate(params: Imagebuilder.Types.StartResourceStateUpdateRequest, callback?: (err: AWSError, data: Imagebuilder.Types.StartResourceStateUpdateResponse) => void): Request<Imagebuilder.Types.StartResourceStateUpdateResponse, AWSError>;
  546. /**
  547. * Begin asynchronous resource state update for lifecycle changes to the specified image resources.
  548. */
  549. startResourceStateUpdate(callback?: (err: AWSError, data: Imagebuilder.Types.StartResourceStateUpdateResponse) => void): Request<Imagebuilder.Types.StartResourceStateUpdateResponse, AWSError>;
  550. /**
  551. * Adds a tag to a resource.
  552. */
  553. tagResource(params: Imagebuilder.Types.TagResourceRequest, callback?: (err: AWSError, data: Imagebuilder.Types.TagResourceResponse) => void): Request<Imagebuilder.Types.TagResourceResponse, AWSError>;
  554. /**
  555. * Adds a tag to a resource.
  556. */
  557. tagResource(callback?: (err: AWSError, data: Imagebuilder.Types.TagResourceResponse) => void): Request<Imagebuilder.Types.TagResourceResponse, AWSError>;
  558. /**
  559. * Removes a tag from a resource.
  560. */
  561. untagResource(params: Imagebuilder.Types.UntagResourceRequest, callback?: (err: AWSError, data: Imagebuilder.Types.UntagResourceResponse) => void): Request<Imagebuilder.Types.UntagResourceResponse, AWSError>;
  562. /**
  563. * Removes a tag from a resource.
  564. */
  565. untagResource(callback?: (err: AWSError, data: Imagebuilder.Types.UntagResourceResponse) => void): Request<Imagebuilder.Types.UntagResourceResponse, AWSError>;
  566. /**
  567. * Updates a new distribution configuration. Distribution configurations define and configure the outputs of your pipeline.
  568. */
  569. updateDistributionConfiguration(params: Imagebuilder.Types.UpdateDistributionConfigurationRequest, callback?: (err: AWSError, data: Imagebuilder.Types.UpdateDistributionConfigurationResponse) => void): Request<Imagebuilder.Types.UpdateDistributionConfigurationResponse, AWSError>;
  570. /**
  571. * Updates a new distribution configuration. Distribution configurations define and configure the outputs of your pipeline.
  572. */
  573. updateDistributionConfiguration(callback?: (err: AWSError, data: Imagebuilder.Types.UpdateDistributionConfigurationResponse) => void): Request<Imagebuilder.Types.UpdateDistributionConfigurationResponse, AWSError>;
  574. /**
  575. * Updates an image pipeline. Image pipelines enable you to automate the creation and distribution of images. You must specify exactly one recipe for your image, using either a containerRecipeArn or an imageRecipeArn. UpdateImagePipeline does not support selective updates for the pipeline. You must specify all of the required properties in the update request, not just the properties that have changed.
  576. */
  577. updateImagePipeline(params: Imagebuilder.Types.UpdateImagePipelineRequest, callback?: (err: AWSError, data: Imagebuilder.Types.UpdateImagePipelineResponse) => void): Request<Imagebuilder.Types.UpdateImagePipelineResponse, AWSError>;
  578. /**
  579. * Updates an image pipeline. Image pipelines enable you to automate the creation and distribution of images. You must specify exactly one recipe for your image, using either a containerRecipeArn or an imageRecipeArn. UpdateImagePipeline does not support selective updates for the pipeline. You must specify all of the required properties in the update request, not just the properties that have changed.
  580. */
  581. updateImagePipeline(callback?: (err: AWSError, data: Imagebuilder.Types.UpdateImagePipelineResponse) => void): Request<Imagebuilder.Types.UpdateImagePipelineResponse, AWSError>;
  582. /**
  583. * Updates a new infrastructure configuration. An infrastructure configuration defines the environment in which your image will be built and tested.
  584. */
  585. updateInfrastructureConfiguration(params: Imagebuilder.Types.UpdateInfrastructureConfigurationRequest, callback?: (err: AWSError, data: Imagebuilder.Types.UpdateInfrastructureConfigurationResponse) => void): Request<Imagebuilder.Types.UpdateInfrastructureConfigurationResponse, AWSError>;
  586. /**
  587. * Updates a new infrastructure configuration. An infrastructure configuration defines the environment in which your image will be built and tested.
  588. */
  589. updateInfrastructureConfiguration(callback?: (err: AWSError, data: Imagebuilder.Types.UpdateInfrastructureConfigurationResponse) => void): Request<Imagebuilder.Types.UpdateInfrastructureConfigurationResponse, AWSError>;
  590. /**
  591. * Update the specified lifecycle policy.
  592. */
  593. updateLifecyclePolicy(params: Imagebuilder.Types.UpdateLifecyclePolicyRequest, callback?: (err: AWSError, data: Imagebuilder.Types.UpdateLifecyclePolicyResponse) => void): Request<Imagebuilder.Types.UpdateLifecyclePolicyResponse, AWSError>;
  594. /**
  595. * Update the specified lifecycle policy.
  596. */
  597. updateLifecyclePolicy(callback?: (err: AWSError, data: Imagebuilder.Types.UpdateLifecyclePolicyResponse) => void): Request<Imagebuilder.Types.UpdateLifecyclePolicyResponse, AWSError>;
  598. }
  599. declare namespace Imagebuilder {
  600. export interface AccountAggregation {
  601. /**
  602. * Identifies the account that owns the aggregated resource findings.
  603. */
  604. accountId?: NonEmptyString;
  605. /**
  606. * Counts by severity level for medium severity and higher level findings, plus a total for all of the findings.
  607. */
  608. severityCounts?: SeverityCounts;
  609. }
  610. export type AccountId = string;
  611. export type AccountList = AccountId[];
  612. export interface AdditionalInstanceConfiguration {
  613. /**
  614. * Contains settings for the Systems Manager agent on your build instance.
  615. */
  616. systemsManagerAgent?: SystemsManagerAgent;
  617. /**
  618. * Use this property to provide commands or a command script to run when you launch your build instance. The userDataOverride property replaces any commands that Image Builder might have added to ensure that Systems Manager is installed on your Linux build instance. If you override the user data, make sure that you add commands to install Systems Manager, if it is not pre-installed on your base image. The user data is always base 64 encoded. For example, the following commands are encoded as IyEvYmluL2Jhc2gKbWtkaXIgLXAgL3Zhci9iYi8KdG91Y2ggL3Zhci$: #!/bin/bash mkdir -p /var/bb/ touch /var
  619. */
  620. userDataOverride?: UserDataOverride;
  621. }
  622. export interface Ami {
  623. /**
  624. * The Amazon Web Services Region of the Amazon EC2 AMI.
  625. */
  626. region?: NonEmptyString;
  627. /**
  628. * The AMI ID of the Amazon EC2 AMI.
  629. */
  630. image?: NonEmptyString;
  631. /**
  632. * The name of the Amazon EC2 AMI.
  633. */
  634. name?: NonEmptyString;
  635. /**
  636. * The description of the Amazon EC2 AMI. Minimum and maximum length are in characters.
  637. */
  638. description?: NonEmptyString;
  639. state?: ImageState;
  640. /**
  641. * The account ID of the owner of the AMI.
  642. */
  643. accountId?: NonEmptyString;
  644. }
  645. export interface AmiDistributionConfiguration {
  646. /**
  647. * The name of the output AMI.
  648. */
  649. name?: AmiNameString;
  650. /**
  651. * The description of the AMI distribution configuration. Minimum and maximum length are in characters.
  652. */
  653. description?: NonEmptyString;
  654. /**
  655. * The ID of an account to which you want to distribute an image.
  656. */
  657. targetAccountIds?: AccountList;
  658. /**
  659. * The tags to apply to AMIs distributed to this Region.
  660. */
  661. amiTags?: TagMap;
  662. /**
  663. * The KMS key identifier used to encrypt the distributed image.
  664. */
  665. kmsKeyId?: NonEmptyString;
  666. /**
  667. * Launch permissions can be used to configure which Amazon Web Services accounts can use the AMI to launch instances.
  668. */
  669. launchPermission?: LaunchPermissionConfiguration;
  670. }
  671. export type AmiList = Ami[];
  672. export type AmiNameString = string;
  673. export type Arn = string;
  674. export type Boolean = boolean;
  675. export type BuildType = "USER_INITIATED"|"SCHEDULED"|"IMPORT"|string;
  676. export interface CancelImageCreationRequest {
  677. /**
  678. * The Amazon Resource Name (ARN) of the image that you want to cancel creation for.
  679. */
  680. imageBuildVersionArn: ImageBuildVersionArn;
  681. /**
  682. * Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see Ensuring idempotency in the Amazon EC2 API Reference.
  683. */
  684. clientToken: ClientToken;
  685. }
  686. export interface CancelImageCreationResponse {
  687. /**
  688. * The request ID that uniquely identifies this request.
  689. */
  690. requestId?: NonEmptyString;
  691. /**
  692. * The client token that uniquely identifies the request.
  693. */
  694. clientToken?: ClientToken;
  695. /**
  696. * The ARN of the image whose creation this request canceled.
  697. */
  698. imageBuildVersionArn?: ImageBuildVersionArn;
  699. }
  700. export interface CancelLifecycleExecutionRequest {
  701. /**
  702. * Identifies the specific runtime instance of the image lifecycle to cancel.
  703. */
  704. lifecycleExecutionId: LifecycleExecutionId;
  705. /**
  706. * Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see Ensuring idempotency in the Amazon EC2 API Reference.
  707. */
  708. clientToken: ClientToken;
  709. }
  710. export interface CancelLifecycleExecutionResponse {
  711. /**
  712. * The unique identifier for the image lifecycle runtime instance that was canceled.
  713. */
  714. lifecycleExecutionId?: LifecycleExecutionId;
  715. }
  716. export type ClientToken = string;
  717. export interface Component {
  718. /**
  719. * The Amazon Resource Name (ARN) of the component.
  720. */
  721. arn?: ImageBuilderArn;
  722. /**
  723. * The name of the component.
  724. */
  725. name?: ResourceName;
  726. /**
  727. * The version of the component.
  728. */
  729. version?: VersionNumber;
  730. /**
  731. * The description of the component.
  732. */
  733. description?: NonEmptyString;
  734. /**
  735. * Describes what change has been made in this version of the component, or what makes this version different from other versions of the component.
  736. */
  737. changeDescription?: NonEmptyString;
  738. /**
  739. * The component type specifies whether Image Builder uses the component to build the image or only to test it.
  740. */
  741. type?: ComponentType;
  742. /**
  743. * The operating system platform of the component.
  744. */
  745. platform?: Platform;
  746. /**
  747. * The operating system (OS) version supported by the component. If the OS information is available, Image Builder performs a prefix match against the base image OS version during image recipe creation.
  748. */
  749. supportedOsVersions?: OsVersionList;
  750. /**
  751. * Describes the current status of the component. This is used for components that are no longer active.
  752. */
  753. state?: ComponentState;
  754. /**
  755. * Contains parameter details for each of the parameters that the component document defined for the component.
  756. */
  757. parameters?: ComponentParameterDetailList;
  758. /**
  759. * The owner of the component.
  760. */
  761. owner?: NonEmptyString;
  762. /**
  763. * Component data contains the YAML document content for the component.
  764. */
  765. data?: ComponentData;
  766. /**
  767. * The KMS key identifier used to encrypt the component.
  768. */
  769. kmsKeyId?: NonEmptyString;
  770. /**
  771. * The encryption status of the component.
  772. */
  773. encrypted?: NullableBoolean;
  774. /**
  775. * The date that Image Builder created the component.
  776. */
  777. dateCreated?: DateTime;
  778. /**
  779. * The tags that apply to the component.
  780. */
  781. tags?: TagMap;
  782. /**
  783. * Contains the name of the publisher if this is a third-party component. Otherwise, this property is empty.
  784. */
  785. publisher?: NonEmptyString;
  786. /**
  787. * Indicates whether component source is hidden from view in the console, and from component detail results for API, CLI, or SDK operations.
  788. */
  789. obfuscate?: Boolean;
  790. }
  791. export type ComponentBuildVersionArn = string;
  792. export interface ComponentConfiguration {
  793. /**
  794. * The Amazon Resource Name (ARN) of the component.
  795. */
  796. componentArn: ComponentVersionArnOrBuildVersionArn;
  797. /**
  798. * A group of parameter settings that Image Builder uses to configure the component for a specific recipe.
  799. */
  800. parameters?: ComponentParameterList;
  801. }
  802. export type ComponentConfigurationList = ComponentConfiguration[];
  803. export type ComponentData = string;
  804. export type ComponentFormat = "SHELL"|string;
  805. export interface ComponentParameter {
  806. /**
  807. * The name of the component parameter to set.
  808. */
  809. name: ComponentParameterName;
  810. /**
  811. * Sets the value for the named component parameter.
  812. */
  813. value: ComponentParameterValueList;
  814. }
  815. export type ComponentParameterDescription = string;
  816. export interface ComponentParameterDetail {
  817. /**
  818. * The name of this input parameter.
  819. */
  820. name: ComponentParameterName;
  821. /**
  822. * The type of input this parameter provides. The currently supported value is "string".
  823. */
  824. type: ComponentParameterType;
  825. /**
  826. * The default value of this parameter if no input is provided.
  827. */
  828. defaultValue?: ComponentParameterValueList;
  829. /**
  830. * Describes this parameter.
  831. */
  832. description?: ComponentParameterDescription;
  833. }
  834. export type ComponentParameterDetailList = ComponentParameterDetail[];
  835. export type ComponentParameterList = ComponentParameter[];
  836. export type ComponentParameterName = string;
  837. export type ComponentParameterType = string;
  838. export type ComponentParameterValue = string;
  839. export type ComponentParameterValueList = ComponentParameterValue[];
  840. export interface ComponentState {
  841. /**
  842. * The current state of the component.
  843. */
  844. status?: ComponentStatus;
  845. /**
  846. * Describes how or why the component changed state.
  847. */
  848. reason?: NonEmptyString;
  849. }
  850. export type ComponentStatus = "DEPRECATED"|string;
  851. export interface ComponentSummary {
  852. /**
  853. * The Amazon Resource Name (ARN) of the component.
  854. */
  855. arn?: ImageBuilderArn;
  856. /**
  857. * The name of the component.
  858. */
  859. name?: ResourceName;
  860. /**
  861. * The version of the component.
  862. */
  863. version?: VersionNumber;
  864. /**
  865. * The operating system platform of the component.
  866. */
  867. platform?: Platform;
  868. /**
  869. * The operating system (OS) version that the component supports. If the OS information is available, Image Builder performs a prefix match against the base image OS version during image recipe creation.
  870. */
  871. supportedOsVersions?: OsVersionList;
  872. /**
  873. * Describes the current status of the component.
  874. */
  875. state?: ComponentState;
  876. /**
  877. * The component type specifies whether Image Builder uses the component to build the image or only to test it.
  878. */
  879. type?: ComponentType;
  880. /**
  881. * The owner of the component.
  882. */
  883. owner?: NonEmptyString;
  884. /**
  885. * The description of the component.
  886. */
  887. description?: NonEmptyString;
  888. /**
  889. * The change description for the current version of the component.
  890. */
  891. changeDescription?: NonEmptyString;
  892. /**
  893. * The original creation date of the component.
  894. */
  895. dateCreated?: DateTime;
  896. /**
  897. * The tags that apply to the component.
  898. */
  899. tags?: TagMap;
  900. /**
  901. * Contains the name of the publisher if this is a third-party component. Otherwise, this property is empty.
  902. */
  903. publisher?: NonEmptyString;
  904. /**
  905. * Indicates whether component source is hidden from view in the console, and from component detail results for API, CLI, or SDK operations.
  906. */
  907. obfuscate?: Boolean;
  908. }
  909. export type ComponentSummaryList = ComponentSummary[];
  910. export type ComponentType = "BUILD"|"TEST"|string;
  911. export interface ComponentVersion {
  912. /**
  913. * The Amazon Resource Name (ARN) of the component. Semantic versioning is included in each object's Amazon Resource Name (ARN), at the level that applies to that object as follows: Versionless ARNs and Name ARNs do not include specific values in any of the nodes. The nodes are either left off entirely, or they are specified as wildcards, for example: x.x.x. Version ARNs have only the first three nodes: &lt;major&gt;.&lt;minor&gt;.&lt;patch&gt; Build version ARNs have all four nodes, and point to a specific build for a specific version of an object.
  914. */
  915. arn?: ImageBuilderArn;
  916. /**
  917. * The name of the component.
  918. */
  919. name?: ResourceName;
  920. /**
  921. * The semantic version of the component. The semantic version has four nodes: &lt;major&gt;.&lt;minor&gt;.&lt;patch&gt;/&lt;build&gt;. You can assign values for the first three, and can filter on all of them. Assignment: For the first three nodes you can assign any positive integer value, including zero, with an upper limit of 2^30-1, or 1073741823 for each node. Image Builder automatically assigns the build number to the fourth node. Patterns: You can use any numeric pattern that adheres to the assignment requirements for the nodes that you can assign. For example, you might choose a software version pattern, such as 1.0.0, or a date, such as 2021.01.01. Filtering: With semantic versioning, you have the flexibility to use wildcards (x) to specify the most recent versions or nodes when selecting the base image or components for your recipe. When you use a wildcard in any node, all nodes to the right of the first wildcard must also be wildcards.
  922. */
  923. version?: VersionNumber;
  924. /**
  925. * The description of the component.
  926. */
  927. description?: NonEmptyString;
  928. /**
  929. * The platform of the component.
  930. */
  931. platform?: Platform;
  932. /**
  933. * he operating system (OS) version supported by the component. If the OS information is available, a prefix match is performed against the base image OS version during image recipe creation.
  934. */
  935. supportedOsVersions?: OsVersionList;
  936. /**
  937. * The type of the component denotes whether the component is used to build the image or only to test it.
  938. */
  939. type?: ComponentType;
  940. /**
  941. * The owner of the component.
  942. */
  943. owner?: NonEmptyString;
  944. /**
  945. * The date that the component was created.
  946. */
  947. dateCreated?: DateTime;
  948. }
  949. export type ComponentVersionArn = string;
  950. export type ComponentVersionArnOrBuildVersionArn = string;
  951. export type ComponentVersionList = ComponentVersion[];
  952. export interface Container {
  953. /**
  954. * Containers and container images are Region-specific. This is the Region context for the container.
  955. */
  956. region?: NonEmptyString;
  957. /**
  958. * A list of URIs for containers created in the context Region.
  959. */
  960. imageUris?: StringList;
  961. }
  962. export interface ContainerDistributionConfiguration {
  963. /**
  964. * The description of the container distribution configuration.
  965. */
  966. description?: NonEmptyString;
  967. /**
  968. * Tags that are attached to the container distribution configuration.
  969. */
  970. containerTags?: StringList;
  971. /**
  972. * The destination repository for the container distribution configuration.
  973. */
  974. targetRepository: TargetContainerRepository;
  975. }
  976. export type ContainerList = Container[];
  977. export interface ContainerRecipe {
  978. /**
  979. * The Amazon Resource Name (ARN) of the container recipe. Semantic versioning is included in each object's Amazon Resource Name (ARN), at the level that applies to that object as follows: Versionless ARNs and Name ARNs do not include specific values in any of the nodes. The nodes are either left off entirely, or they are specified as wildcards, for example: x.x.x. Version ARNs have only the first three nodes: &lt;major&gt;.&lt;minor&gt;.&lt;patch&gt; Build version ARNs have all four nodes, and point to a specific build for a specific version of an object.
  980. */
  981. arn?: ImageBuilderArn;
  982. /**
  983. * Specifies the type of container, such as Docker.
  984. */
  985. containerType?: ContainerType;
  986. /**
  987. * The name of the container recipe.
  988. */
  989. name?: ResourceName;
  990. /**
  991. * The description of the container recipe.
  992. */
  993. description?: NonEmptyString;
  994. /**
  995. * The system platform for the container, such as Windows or Linux.
  996. */
  997. platform?: Platform;
  998. /**
  999. * The owner of the container recipe.
  1000. */
  1001. owner?: NonEmptyString;
  1002. /**
  1003. * The semantic version of the container recipe. The semantic version has four nodes: &lt;major&gt;.&lt;minor&gt;.&lt;patch&gt;/&lt;build&gt;. You can assign values for the first three, and can filter on all of them. Assignment: For the first three nodes you can assign any positive integer value, including zero, with an upper limit of 2^30-1, or 1073741823 for each node. Image Builder automatically assigns the build number to the fourth node. Patterns: You can use any numeric pattern that adheres to the assignment requirements for the nodes that you can assign. For example, you might choose a software version pattern, such as 1.0.0, or a date, such as 2021.01.01. Filtering: With semantic versioning, you have the flexibility to use wildcards (x) to specify the most recent versions or nodes when selecting the base image or components for your recipe. When you use a wildcard in any node, all nodes to the right of the first wildcard must also be wildcards.
  1004. */
  1005. version?: VersionNumber;
  1006. /**
  1007. * Build and test components that are included in the container recipe. Recipes require a minimum of one build component, and can have a maximum of 20 build and test components in any combination.
  1008. */
  1009. components?: ComponentConfigurationList;
  1010. /**
  1011. * A group of options that can be used to configure an instance for building and testing container images.
  1012. */
  1013. instanceConfiguration?: InstanceConfiguration;
  1014. /**
  1015. * Dockerfiles are text documents that are used to build Docker containers, and ensure that they contain all of the elements required by the application running inside. The template data consists of contextual variables where Image Builder places build information or scripts, based on your container image recipe.
  1016. */
  1017. dockerfileTemplateData?: DockerFileTemplate;
  1018. /**
  1019. * Identifies which KMS key is used to encrypt the container image for distribution to the target Region.
  1020. */
  1021. kmsKeyId?: NonEmptyString;
  1022. /**
  1023. * A flag that indicates if the target container is encrypted.
  1024. */
  1025. encrypted?: NullableBoolean;
  1026. /**
  1027. * The base image for the container recipe.
  1028. */
  1029. parentImage?: NonEmptyString;
  1030. /**
  1031. * The date when this container recipe was created.
  1032. */
  1033. dateCreated?: DateTime;
  1034. /**
  1035. * Tags that are attached to the container recipe.
  1036. */
  1037. tags?: TagMap;
  1038. /**
  1039. * The working directory for use during build and test workflows.
  1040. */
  1041. workingDirectory?: NonEmptyString;
  1042. /**
  1043. * The destination repository for the container image.
  1044. */
  1045. targetRepository?: TargetContainerRepository;
  1046. }
  1047. export type ContainerRecipeArn = string;
  1048. export interface ContainerRecipeSummary {
  1049. /**
  1050. * The Amazon Resource Name (ARN) of the container recipe.
  1051. */
  1052. arn?: ImageBuilderArn;
  1053. /**
  1054. * Specifies the type of container, such as "Docker".
  1055. */
  1056. containerType?: ContainerType;
  1057. /**
  1058. * The name of the container recipe.
  1059. */
  1060. name?: ResourceName;
  1061. /**
  1062. * The system platform for the container, such as Windows or Linux.
  1063. */
  1064. platform?: Platform;
  1065. /**
  1066. * The owner of the container recipe.
  1067. */
  1068. owner?: NonEmptyString;
  1069. /**
  1070. * The base image for the container recipe.
  1071. */
  1072. parentImage?: NonEmptyString;
  1073. /**
  1074. * The date when this container recipe was created.
  1075. */
  1076. dateCreated?: DateTime;
  1077. /**
  1078. * Tags that are attached to the container recipe.
  1079. */
  1080. tags?: TagMap;
  1081. }
  1082. export type ContainerRecipeSummaryList = ContainerRecipeSummary[];
  1083. export type ContainerRepositoryService = "ECR"|string;
  1084. export type ContainerType = "DOCKER"|string;
  1085. export interface CreateComponentRequest {
  1086. /**
  1087. * The name of the component.
  1088. */
  1089. name: ResourceName;
  1090. /**
  1091. * The semantic version of the component. This version follows the semantic version syntax. The semantic version has four nodes: &lt;major&gt;.&lt;minor&gt;.&lt;patch&gt;/&lt;build&gt;. You can assign values for the first three, and can filter on all of them. Assignment: For the first three nodes you can assign any positive integer value, including zero, with an upper limit of 2^30-1, or 1073741823 for each node. Image Builder automatically assigns the build number to the fourth node. Patterns: You can use any numeric pattern that adheres to the assignment requirements for the nodes that you can assign. For example, you might choose a software version pattern, such as 1.0.0, or a date, such as 2021.01.01.
  1092. */
  1093. semanticVersion: VersionNumber;
  1094. /**
  1095. * Describes the contents of the component.
  1096. */
  1097. description?: NonEmptyString;
  1098. /**
  1099. * The change description of the component. Describes what change has been made in this version, or what makes this version different from other versions of the component.
  1100. */
  1101. changeDescription?: NonEmptyString;
  1102. /**
  1103. * The operating system platform of the component.
  1104. */
  1105. platform: Platform;
  1106. /**
  1107. * The operating system (OS) version supported by the component. If the OS information is available, a prefix match is performed against the base image OS version during image recipe creation.
  1108. */
  1109. supportedOsVersions?: OsVersionList;
  1110. /**
  1111. * Component data contains inline YAML document content for the component. Alternatively, you can specify the uri of a YAML document file stored in Amazon S3. However, you cannot specify both properties.
  1112. */
  1113. data?: InlineComponentData;
  1114. /**
  1115. * The uri of a YAML component document file. This must be an S3 URL (s3://bucket/key), and the requester must have permission to access the S3 bucket it points to. If you use Amazon S3, you can specify component content up to your service quota. Alternatively, you can specify the YAML document inline, using the component data property. You cannot specify both properties.
  1116. */
  1117. uri?: Uri;
  1118. /**
  1119. * The ID of the KMS key that is used to encrypt this component.
  1120. */
  1121. kmsKeyId?: NonEmptyString;
  1122. /**
  1123. * The tags that apply to the component.
  1124. */
  1125. tags?: TagMap;
  1126. /**
  1127. * Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see Ensuring idempotency in the Amazon EC2 API Reference.
  1128. */
  1129. clientToken: ClientToken;
  1130. }
  1131. export interface CreateComponentResponse {
  1132. /**
  1133. * The request ID that uniquely identifies this request.
  1134. */
  1135. requestId?: NonEmptyString;
  1136. /**
  1137. * The client token that uniquely identifies the request.
  1138. */
  1139. clientToken?: ClientToken;
  1140. /**
  1141. * The Amazon Resource Name (ARN) of the component that the request created.
  1142. */
  1143. componentBuildVersionArn?: ComponentBuildVersionArn;
  1144. }
  1145. export interface CreateContainerRecipeRequest {
  1146. /**
  1147. * The type of container to create.
  1148. */
  1149. containerType: ContainerType;
  1150. /**
  1151. * The name of the container recipe.
  1152. */
  1153. name: ResourceName;
  1154. /**
  1155. * The description of the container recipe.
  1156. */
  1157. description?: NonEmptyString;
  1158. /**
  1159. * The semantic version of the container recipe. This version follows the semantic version syntax. The semantic version has four nodes: &lt;major&gt;.&lt;minor&gt;.&lt;patch&gt;/&lt;build&gt;. You can assign values for the first three, and can filter on all of them. Assignment: For the first three nodes you can assign any positive integer value, including zero, with an upper limit of 2^30-1, or 1073741823 for each node. Image Builder automatically assigns the build number to the fourth node. Patterns: You can use any numeric pattern that adheres to the assignment requirements for the nodes that you can assign. For example, you might choose a software version pattern, such as 1.0.0, or a date, such as 2021.01.01.
  1160. */
  1161. semanticVersion: VersionNumber;
  1162. /**
  1163. * Components for build and test that are included in the container recipe. Recipes require a minimum of one build component, and can have a maximum of 20 build and test components in any combination.
  1164. */
  1165. components: ComponentConfigurationList;
  1166. /**
  1167. * A group of options that can be used to configure an instance for building and testing container images.
  1168. */
  1169. instanceConfiguration?: InstanceConfiguration;
  1170. /**
  1171. * The Dockerfile template used to build your image as an inline data blob.
  1172. */
  1173. dockerfileTemplateData?: InlineDockerFileTemplate;
  1174. /**
  1175. * The Amazon S3 URI for the Dockerfile that will be used to build your container image.
  1176. */
  1177. dockerfileTemplateUri?: Uri;
  1178. /**
  1179. * Specifies the operating system platform when you use a custom base image.
  1180. */
  1181. platformOverride?: Platform;
  1182. /**
  1183. * Specifies the operating system version for the base image.
  1184. */
  1185. imageOsVersionOverride?: NonEmptyString;
  1186. /**
  1187. * The base image for the container recipe.
  1188. */
  1189. parentImage: NonEmptyString;
  1190. /**
  1191. * Tags that are attached to the container recipe.
  1192. */
  1193. tags?: TagMap;
  1194. /**
  1195. * The working directory for use during build and test workflows.
  1196. */
  1197. workingDirectory?: NonEmptyString;
  1198. /**
  1199. * The destination repository for the container image.
  1200. */
  1201. targetRepository: TargetContainerRepository;
  1202. /**
  1203. * Identifies which KMS key is used to encrypt the container image.
  1204. */
  1205. kmsKeyId?: NonEmptyString;
  1206. /**
  1207. * Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see Ensuring idempotency in the Amazon EC2 API Reference.
  1208. */
  1209. clientToken: ClientToken;
  1210. }
  1211. export interface CreateContainerRecipeResponse {
  1212. /**
  1213. * The request ID that uniquely identifies this request.
  1214. */
  1215. requestId?: NonEmptyString;
  1216. /**
  1217. * The client token that uniquely identifies the request.
  1218. */
  1219. clientToken?: ClientToken;
  1220. /**
  1221. * Returns the Amazon Resource Name (ARN) of the container recipe that the request created.
  1222. */
  1223. containerRecipeArn?: ContainerRecipeArn;
  1224. }
  1225. export interface CreateDistributionConfigurationRequest {
  1226. /**
  1227. * The name of the distribution configuration.
  1228. */
  1229. name: ResourceName;
  1230. /**
  1231. * The description of the distribution configuration.
  1232. */
  1233. description?: NonEmptyString;
  1234. /**
  1235. * The distributions of the distribution configuration.
  1236. */
  1237. distributions: DistributionList;
  1238. /**
  1239. * The tags of the distribution configuration.
  1240. */
  1241. tags?: TagMap;
  1242. /**
  1243. * Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see Ensuring idempotency in the Amazon EC2 API Reference.
  1244. */
  1245. clientToken: ClientToken;
  1246. }
  1247. export interface CreateDistributionConfigurationResponse {
  1248. /**
  1249. * The request ID that uniquely identifies this request.
  1250. */
  1251. requestId?: NonEmptyString;
  1252. /**
  1253. * The client token that uniquely identifies the request.
  1254. */
  1255. clientToken?: ClientToken;
  1256. /**
  1257. * The Amazon Resource Name (ARN) of the distribution configuration that was created by this request.
  1258. */
  1259. distributionConfigurationArn?: DistributionConfigurationArn;
  1260. }
  1261. export interface CreateImagePipelineRequest {
  1262. /**
  1263. * The name of the image pipeline.
  1264. */
  1265. name: ResourceName;
  1266. /**
  1267. * The description of the image pipeline.
  1268. */
  1269. description?: NonEmptyString;
  1270. /**
  1271. * The Amazon Resource Name (ARN) of the image recipe that will be used to configure images created by this image pipeline.
  1272. */
  1273. imageRecipeArn?: ImageRecipeArn;
  1274. /**
  1275. * The Amazon Resource Name (ARN) of the container recipe that is used to configure images created by this container pipeline.
  1276. */
  1277. containerRecipeArn?: ContainerRecipeArn;
  1278. /**
  1279. * The Amazon Resource Name (ARN) of the infrastructure configuration that will be used to build images created by this image pipeline.
  1280. */
  1281. infrastructureConfigurationArn: InfrastructureConfigurationArn;
  1282. /**
  1283. * The Amazon Resource Name (ARN) of the distribution configuration that will be used to configure and distribute images created by this image pipeline.
  1284. */
  1285. distributionConfigurationArn?: DistributionConfigurationArn;
  1286. /**
  1287. * The image test configuration of the image pipeline.
  1288. */
  1289. imageTestsConfiguration?: ImageTestsConfiguration;
  1290. /**
  1291. * Collects additional information about the image being created, including the operating system (OS) version and package list. This information is used to enhance the overall experience of using EC2 Image Builder. Enabled by default.
  1292. */
  1293. enhancedImageMetadataEnabled?: NullableBoolean;
  1294. /**
  1295. * The schedule of the image pipeline.
  1296. */
  1297. schedule?: Schedule;
  1298. /**
  1299. * The status of the image pipeline.
  1300. */
  1301. status?: PipelineStatus;
  1302. /**
  1303. * The tags of the image pipeline.
  1304. */
  1305. tags?: TagMap;
  1306. /**
  1307. * Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see Ensuring idempotency in the Amazon EC2 API Reference.
  1308. */
  1309. clientToken: ClientToken;
  1310. /**
  1311. * Contains settings for vulnerability scans.
  1312. */
  1313. imageScanningConfiguration?: ImageScanningConfiguration;
  1314. /**
  1315. * Contains an array of workflow configuration objects.
  1316. */
  1317. workflows?: WorkflowConfigurationList;
  1318. /**
  1319. * The name or Amazon Resource Name (ARN) for the IAM role you create that grants Image Builder access to perform workflow actions.
  1320. */
  1321. executionRole?: RoleNameOrArn;
  1322. }
  1323. export interface CreateImagePipelineResponse {
  1324. /**
  1325. * The request ID that uniquely identifies this request.
  1326. */
  1327. requestId?: NonEmptyString;
  1328. /**
  1329. * The client token that uniquely identifies the request.
  1330. */
  1331. clientToken?: ClientToken;
  1332. /**
  1333. * The Amazon Resource Name (ARN) of the image pipeline that was created by this request.
  1334. */
  1335. imagePipelineArn?: ImagePipelineArn;
  1336. }
  1337. export interface CreateImageRecipeRequest {
  1338. /**
  1339. * The name of the image recipe.
  1340. */
  1341. name: ResourceName;
  1342. /**
  1343. * The description of the image recipe.
  1344. */
  1345. description?: NonEmptyString;
  1346. /**
  1347. * The semantic version of the image recipe. This version follows the semantic version syntax. The semantic version has four nodes: &lt;major&gt;.&lt;minor&gt;.&lt;patch&gt;/&lt;build&gt;. You can assign values for the first three, and can filter on all of them. Assignment: For the first three nodes you can assign any positive integer value, including zero, with an upper limit of 2^30-1, or 1073741823 for each node. Image Builder automatically assigns the build number to the fourth node. Patterns: You can use any numeric pattern that adheres to the assignment requirements for the nodes that you can assign. For example, you might choose a software version pattern, such as 1.0.0, or a date, such as 2021.01.01.
  1348. */
  1349. semanticVersion: VersionNumber;
  1350. /**
  1351. * The components included in the image recipe.
  1352. */
  1353. components: ComponentConfigurationList;
  1354. /**
  1355. * The base image of the image recipe. The value of the string can be the ARN of the base image or an AMI ID. The format for the ARN follows this example: arn:aws:imagebuilder:us-west-2:aws:image/windows-server-2016-english-full-base-x86/x.x.x. You can provide the specific version that you want to use, or you can use a wildcard in all of the fields. If you enter an AMI ID for the string value, you must have access to the AMI, and the AMI must be in the same Region in which you are using Image Builder.
  1356. */
  1357. parentImage: NonEmptyString;
  1358. /**
  1359. * The block device mappings of the image recipe.
  1360. */
  1361. blockDeviceMappings?: InstanceBlockDeviceMappings;
  1362. /**
  1363. * The tags of the image recipe.
  1364. */
  1365. tags?: TagMap;
  1366. /**
  1367. * The working directory used during build and test workflows.
  1368. */
  1369. workingDirectory?: NonEmptyString;
  1370. /**
  1371. * Specify additional settings and launch scripts for your build instances.
  1372. */
  1373. additionalInstanceConfiguration?: AdditionalInstanceConfiguration;
  1374. /**
  1375. * Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see Ensuring idempotency in the Amazon EC2 API Reference.
  1376. */
  1377. clientToken: ClientToken;
  1378. }
  1379. export interface CreateImageRecipeResponse {
  1380. /**
  1381. * The request ID that uniquely identifies this request.
  1382. */
  1383. requestId?: NonEmptyString;
  1384. /**
  1385. * The client token that uniquely identifies the request.
  1386. */
  1387. clientToken?: ClientToken;
  1388. /**
  1389. * The Amazon Resource Name (ARN) of the image recipe that was created by this request.
  1390. */
  1391. imageRecipeArn?: ImageRecipeArn;
  1392. }
  1393. export interface CreateImageRequest {
  1394. /**
  1395. * The Amazon Resource Name (ARN) of the image recipe that defines how images are configured, tested, and assessed.
  1396. */
  1397. imageRecipeArn?: ImageRecipeArn;
  1398. /**
  1399. * The Amazon Resource Name (ARN) of the container recipe that defines how images are configured and tested.
  1400. */
  1401. containerRecipeArn?: ContainerRecipeArn;
  1402. /**
  1403. * The Amazon Resource Name (ARN) of the distribution configuration that defines and configures the outputs of your pipeline.
  1404. */
  1405. distributionConfigurationArn?: DistributionConfigurationArn;
  1406. /**
  1407. * The Amazon Resource Name (ARN) of the infrastructure configuration that defines the environment in which your image will be built and tested.
  1408. */
  1409. infrastructureConfigurationArn: InfrastructureConfigurationArn;
  1410. /**
  1411. * The image tests configuration of the image.
  1412. */
  1413. imageTestsConfiguration?: ImageTestsConfiguration;
  1414. /**
  1415. * Collects additional information about the image being created, including the operating system (OS) version and package list. This information is used to enhance the overall experience of using EC2 Image Builder. Enabled by default.
  1416. */
  1417. enhancedImageMetadataEnabled?: NullableBoolean;
  1418. /**
  1419. * The tags of the image.
  1420. */
  1421. tags?: TagMap;
  1422. /**
  1423. * Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see Ensuring idempotency in the Amazon EC2 API Reference.
  1424. */
  1425. clientToken: ClientToken;
  1426. /**
  1427. * Contains settings for vulnerability scans.
  1428. */
  1429. imageScanningConfiguration?: ImageScanningConfiguration;
  1430. /**
  1431. * Contains an array of workflow configuration objects.
  1432. */
  1433. workflows?: WorkflowConfigurationList;
  1434. /**
  1435. * The name or Amazon Resource Name (ARN) for the IAM role you create that grants Image Builder access to perform workflow actions.
  1436. */
  1437. executionRole?: RoleNameOrArn;
  1438. }
  1439. export interface CreateImageResponse {
  1440. /**
  1441. * The request ID that uniquely identifies this request.
  1442. */
  1443. requestId?: NonEmptyString;
  1444. /**
  1445. * The client token that uniquely identifies the request.
  1446. */
  1447. clientToken?: ClientToken;
  1448. /**
  1449. * The Amazon Resource Name (ARN) of the image that the request created.
  1450. */
  1451. imageBuildVersionArn?: ImageBuildVersionArn;
  1452. }
  1453. export interface CreateInfrastructureConfigurationRequest {
  1454. /**
  1455. * The name of the infrastructure configuration.
  1456. */
  1457. name: ResourceName;
  1458. /**
  1459. * The description of the infrastructure configuration.
  1460. */
  1461. description?: NonEmptyString;
  1462. /**
  1463. * The instance types of the infrastructure configuration. You can specify one or more instance types to use for this build. The service will pick one of these instance types based on availability.
  1464. */
  1465. instanceTypes?: InstanceTypeList;
  1466. /**
  1467. * The instance profile to associate with the instance used to customize your Amazon EC2 AMI.
  1468. */
  1469. instanceProfileName: InstanceProfileNameType;
  1470. /**
  1471. * The security group IDs to associate with the instance used to customize your Amazon EC2 AMI.
  1472. */
  1473. securityGroupIds?: SecurityGroupIds;
  1474. /**
  1475. * The subnet ID in which to place the instance used to customize your Amazon EC2 AMI.
  1476. */
  1477. subnetId?: NonEmptyString;
  1478. /**
  1479. * The logging configuration of the infrastructure configuration.
  1480. */
  1481. logging?: Logging;
  1482. /**
  1483. * The key pair of the infrastructure configuration. You can use this to log on to and debug the instance used to create your image.
  1484. */
  1485. keyPair?: NonEmptyString;
  1486. /**
  1487. * The terminate instance on failure setting of the infrastructure configuration. Set to false if you want Image Builder to retain the instance used to configure your AMI if the build or test phase of your workflow fails.
  1488. */
  1489. terminateInstanceOnFailure?: NullableBoolean;
  1490. /**
  1491. * The Amazon Resource Name (ARN) for the SNS topic to which we send image build event notifications. EC2 Image Builder is unable to send notifications to SNS topics that are encrypted using keys from other accounts. The key that is used to encrypt the SNS topic must reside in the account that the Image Builder service runs under.
  1492. */
  1493. snsTopicArn?: SnsTopicArn;
  1494. /**
  1495. * The tags attached to the resource created by Image Builder.
  1496. */
  1497. resourceTags?: ResourceTagMap;
  1498. /**
  1499. * The instance metadata options that you can set for the HTTP requests that pipeline builds use to launch EC2 build and test instances.
  1500. */
  1501. instanceMetadataOptions?: InstanceMetadataOptions;
  1502. /**
  1503. * The tags of the infrastructure configuration.
  1504. */
  1505. tags?: TagMap;
  1506. /**
  1507. * Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see Ensuring idempotency in the Amazon EC2 API Reference.
  1508. */
  1509. clientToken: ClientToken;
  1510. }
  1511. export interface CreateInfrastructureConfigurationResponse {
  1512. /**
  1513. * The request ID that uniquely identifies this request.
  1514. */
  1515. requestId?: NonEmptyString;
  1516. /**
  1517. * The client token that uniquely identifies the request.
  1518. */
  1519. clientToken?: ClientToken;
  1520. /**
  1521. * The Amazon Resource Name (ARN) of the infrastructure configuration that was created by this request.
  1522. */
  1523. infrastructureConfigurationArn?: InfrastructureConfigurationArn;
  1524. }
  1525. export interface CreateLifecyclePolicyRequest {
  1526. /**
  1527. * The name of the lifecycle policy to create.
  1528. */
  1529. name: ResourceName;
  1530. /**
  1531. * Optional description for the lifecycle policy.
  1532. */
  1533. description?: NonEmptyString;
  1534. /**
  1535. * Indicates whether the lifecycle policy resource is enabled.
  1536. */
  1537. status?: LifecyclePolicyStatus;
  1538. /**
  1539. * The name or Amazon Resource Name (ARN) for the IAM role you create that grants Image Builder access to run lifecycle actions.
  1540. */
  1541. executionRole: RoleNameOrArn;
  1542. /**
  1543. * The type of Image Builder resource that the lifecycle policy applies to.
  1544. */
  1545. resourceType: LifecyclePolicyResourceType;
  1546. /**
  1547. * Configuration details for the lifecycle policy rules.
  1548. */
  1549. policyDetails: LifecyclePolicyDetails;
  1550. /**
  1551. * Selection criteria for the resources that the lifecycle policy applies to.
  1552. */
  1553. resourceSelection: LifecyclePolicyResourceSelection;
  1554. /**
  1555. * Tags to apply to the lifecycle policy resource.
  1556. */
  1557. tags?: TagMap;
  1558. /**
  1559. * Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see Ensuring idempotency in the Amazon EC2 API Reference.
  1560. */
  1561. clientToken: ClientToken;
  1562. }
  1563. export interface CreateLifecyclePolicyResponse {
  1564. /**
  1565. * The client token that uniquely identifies the request.
  1566. */
  1567. clientToken?: ClientToken;
  1568. /**
  1569. * The Amazon Resource Name (ARN) of the lifecycle policy that the request created.
  1570. */
  1571. lifecyclePolicyArn?: LifecyclePolicyArn;
  1572. }
  1573. export interface CreateWorkflowRequest {
  1574. /**
  1575. * The name of the workflow to create.
  1576. */
  1577. name: ResourceName;
  1578. /**
  1579. * The semantic version of this workflow resource. The semantic version syntax adheres to the following rules. The semantic version has four nodes: &lt;major&gt;.&lt;minor&gt;.&lt;patch&gt;/&lt;build&gt;. You can assign values for the first three, and can filter on all of them. Assignment: For the first three nodes you can assign any positive integer value, including zero, with an upper limit of 2^30-1, or 1073741823 for each node. Image Builder automatically assigns the build number to the fourth node. Patterns: You can use any numeric pattern that adheres to the assignment requirements for the nodes that you can assign. For example, you might choose a software version pattern, such as 1.0.0, or a date, such as 2021.01.01.
  1580. */
  1581. semanticVersion: VersionNumber;
  1582. /**
  1583. * Describes the workflow.
  1584. */
  1585. description?: NonEmptyString;
  1586. /**
  1587. * Describes what change has been made in this version of the workflow, or what makes this version different from other versions of the workflow.
  1588. */
  1589. changeDescription?: NonEmptyString;
  1590. /**
  1591. * Contains the UTF-8 encoded YAML document content for the workflow. Alternatively, you can specify the uri of a YAML document file stored in Amazon S3. However, you cannot specify both properties.
  1592. */
  1593. data?: InlineWorkflowData;
  1594. /**
  1595. * The uri of a YAML component document file. This must be an S3 URL (s3://bucket/key), and the requester must have permission to access the S3 bucket it points to. If you use Amazon S3, you can specify component content up to your service quota. Alternatively, you can specify the YAML document inline, using the component data property. You cannot specify both properties.
  1596. */
  1597. uri?: Uri;
  1598. /**
  1599. * The ID of the KMS key that is used to encrypt this workflow resource.
  1600. */
  1601. kmsKeyId?: NonEmptyString;
  1602. /**
  1603. * Tags that apply to the workflow resource.
  1604. */
  1605. tags?: TagMap;
  1606. /**
  1607. * Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see Ensuring idempotency in the Amazon EC2 API Reference.
  1608. */
  1609. clientToken: ClientToken;
  1610. /**
  1611. * The phase in the image build process for which the workflow resource is responsible.
  1612. */
  1613. type: WorkflowType;
  1614. }
  1615. export interface CreateWorkflowResponse {
  1616. /**
  1617. * The client token that uniquely identifies the request.
  1618. */
  1619. clientToken?: ClientToken;
  1620. /**
  1621. * The Amazon Resource Name (ARN) of the workflow resource that the request created.
  1622. */
  1623. workflowBuildVersionArn?: WorkflowBuildVersionArn;
  1624. }
  1625. export interface CvssScore {
  1626. /**
  1627. * The CVSS base score.
  1628. */
  1629. baseScore?: NonNegativeDouble;
  1630. /**
  1631. * The vector string of the CVSS score.
  1632. */
  1633. scoringVector?: NonEmptyString;
  1634. /**
  1635. * The CVSS version that generated the score.
  1636. */
  1637. version?: NonEmptyString;
  1638. /**
  1639. * The source of the CVSS score.
  1640. */
  1641. source?: NonEmptyString;
  1642. }
  1643. export interface CvssScoreAdjustment {
  1644. /**
  1645. * The metric that Amazon Inspector used to adjust the CVSS score.
  1646. */
  1647. metric?: NonEmptyString;
  1648. /**
  1649. * The reason for the CVSS score adjustment.
  1650. */
  1651. reason?: NonEmptyString;
  1652. }
  1653. export type CvssScoreAdjustmentList = CvssScoreAdjustment[];
  1654. export interface CvssScoreDetails {
  1655. /**
  1656. * The source for the CVSS score.
  1657. */
  1658. scoreSource?: NonEmptyString;
  1659. /**
  1660. * The source of the finding.
  1661. */
  1662. cvssSource?: NonEmptyString;
  1663. /**
  1664. * The CVSS version that generated the score.
  1665. */
  1666. version?: NonEmptyString;
  1667. /**
  1668. * The CVSS score.
  1669. */
  1670. score?: NonNegativeDouble;
  1671. /**
  1672. * A vector that measures the severity of the vulnerability.
  1673. */
  1674. scoringVector?: NonEmptyString;
  1675. /**
  1676. * An object that contains details about an adjustment that Amazon Inspector made to the CVSS score for the finding.
  1677. */
  1678. adjustments?: CvssScoreAdjustmentList;
  1679. }
  1680. export type CvssScoreList = CvssScore[];
  1681. export type DateTime = string;
  1682. export type DateTimeTimestamp = Date;
  1683. export interface DeleteComponentRequest {
  1684. /**
  1685. * The Amazon Resource Name (ARN) of the component build version to delete.
  1686. */
  1687. componentBuildVersionArn: ComponentBuildVersionArn;
  1688. }
  1689. export interface DeleteComponentResponse {
  1690. /**
  1691. * The request ID that uniquely identifies this request.
  1692. */
  1693. requestId?: NonEmptyString;
  1694. /**
  1695. * The ARN of the component build version that this request deleted.
  1696. */
  1697. componentBuildVersionArn?: ComponentBuildVersionArn;
  1698. }
  1699. export interface DeleteContainerRecipeRequest {
  1700. /**
  1701. * The Amazon Resource Name (ARN) of the container recipe to delete.
  1702. */
  1703. containerRecipeArn: ContainerRecipeArn;
  1704. }
  1705. export interface DeleteContainerRecipeResponse {
  1706. /**
  1707. * The request ID that uniquely identifies this request.
  1708. */
  1709. requestId?: NonEmptyString;
  1710. /**
  1711. * The Amazon Resource Name (ARN) of the container recipe that was deleted.
  1712. */
  1713. containerRecipeArn?: ContainerRecipeArn;
  1714. }
  1715. export interface DeleteDistributionConfigurationRequest {
  1716. /**
  1717. * The Amazon Resource Name (ARN) of the distribution configuration to delete.
  1718. */
  1719. distributionConfigurationArn: DistributionConfigurationArn;
  1720. }
  1721. export interface DeleteDistributionConfigurationResponse {
  1722. /**
  1723. * The request ID that uniquely identifies this request.
  1724. */
  1725. requestId?: NonEmptyString;
  1726. /**
  1727. * The Amazon Resource Name (ARN) of the distribution configuration that was deleted.
  1728. */
  1729. distributionConfigurationArn?: DistributionConfigurationArn;
  1730. }
  1731. export interface DeleteImagePipelineRequest {
  1732. /**
  1733. * The Amazon Resource Name (ARN) of the image pipeline to delete.
  1734. */
  1735. imagePipelineArn: ImagePipelineArn;
  1736. }
  1737. export interface DeleteImagePipelineResponse {
  1738. /**
  1739. * The request ID that uniquely identifies this request.
  1740. */
  1741. requestId?: NonEmptyString;
  1742. /**
  1743. * The Amazon Resource Name (ARN) of the image pipeline that was deleted.
  1744. */
  1745. imagePipelineArn?: ImagePipelineArn;
  1746. }
  1747. export interface DeleteImageRecipeRequest {
  1748. /**
  1749. * The Amazon Resource Name (ARN) of the image recipe to delete.
  1750. */
  1751. imageRecipeArn: ImageRecipeArn;
  1752. }
  1753. export interface DeleteImageRecipeResponse {
  1754. /**
  1755. * The request ID that uniquely identifies this request.
  1756. */
  1757. requestId?: NonEmptyString;
  1758. /**
  1759. * The Amazon Resource Name (ARN) of the image recipe that was deleted.
  1760. */
  1761. imageRecipeArn?: ImageRecipeArn;
  1762. }
  1763. export interface DeleteImageRequest {
  1764. /**
  1765. * The Amazon Resource Name (ARN) of the Image Builder image resource to delete.
  1766. */
  1767. imageBuildVersionArn: ImageBuildVersionArn;
  1768. }
  1769. export interface DeleteImageResponse {
  1770. /**
  1771. * The request ID that uniquely identifies this request.
  1772. */
  1773. requestId?: NonEmptyString;
  1774. /**
  1775. * The ARN of the Image Builder image resource that this request deleted.
  1776. */
  1777. imageBuildVersionArn?: ImageBuildVersionArn;
  1778. }
  1779. export interface DeleteInfrastructureConfigurationRequest {
  1780. /**
  1781. * The Amazon Resource Name (ARN) of the infrastructure configuration to delete.
  1782. */
  1783. infrastructureConfigurationArn: InfrastructureConfigurationArn;
  1784. }
  1785. export interface DeleteInfrastructureConfigurationResponse {
  1786. /**
  1787. * The request ID that uniquely identifies this request.
  1788. */
  1789. requestId?: NonEmptyString;
  1790. /**
  1791. * The Amazon Resource Name (ARN) of the infrastructure configuration that was deleted.
  1792. */
  1793. infrastructureConfigurationArn?: InfrastructureConfigurationArn;
  1794. }
  1795. export interface DeleteLifecyclePolicyRequest {
  1796. /**
  1797. * The Amazon Resource Name (ARN) of the lifecycle policy resource to delete.
  1798. */
  1799. lifecyclePolicyArn: LifecyclePolicyArn;
  1800. }
  1801. export interface DeleteLifecyclePolicyResponse {
  1802. /**
  1803. * The ARN of the lifecycle policy that was deleted.
  1804. */
  1805. lifecyclePolicyArn?: LifecyclePolicyArn;
  1806. }
  1807. export interface DeleteWorkflowRequest {
  1808. /**
  1809. * The Amazon Resource Name (ARN) of the workflow resource to delete.
  1810. */
  1811. workflowBuildVersionArn: WorkflowBuildVersionArn;
  1812. }
  1813. export interface DeleteWorkflowResponse {
  1814. /**
  1815. * The ARN of the workflow resource that this request deleted.
  1816. */
  1817. workflowBuildVersionArn?: WorkflowBuildVersionArn;
  1818. }
  1819. export type DiskImageFormat = "VMDK"|"RAW"|"VHD"|string;
  1820. export interface Distribution {
  1821. /**
  1822. * The target Region.
  1823. */
  1824. region: NonEmptyString;
  1825. /**
  1826. * The specific AMI settings; for example, launch permissions or AMI tags.
  1827. */
  1828. amiDistributionConfiguration?: AmiDistributionConfiguration;
  1829. /**
  1830. * Container distribution settings for encryption, licensing, and sharing in a specific Region.
  1831. */
  1832. containerDistributionConfiguration?: ContainerDistributionConfiguration;
  1833. /**
  1834. * The License Manager Configuration to associate with the AMI in the specified Region.
  1835. */
  1836. licenseConfigurationArns?: LicenseConfigurationArnList;
  1837. /**
  1838. * A group of launchTemplateConfiguration settings that apply to image distribution for specified accounts.
  1839. */
  1840. launchTemplateConfigurations?: LaunchTemplateConfigurationList;
  1841. /**
  1842. * Configure export settings to deliver disk images created from your image build, using a file format that is compatible with your VMs in that Region.
  1843. */
  1844. s3ExportConfiguration?: S3ExportConfiguration;
  1845. /**
  1846. * The Windows faster-launching configurations to use for AMI distribution.
  1847. */
  1848. fastLaunchConfigurations?: FastLaunchConfigurationList;
  1849. }
  1850. export interface DistributionConfiguration {
  1851. /**
  1852. * The Amazon Resource Name (ARN) of the distribution configuration.
  1853. */
  1854. arn?: ImageBuilderArn;
  1855. /**
  1856. * The name of the distribution configuration.
  1857. */
  1858. name?: ResourceName;
  1859. /**
  1860. * The description of the distribution configuration.
  1861. */
  1862. description?: NonEmptyString;
  1863. /**
  1864. * The distribution objects that apply Region-specific settings for the deployment of the image to targeted Regions.
  1865. */
  1866. distributions?: DistributionList;
  1867. /**
  1868. * The maximum duration in minutes for this distribution configuration.
  1869. */
  1870. timeoutMinutes: DistributionTimeoutMinutes;
  1871. /**
  1872. * The date on which this distribution configuration was created.
  1873. */
  1874. dateCreated?: DateTime;
  1875. /**
  1876. * The date on which this distribution configuration was last updated.
  1877. */
  1878. dateUpdated?: DateTime;
  1879. /**
  1880. * The tags of the distribution configuration.
  1881. */
  1882. tags?: TagMap;
  1883. }
  1884. export type DistributionConfigurationArn = string;
  1885. export interface DistributionConfigurationSummary {
  1886. /**
  1887. * The Amazon Resource Name (ARN) of the distribution configuration.
  1888. */
  1889. arn?: ImageBuilderArn;
  1890. /**
  1891. * The name of the distribution configuration.
  1892. */
  1893. name?: ResourceName;
  1894. /**
  1895. * The description of the distribution configuration.
  1896. */
  1897. description?: NonEmptyString;
  1898. /**
  1899. * The date on which the distribution configuration was created.
  1900. */
  1901. dateCreated?: DateTime;
  1902. /**
  1903. * The date on which the distribution configuration was updated.
  1904. */
  1905. dateUpdated?: DateTime;
  1906. /**
  1907. * The tags associated with the distribution configuration.
  1908. */
  1909. tags?: TagMap;
  1910. /**
  1911. * A list of Regions where the container image is distributed to.
  1912. */
  1913. regions?: RegionList;
  1914. }
  1915. export type DistributionConfigurationSummaryList = DistributionConfigurationSummary[];
  1916. export type DistributionList = Distribution[];
  1917. export type DistributionTimeoutMinutes = number;
  1918. export type DockerFileTemplate = string;
  1919. export interface EbsInstanceBlockDeviceSpecification {
  1920. /**
  1921. * Use to configure device encryption.
  1922. */
  1923. encrypted?: NullableBoolean;
  1924. /**
  1925. * Use to configure delete on termination of the associated device.
  1926. */
  1927. deleteOnTermination?: NullableBoolean;
  1928. /**
  1929. * Use to configure device IOPS.
  1930. */
  1931. iops?: EbsIopsInteger;
  1932. /**
  1933. * Use to configure the KMS key to use when encrypting the device.
  1934. */
  1935. kmsKeyId?: NonEmptyString;
  1936. /**
  1937. * The snapshot that defines the device contents.
  1938. */
  1939. snapshotId?: NonEmptyString;
  1940. /**
  1941. * Use to override the device's volume size.
  1942. */
  1943. volumeSize?: EbsVolumeSizeInteger;
  1944. /**
  1945. * Use to override the device's volume type.
  1946. */
  1947. volumeType?: EbsVolumeType;
  1948. /**
  1949. * For GP3 volumes only – The throughput in MiB/s that the volume supports.
  1950. */
  1951. throughput?: EbsVolumeThroughput;
  1952. }
  1953. export type EbsIopsInteger = number;
  1954. export type EbsVolumeSizeInteger = number;
  1955. export type EbsVolumeThroughput = number;
  1956. export type EbsVolumeType = "standard"|"io1"|"io2"|"gp2"|"gp3"|"sc1"|"st1"|string;
  1957. export interface EcrConfiguration {
  1958. /**
  1959. * The name of the container repository that Amazon Inspector scans to identify findings for your container images. The name includes the path for the repository location. If you don’t provide this information, Image Builder creates a repository in your account named image-builder-image-scanning-repository for vulnerability scans of your output container images.
  1960. */
  1961. repositoryName?: NonEmptyString;
  1962. /**
  1963. * Tags for Image Builder to apply to the output container image that &amp;INS; scans. Tags can help you identify and manage your scanned images.
  1964. */
  1965. containerTags?: StringList;
  1966. }
  1967. export type EmptyString = string;
  1968. export interface FastLaunchConfiguration {
  1969. /**
  1970. * A Boolean that represents the current state of faster launching for the Windows AMI. Set to true to start using Windows faster launching, or false to stop using it.
  1971. */
  1972. enabled: Boolean;
  1973. /**
  1974. * Configuration settings for managing the number of snapshots that are created from pre-provisioned instances for the Windows AMI when faster launching is enabled.
  1975. */
  1976. snapshotConfiguration?: FastLaunchSnapshotConfiguration;
  1977. /**
  1978. * The maximum number of parallel instances that are launched for creating resources.
  1979. */
  1980. maxParallelLaunches?: MaxParallelLaunches;
  1981. /**
  1982. * The launch template that the fast-launch enabled Windows AMI uses when it launches Windows instances to create pre-provisioned snapshots.
  1983. */
  1984. launchTemplate?: FastLaunchLaunchTemplateSpecification;
  1985. /**
  1986. * The owner account ID for the fast-launch enabled Windows AMI.
  1987. */
  1988. accountId?: AccountId;
  1989. }
  1990. export type FastLaunchConfigurationList = FastLaunchConfiguration[];
  1991. export interface FastLaunchLaunchTemplateSpecification {
  1992. /**
  1993. * The ID of the launch template to use for faster launching for a Windows AMI.
  1994. */
  1995. launchTemplateId?: LaunchTemplateId;
  1996. /**
  1997. * The name of the launch template to use for faster launching for a Windows AMI.
  1998. */
  1999. launchTemplateName?: NonEmptyString;
  2000. /**
  2001. * The version of the launch template to use for faster launching for a Windows AMI.
  2002. */
  2003. launchTemplateVersion?: NonEmptyString;
  2004. }
  2005. export interface FastLaunchSnapshotConfiguration {
  2006. /**
  2007. * The number of pre-provisioned snapshots to keep on hand for a fast-launch enabled Windows AMI.
  2008. */
  2009. targetResourceCount?: TargetResourceCount;
  2010. }
  2011. export interface Filter {
  2012. /**
  2013. * The name of the filter. Filter names are case-sensitive.
  2014. */
  2015. name?: FilterName;
  2016. /**
  2017. * The filter values. Filter values are case-sensitive.
  2018. */
  2019. values?: FilterValues;
  2020. }
  2021. export type FilterList = Filter[];
  2022. export type FilterName = string;
  2023. export type FilterValue = string;
  2024. export type FilterValues = FilterValue[];
  2025. export interface GetComponentPolicyRequest {
  2026. /**
  2027. * The Amazon Resource Name (ARN) of the component whose policy you want to retrieve.
  2028. */
  2029. componentArn: ComponentBuildVersionArn;
  2030. }
  2031. export interface GetComponentPolicyResponse {
  2032. /**
  2033. * The request ID that uniquely identifies this request.
  2034. */
  2035. requestId?: NonEmptyString;
  2036. /**
  2037. * The component policy.
  2038. */
  2039. policy?: ResourcePolicyDocument;
  2040. }
  2041. export interface GetComponentRequest {
  2042. /**
  2043. * The Amazon Resource Name (ARN) of the component that you want to get. Regex requires the suffix /\d+$.
  2044. */
  2045. componentBuildVersionArn: ComponentVersionArnOrBuildVersionArn;
  2046. }
  2047. export interface GetComponentResponse {
  2048. /**
  2049. * The request ID that uniquely identifies this request.
  2050. */
  2051. requestId?: NonEmptyString;
  2052. /**
  2053. * The component object specified in the request.
  2054. */
  2055. component?: Component;
  2056. }
  2057. export interface GetContainerRecipePolicyRequest {
  2058. /**
  2059. * The Amazon Resource Name (ARN) of the container recipe for the policy being requested.
  2060. */
  2061. containerRecipeArn: ContainerRecipeArn;
  2062. }
  2063. export interface GetContainerRecipePolicyResponse {
  2064. /**
  2065. * The request ID that uniquely identifies this request.
  2066. */
  2067. requestId?: NonEmptyString;
  2068. /**
  2069. * The container recipe policy object that is returned.
  2070. */
  2071. policy?: ResourcePolicyDocument;
  2072. }
  2073. export interface GetContainerRecipeRequest {
  2074. /**
  2075. * The Amazon Resource Name (ARN) of the container recipe to retrieve.
  2076. */
  2077. containerRecipeArn: ContainerRecipeArn;
  2078. }
  2079. export interface GetContainerRecipeResponse {
  2080. /**
  2081. * The request ID that uniquely identifies this request.
  2082. */
  2083. requestId?: NonEmptyString;
  2084. /**
  2085. * The container recipe object that is returned.
  2086. */
  2087. containerRecipe?: ContainerRecipe;
  2088. }
  2089. export interface GetDistributionConfigurationRequest {
  2090. /**
  2091. * The Amazon Resource Name (ARN) of the distribution configuration that you want to retrieve.
  2092. */
  2093. distributionConfigurationArn: DistributionConfigurationArn;
  2094. }
  2095. export interface GetDistributionConfigurationResponse {
  2096. /**
  2097. * The request ID that uniquely identifies this request.
  2098. */
  2099. requestId?: NonEmptyString;
  2100. /**
  2101. * The distribution configuration object.
  2102. */
  2103. distributionConfiguration?: DistributionConfiguration;
  2104. }
  2105. export interface GetImagePipelineRequest {
  2106. /**
  2107. * The Amazon Resource Name (ARN) of the image pipeline that you want to retrieve.
  2108. */
  2109. imagePipelineArn: ImagePipelineArn;
  2110. }
  2111. export interface GetImagePipelineResponse {
  2112. /**
  2113. * The request ID that uniquely identifies this request.
  2114. */
  2115. requestId?: NonEmptyString;
  2116. /**
  2117. * The image pipeline object.
  2118. */
  2119. imagePipeline?: ImagePipeline;
  2120. }
  2121. export interface GetImagePolicyRequest {
  2122. /**
  2123. * The Amazon Resource Name (ARN) of the image whose policy you want to retrieve.
  2124. */
  2125. imageArn: ImageBuildVersionArn;
  2126. }
  2127. export interface GetImagePolicyResponse {
  2128. /**
  2129. * The request ID that uniquely identifies this request.
  2130. */
  2131. requestId?: NonEmptyString;
  2132. /**
  2133. * The image policy object.
  2134. */
  2135. policy?: ResourcePolicyDocument;
  2136. }
  2137. export interface GetImageRecipePolicyRequest {
  2138. /**
  2139. * The Amazon Resource Name (ARN) of the image recipe whose policy you want to retrieve.
  2140. */
  2141. imageRecipeArn: ImageRecipeArn;
  2142. }
  2143. export interface GetImageRecipePolicyResponse {
  2144. /**
  2145. * The request ID that uniquely identifies this request.
  2146. */
  2147. requestId?: NonEmptyString;
  2148. /**
  2149. * The image recipe policy object.
  2150. */
  2151. policy?: ResourcePolicyDocument;
  2152. }
  2153. export interface GetImageRecipeRequest {
  2154. /**
  2155. * The Amazon Resource Name (ARN) of the image recipe that you want to retrieve.
  2156. */
  2157. imageRecipeArn: ImageRecipeArn;
  2158. }
  2159. export interface GetImageRecipeResponse {
  2160. /**
  2161. * The request ID that uniquely identifies this request.
  2162. */
  2163. requestId?: NonEmptyString;
  2164. /**
  2165. * The image recipe object.
  2166. */
  2167. imageRecipe?: ImageRecipe;
  2168. }
  2169. export interface GetImageRequest {
  2170. /**
  2171. * The Amazon Resource Name (ARN) of the image that you want to get.
  2172. */
  2173. imageBuildVersionArn: ImageVersionArnOrBuildVersionArn;
  2174. }
  2175. export interface GetImageResponse {
  2176. /**
  2177. * The request ID that uniquely identifies this request.
  2178. */
  2179. requestId?: NonEmptyString;
  2180. /**
  2181. * The image object.
  2182. */
  2183. image?: Image;
  2184. }
  2185. export interface GetInfrastructureConfigurationRequest {
  2186. /**
  2187. * The Amazon Resource Name (ARN) of the infrastructure configuration that you want to retrieve.
  2188. */
  2189. infrastructureConfigurationArn: InfrastructureConfigurationArn;
  2190. }
  2191. export interface GetInfrastructureConfigurationResponse {
  2192. /**
  2193. * The request ID that uniquely identifies this request.
  2194. */
  2195. requestId?: NonEmptyString;
  2196. /**
  2197. * The infrastructure configuration object.
  2198. */
  2199. infrastructureConfiguration?: InfrastructureConfiguration;
  2200. }
  2201. export interface GetLifecycleExecutionRequest {
  2202. /**
  2203. * Use the unique identifier for a runtime instance of the lifecycle policy to get runtime details.
  2204. */
  2205. lifecycleExecutionId: LifecycleExecutionId;
  2206. }
  2207. export interface GetLifecycleExecutionResponse {
  2208. /**
  2209. * Runtime details for the specified runtime instance of the lifecycle policy.
  2210. */
  2211. lifecycleExecution?: LifecycleExecution;
  2212. }
  2213. export interface GetLifecyclePolicyRequest {
  2214. /**
  2215. * Specifies the Amazon Resource Name (ARN) of the image lifecycle policy resource to get.
  2216. */
  2217. lifecyclePolicyArn: LifecyclePolicyArn;
  2218. }
  2219. export interface GetLifecyclePolicyResponse {
  2220. /**
  2221. * The ARN of the image lifecycle policy resource that was returned.
  2222. */
  2223. lifecyclePolicy?: LifecyclePolicy;
  2224. }
  2225. export interface GetWorkflowExecutionRequest {
  2226. /**
  2227. * Use the unique identifier for a runtime instance of the workflow to get runtime details.
  2228. */
  2229. workflowExecutionId: WorkflowExecutionId;
  2230. }
  2231. export interface GetWorkflowExecutionResponse {
  2232. /**
  2233. * The request ID that uniquely identifies this request.
  2234. */
  2235. requestId?: NonEmptyString;
  2236. /**
  2237. * The Amazon Resource Name (ARN) of the build version for the Image Builder workflow resource that defines the specified runtime instance of the workflow.
  2238. */
  2239. workflowBuildVersionArn?: WorkflowBuildVersionArn;
  2240. /**
  2241. * The unique identifier that Image Builder assigned to keep track of runtime details when it ran the workflow.
  2242. */
  2243. workflowExecutionId?: WorkflowExecutionId;
  2244. /**
  2245. * The Amazon Resource Name (ARN) of the image resource build version that the specified runtime instance of the workflow created.
  2246. */
  2247. imageBuildVersionArn?: ImageBuildVersionArn;
  2248. /**
  2249. * The type of workflow that Image Builder ran for the specified runtime instance of the workflow.
  2250. */
  2251. type?: WorkflowType;
  2252. /**
  2253. * The current runtime status for the specified runtime instance of the workflow.
  2254. */
  2255. status?: WorkflowExecutionStatus;
  2256. /**
  2257. * The output message from the specified runtime instance of the workflow, if applicable.
  2258. */
  2259. message?: WorkflowExecutionMessage;
  2260. /**
  2261. * The total number of steps in the specified runtime instance of the workflow that ran. This number should equal the sum of the step counts for steps that succeeded, were skipped, and failed.
  2262. */
  2263. totalStepCount?: WorkflowStepCount;
  2264. /**
  2265. * A runtime count for the number of steps that ran successfully in the specified runtime instance of the workflow.
  2266. */
  2267. totalStepsSucceeded?: WorkflowStepCount;
  2268. /**
  2269. * A runtime count for the number of steps that failed in the specified runtime instance of the workflow.
  2270. */
  2271. totalStepsFailed?: WorkflowStepCount;
  2272. /**
  2273. * A runtime count for the number of steps that were skipped in the specified runtime instance of the workflow.
  2274. */
  2275. totalStepsSkipped?: WorkflowStepCount;
  2276. /**
  2277. * The timestamp when the specified runtime instance of the workflow started.
  2278. */
  2279. startTime?: DateTime;
  2280. /**
  2281. * The timestamp when the specified runtime instance of the workflow finished.
  2282. */
  2283. endTime?: DateTime;
  2284. /**
  2285. * Test workflows are defined within named runtime groups. The parallel group is a named group that contains one or more test workflows.
  2286. */
  2287. parallelGroup?: ParallelGroup;
  2288. }
  2289. export interface GetWorkflowRequest {
  2290. /**
  2291. * The Amazon Resource Name (ARN) of the workflow resource that you want to get.
  2292. */
  2293. workflowBuildVersionArn: WorkflowVersionArnOrBuildVersionArn;
  2294. }
  2295. export interface GetWorkflowResponse {
  2296. /**
  2297. * The workflow resource specified in the request.
  2298. */
  2299. workflow?: Workflow;
  2300. }
  2301. export interface GetWorkflowStepExecutionRequest {
  2302. /**
  2303. * Use the unique identifier for a specific runtime instance of the workflow step to get runtime details for that step.
  2304. */
  2305. stepExecutionId: WorkflowStepExecutionId;
  2306. }
  2307. export interface GetWorkflowStepExecutionResponse {
  2308. /**
  2309. * The request ID that uniquely identifies this request.
  2310. */
  2311. requestId?: NonEmptyString;
  2312. /**
  2313. * The unique identifier for the runtime version of the workflow step that you specified in the request.
  2314. */
  2315. stepExecutionId?: WorkflowStepExecutionId;
  2316. /**
  2317. * The Amazon Resource Name (ARN) of the build version for the Image Builder workflow resource that defines this workflow step.
  2318. */
  2319. workflowBuildVersionArn?: WorkflowBuildVersionArn;
  2320. /**
  2321. * The unique identifier that Image Builder assigned to keep track of runtime details when it ran the workflow.
  2322. */
  2323. workflowExecutionId?: WorkflowExecutionId;
  2324. /**
  2325. * The Amazon Resource Name (ARN) of the image resource build version that the specified runtime instance of the workflow step creates.
  2326. */
  2327. imageBuildVersionArn?: ImageBuildVersionArn;
  2328. /**
  2329. * The name of the specified runtime instance of the workflow step.
  2330. */
  2331. name?: WorkflowStepName;
  2332. /**
  2333. * Describes the specified workflow step.
  2334. */
  2335. description?: WorkflowStepDescription;
  2336. /**
  2337. * The name of the action that the specified step performs.
  2338. */
  2339. action?: WorkflowStepAction;
  2340. /**
  2341. * The current status for the specified runtime version of the workflow step.
  2342. */
  2343. status?: WorkflowStepExecutionStatus;
  2344. /**
  2345. * Reports on the rollback status of the specified runtime version of the workflow step, if applicable.
  2346. */
  2347. rollbackStatus?: WorkflowStepExecutionRollbackStatus;
  2348. /**
  2349. * The output message from the specified runtime instance of the workflow step, if applicable.
  2350. */
  2351. message?: WorkflowStepMessage;
  2352. /**
  2353. * Input parameters that Image Builder provided for the specified runtime instance of the workflow step.
  2354. */
  2355. inputs?: WorkflowStepInputs;
  2356. /**
  2357. * The file names that the specified runtime version of the workflow step created as output.
  2358. */
  2359. outputs?: WorkflowStepOutputs;
  2360. /**
  2361. * The timestamp when the specified runtime version of the workflow step started.
  2362. */
  2363. startTime?: DateTime;
  2364. /**
  2365. * The timestamp when the specified runtime instance of the workflow step finished.
  2366. */
  2367. endTime?: DateTime;
  2368. /**
  2369. * The action to perform if the workflow step fails.
  2370. */
  2371. onFailure?: NonEmptyString;
  2372. /**
  2373. * The maximum duration in seconds for this step to complete its action.
  2374. */
  2375. timeoutSeconds?: WorkflowStepTimeoutSecondsInteger;
  2376. }
  2377. export type HttpPutResponseHopLimit = number;
  2378. export type HttpTokens = string;
  2379. export interface Image {
  2380. /**
  2381. * The Amazon Resource Name (ARN) of the image. Semantic versioning is included in each object's Amazon Resource Name (ARN), at the level that applies to that object as follows: Versionless ARNs and Name ARNs do not include specific values in any of the nodes. The nodes are either left off entirely, or they are specified as wildcards, for example: x.x.x. Version ARNs have only the first three nodes: &lt;major&gt;.&lt;minor&gt;.&lt;patch&gt; Build version ARNs have all four nodes, and point to a specific build for a specific version of an object.
  2382. */
  2383. arn?: ImageBuilderArn;
  2384. /**
  2385. * Specifies whether this image produces an AMI or a container image.
  2386. */
  2387. type?: ImageType;
  2388. /**
  2389. * The name of the image.
  2390. */
  2391. name?: ResourceName;
  2392. /**
  2393. * The semantic version of the image. The semantic version has four nodes: &lt;major&gt;.&lt;minor&gt;.&lt;patch&gt;/&lt;build&gt;. You can assign values for the first three, and can filter on all of them. Assignment: For the first three nodes you can assign any positive integer value, including zero, with an upper limit of 2^30-1, or 1073741823 for each node. Image Builder automatically assigns the build number to the fourth node. Patterns: You can use any numeric pattern that adheres to the assignment requirements for the nodes that you can assign. For example, you might choose a software version pattern, such as 1.0.0, or a date, such as 2021.01.01. Filtering: With semantic versioning, you have the flexibility to use wildcards (x) to specify the most recent versions or nodes when selecting the base image or components for your recipe. When you use a wildcard in any node, all nodes to the right of the first wildcard must also be wildcards.
  2394. */
  2395. version?: VersionNumber;
  2396. /**
  2397. * The image operating system platform, such as Linux or Windows.
  2398. */
  2399. platform?: Platform;
  2400. /**
  2401. * Indicates whether Image Builder collects additional information about the image, such as the operating system (OS) version and package list.
  2402. */
  2403. enhancedImageMetadataEnabled?: NullableBoolean;
  2404. /**
  2405. * The operating system version for instances that launch from this image. For example, Amazon Linux 2, Ubuntu 18, or Microsoft Windows Server 2019.
  2406. */
  2407. osVersion?: OsVersion;
  2408. /**
  2409. * The state of the image.
  2410. */
  2411. state?: ImageState;
  2412. /**
  2413. * For images that distribute an AMI, this is the image recipe that Image Builder used to create the image. For container images, this is empty.
  2414. */
  2415. imageRecipe?: ImageRecipe;
  2416. /**
  2417. * For container images, this is the container recipe that Image Builder used to create the image. For images that distribute an AMI, this is empty.
  2418. */
  2419. containerRecipe?: ContainerRecipe;
  2420. /**
  2421. * The name of the image pipeline that created this image.
  2422. */
  2423. sourcePipelineName?: ResourceName;
  2424. /**
  2425. * The Amazon Resource Name (ARN) of the image pipeline that created this image.
  2426. */
  2427. sourcePipelineArn?: Arn;
  2428. /**
  2429. * The infrastructure that Image Builder used to create this image.
  2430. */
  2431. infrastructureConfiguration?: InfrastructureConfiguration;
  2432. /**
  2433. * The distribution configuration that Image Builder used to create this image.
  2434. */
  2435. distributionConfiguration?: DistributionConfiguration;
  2436. /**
  2437. * The image tests that ran when that Image Builder created this image.
  2438. */
  2439. imageTestsConfiguration?: ImageTestsConfiguration;
  2440. /**
  2441. * The date on which Image Builder created this image.
  2442. */
  2443. dateCreated?: DateTime;
  2444. /**
  2445. * The output resources that Image Builder produces for this image.
  2446. */
  2447. outputResources?: OutputResources;
  2448. /**
  2449. * The tags that apply to this image.
  2450. */
  2451. tags?: TagMap;
  2452. /**
  2453. * Indicates the type of build that created this image. The build can be initiated in the following ways: USER_INITIATED – A manual pipeline build request. SCHEDULED – A pipeline build initiated by a cron expression in the Image Builder pipeline, or from EventBridge. IMPORT – A VM import created the image to use as the base image for the recipe.
  2454. */
  2455. buildType?: BuildType;
  2456. /**
  2457. * The origin of the base image that Image Builder used to build this image.
  2458. */
  2459. imageSource?: ImageSource;
  2460. /**
  2461. * Contains information about the current state of scans for this image.
  2462. */
  2463. scanState?: ImageScanState;
  2464. /**
  2465. * Contains settings for vulnerability scans.
  2466. */
  2467. imageScanningConfiguration?: ImageScanningConfiguration;
  2468. /**
  2469. * The time when deprecation occurs for an image resource. This can be a past or future date.
  2470. */
  2471. deprecationTime?: DateTimeTimestamp;
  2472. /**
  2473. * Identifies the last runtime instance of the lifecycle policy to take action on the image.
  2474. */
  2475. lifecycleExecutionId?: LifecycleExecutionId;
  2476. /**
  2477. * The name or Amazon Resource Name (ARN) for the IAM role you create that grants Image Builder access to perform workflow actions.
  2478. */
  2479. executionRole?: RoleNameOrArn;
  2480. /**
  2481. * Contains the build and test workflows that are associated with the image.
  2482. */
  2483. workflows?: WorkflowConfigurationList;
  2484. }
  2485. export interface ImageAggregation {
  2486. /**
  2487. * The Amazon Resource Name (ARN) that identifies the image for this aggregation.
  2488. */
  2489. imageBuildVersionArn?: ImageBuildVersionArn;
  2490. /**
  2491. * Counts by severity level for medium severity and higher level findings, plus a total for all of the findings for the specified image.
  2492. */
  2493. severityCounts?: SeverityCounts;
  2494. }
  2495. export type ImageBuildMessage = string;
  2496. export type ImageBuildVersionArn = string;
  2497. export type ImageBuilderArn = string;
  2498. export interface ImagePackage {
  2499. /**
  2500. * The name of the package as reported to the operating system package manager.
  2501. */
  2502. packageName?: NonEmptyString;
  2503. /**
  2504. * The version of the package as reported to the operating system package manager.
  2505. */
  2506. packageVersion?: NonEmptyString;
  2507. }
  2508. export type ImagePackageList = ImagePackage[];
  2509. export interface ImagePipeline {
  2510. /**
  2511. * The Amazon Resource Name (ARN) of the image pipeline.
  2512. */
  2513. arn?: ImageBuilderArn;
  2514. /**
  2515. * The name of the image pipeline.
  2516. */
  2517. name?: ResourceName;
  2518. /**
  2519. * The description of the image pipeline.
  2520. */
  2521. description?: NonEmptyString;
  2522. /**
  2523. * The platform of the image pipeline.
  2524. */
  2525. platform?: Platform;
  2526. /**
  2527. * Collects additional information about the image being created, including the operating system (OS) version and package list. This information is used to enhance the overall experience of using EC2 Image Builder. Enabled by default.
  2528. */
  2529. enhancedImageMetadataEnabled?: NullableBoolean;
  2530. /**
  2531. * The Amazon Resource Name (ARN) of the image recipe associated with this image pipeline.
  2532. */
  2533. imageRecipeArn?: Arn;
  2534. /**
  2535. * The Amazon Resource Name (ARN) of the container recipe that is used for this pipeline.
  2536. */
  2537. containerRecipeArn?: Arn;
  2538. /**
  2539. * The Amazon Resource Name (ARN) of the infrastructure configuration associated with this image pipeline.
  2540. */
  2541. infrastructureConfigurationArn?: Arn;
  2542. /**
  2543. * The Amazon Resource Name (ARN) of the distribution configuration associated with this image pipeline.
  2544. */
  2545. distributionConfigurationArn?: Arn;
  2546. /**
  2547. * The image tests configuration of the image pipeline.
  2548. */
  2549. imageTestsConfiguration?: ImageTestsConfiguration;
  2550. /**
  2551. * The schedule of the image pipeline.
  2552. */
  2553. schedule?: Schedule;
  2554. /**
  2555. * The status of the image pipeline.
  2556. */
  2557. status?: PipelineStatus;
  2558. /**
  2559. * The date on which this image pipeline was created.
  2560. */
  2561. dateCreated?: DateTime;
  2562. /**
  2563. * The date on which this image pipeline was last updated.
  2564. */
  2565. dateUpdated?: DateTime;
  2566. /**
  2567. * This is no longer supported, and does not return a value.
  2568. */
  2569. dateLastRun?: DateTime;
  2570. /**
  2571. * The next date when the pipeline is scheduled to run.
  2572. */
  2573. dateNextRun?: DateTime;
  2574. /**
  2575. * The tags of this image pipeline.
  2576. */
  2577. tags?: TagMap;
  2578. /**
  2579. * Contains settings for vulnerability scans.
  2580. */
  2581. imageScanningConfiguration?: ImageScanningConfiguration;
  2582. /**
  2583. * The name or Amazon Resource Name (ARN) for the IAM role you create that grants Image Builder access to perform workflow actions.
  2584. */
  2585. executionRole?: RoleNameOrArn;
  2586. /**
  2587. * Contains the workflows that run for the image pipeline.
  2588. */
  2589. workflows?: WorkflowConfigurationList;
  2590. }
  2591. export interface ImagePipelineAggregation {
  2592. /**
  2593. * The Amazon Resource Name (ARN) that identifies the image pipeline for this aggregation.
  2594. */
  2595. imagePipelineArn?: ImagePipelineArn;
  2596. /**
  2597. * Counts by severity level for medium severity and higher level findings, plus a total for all of the findings for the specified image pipeline.
  2598. */
  2599. severityCounts?: SeverityCounts;
  2600. }
  2601. export type ImagePipelineArn = string;
  2602. export type ImagePipelineList = ImagePipeline[];
  2603. export interface ImageRecipe {
  2604. /**
  2605. * The Amazon Resource Name (ARN) of the image recipe.
  2606. */
  2607. arn?: ImageBuilderArn;
  2608. /**
  2609. * Specifies which type of image is created by the recipe - an AMI or a container image.
  2610. */
  2611. type?: ImageType;
  2612. /**
  2613. * The name of the image recipe.
  2614. */
  2615. name?: ResourceName;
  2616. /**
  2617. * The description of the image recipe.
  2618. */
  2619. description?: NonEmptyString;
  2620. /**
  2621. * The platform of the image recipe.
  2622. */
  2623. platform?: Platform;
  2624. /**
  2625. * The owner of the image recipe.
  2626. */
  2627. owner?: NonEmptyString;
  2628. /**
  2629. * The version of the image recipe.
  2630. */
  2631. version?: VersionNumber;
  2632. /**
  2633. * The components that are included in the image recipe. Recipes require a minimum of one build component, and can have a maximum of 20 build and test components in any combination.
  2634. */
  2635. components?: ComponentConfigurationList;
  2636. /**
  2637. * The base image of the image recipe.
  2638. */
  2639. parentImage?: NonEmptyString;
  2640. /**
  2641. * The block device mappings to apply when creating images from this recipe.
  2642. */
  2643. blockDeviceMappings?: InstanceBlockDeviceMappings;
  2644. /**
  2645. * The date on which this image recipe was created.
  2646. */
  2647. dateCreated?: DateTime;
  2648. /**
  2649. * The tags of the image recipe.
  2650. */
  2651. tags?: TagMap;
  2652. /**
  2653. * The working directory to be used during build and test workflows.
  2654. */
  2655. workingDirectory?: NonEmptyString;
  2656. /**
  2657. * Before you create a new AMI, Image Builder launches temporary Amazon EC2 instances to build and test your image configuration. Instance configuration adds a layer of control over those instances. You can define settings and add scripts to run when an instance is launched from your AMI.
  2658. */
  2659. additionalInstanceConfiguration?: AdditionalInstanceConfiguration;
  2660. }
  2661. export type ImageRecipeArn = string;
  2662. export interface ImageRecipeSummary {
  2663. /**
  2664. * The Amazon Resource Name (ARN) of the image recipe.
  2665. */
  2666. arn?: ImageBuilderArn;
  2667. /**
  2668. * The name of the image recipe.
  2669. */
  2670. name?: ResourceName;
  2671. /**
  2672. * The platform of the image recipe.
  2673. */
  2674. platform?: Platform;
  2675. /**
  2676. * The owner of the image recipe.
  2677. */
  2678. owner?: NonEmptyString;
  2679. /**
  2680. * The base image of the image recipe.
  2681. */
  2682. parentImage?: NonEmptyString;
  2683. /**
  2684. * The date on which this image recipe was created.
  2685. */
  2686. dateCreated?: DateTime;
  2687. /**
  2688. * The tags of the image recipe.
  2689. */
  2690. tags?: TagMap;
  2691. }
  2692. export type ImageRecipeSummaryList = ImageRecipeSummary[];
  2693. export interface ImageScanFinding {
  2694. /**
  2695. * The Amazon Web Services account ID that's associated with the finding.
  2696. */
  2697. awsAccountId?: NonEmptyString;
  2698. /**
  2699. * The Amazon Resource Name (ARN) of the image build version that's associated with the finding.
  2700. */
  2701. imageBuildVersionArn?: ImageBuildVersionArn;
  2702. /**
  2703. * The Amazon Resource Name (ARN) of the image pipeline that's associated with the finding.
  2704. */
  2705. imagePipelineArn?: ImagePipelineArn;
  2706. /**
  2707. * The type of the finding. Image Builder looks for findings of the type PACKAGE_VULNERABILITY that apply to output images, and excludes other types.
  2708. */
  2709. type?: NonEmptyString;
  2710. /**
  2711. * The description of the finding.
  2712. */
  2713. description?: NonEmptyString;
  2714. /**
  2715. * The title of the finding.
  2716. */
  2717. title?: NonEmptyString;
  2718. /**
  2719. * An object that contains the details about how to remediate the finding.
  2720. */
  2721. remediation?: Remediation;
  2722. /**
  2723. * The severity of the finding.
  2724. */
  2725. severity?: NonEmptyString;
  2726. /**
  2727. * The date and time when the finding was first observed.
  2728. */
  2729. firstObservedAt?: DateTimeTimestamp;
  2730. /**
  2731. * The timestamp when the finding was last updated.
  2732. */
  2733. updatedAt?: DateTimeTimestamp;
  2734. /**
  2735. * The score that Amazon Inspector assigned for the finding.
  2736. */
  2737. inspectorScore?: NonNegativeDouble;
  2738. /**
  2739. * An object that contains details of the Amazon Inspector score.
  2740. */
  2741. inspectorScoreDetails?: InspectorScoreDetails;
  2742. /**
  2743. * An object that contains the details of a package vulnerability finding.
  2744. */
  2745. packageVulnerabilityDetails?: PackageVulnerabilityDetails;
  2746. /**
  2747. * Details about whether a fix is available for any of the packages that are identified in the finding through a version update.
  2748. */
  2749. fixAvailable?: NonEmptyString;
  2750. }
  2751. export interface ImageScanFindingAggregation {
  2752. /**
  2753. * Returns an object that contains severity counts based on an account ID.
  2754. */
  2755. accountAggregation?: AccountAggregation;
  2756. /**
  2757. * Returns an object that contains severity counts based on the Amazon Resource Name (ARN) for a specific image.
  2758. */
  2759. imageAggregation?: ImageAggregation;
  2760. /**
  2761. * Returns an object that contains severity counts based on an image pipeline ARN.
  2762. */
  2763. imagePipelineAggregation?: ImagePipelineAggregation;
  2764. /**
  2765. * Returns an object that contains severity counts based on vulnerability ID.
  2766. */
  2767. vulnerabilityIdAggregation?: VulnerabilityIdAggregation;
  2768. }
  2769. export type ImageScanFindingAggregationsList = ImageScanFindingAggregation[];
  2770. export interface ImageScanFindingsFilter {
  2771. /**
  2772. * The name of the image scan finding filter. Filter names are case-sensitive.
  2773. */
  2774. name?: FilterName;
  2775. /**
  2776. * The filter values. Filter values are case-sensitive.
  2777. */
  2778. values?: ImageScanFindingsFilterValues;
  2779. }
  2780. export type ImageScanFindingsFilterList = ImageScanFindingsFilter[];
  2781. export type ImageScanFindingsFilterValues = FilterValue[];
  2782. export type ImageScanFindingsList = ImageScanFinding[];
  2783. export interface ImageScanState {
  2784. /**
  2785. * The current state of vulnerability scans for the image.
  2786. */
  2787. status?: ImageScanStatus;
  2788. /**
  2789. * The reason for the scan status for the image.
  2790. */
  2791. reason?: NonEmptyString;
  2792. }
  2793. export type ImageScanStatus = "PENDING"|"SCANNING"|"COLLECTING"|"COMPLETED"|"ABANDONED"|"FAILED"|"TIMED_OUT"|string;
  2794. export interface ImageScanningConfiguration {
  2795. /**
  2796. * A setting that indicates whether Image Builder keeps a snapshot of the vulnerability scans that Amazon Inspector runs against the build instance when you create a new image.
  2797. */
  2798. imageScanningEnabled?: NullableBoolean;
  2799. /**
  2800. * Contains Amazon ECR settings for vulnerability scans.
  2801. */
  2802. ecrConfiguration?: EcrConfiguration;
  2803. }
  2804. export type ImageSource = "AMAZON_MANAGED"|"AWS_MARKETPLACE"|"IMPORTED"|"CUSTOM"|string;
  2805. export interface ImageState {
  2806. /**
  2807. * The status of the image.
  2808. */
  2809. status?: ImageStatus;
  2810. /**
  2811. * The reason for the status of the image.
  2812. */
  2813. reason?: NonEmptyString;
  2814. }
  2815. export type ImageStatus = "PENDING"|"CREATING"|"BUILDING"|"TESTING"|"DISTRIBUTING"|"INTEGRATING"|"AVAILABLE"|"CANCELLED"|"FAILED"|"DEPRECATED"|"DELETED"|"DISABLED"|string;
  2816. export interface ImageSummary {
  2817. /**
  2818. * The Amazon Resource Name (ARN) of the image.
  2819. */
  2820. arn?: ImageBuilderArn;
  2821. /**
  2822. * The name of the image.
  2823. */
  2824. name?: ResourceName;
  2825. /**
  2826. * Specifies whether this image produces an AMI or a container image.
  2827. */
  2828. type?: ImageType;
  2829. /**
  2830. * The version of the image.
  2831. */
  2832. version?: VersionNumber;
  2833. /**
  2834. * The image operating system platform, such as Linux or Windows.
  2835. */
  2836. platform?: Platform;
  2837. /**
  2838. * The operating system version of the instances that launch from this image. For example, Amazon Linux 2, Ubuntu 18, or Microsoft Windows Server 2019.
  2839. */
  2840. osVersion?: OsVersion;
  2841. /**
  2842. * The state of the image.
  2843. */
  2844. state?: ImageState;
  2845. /**
  2846. * The owner of the image.
  2847. */
  2848. owner?: NonEmptyString;
  2849. /**
  2850. * The date on which Image Builder created this image.
  2851. */
  2852. dateCreated?: DateTime;
  2853. /**
  2854. * The output resources that Image Builder produced when it created this image.
  2855. */
  2856. outputResources?: OutputResources;
  2857. /**
  2858. * The tags that apply to this image.
  2859. */
  2860. tags?: TagMap;
  2861. /**
  2862. * Indicates the type of build that created this image. The build can be initiated in the following ways: USER_INITIATED – A manual pipeline build request. SCHEDULED – A pipeline build initiated by a cron expression in the Image Builder pipeline, or from EventBridge. IMPORT – A VM import created the image to use as the base image for the recipe.
  2863. */
  2864. buildType?: BuildType;
  2865. /**
  2866. * The origin of the base image that Image Builder used to build this image.
  2867. */
  2868. imageSource?: ImageSource;
  2869. /**
  2870. * The time when deprecation occurs for an image resource. This can be a past or future date.
  2871. */
  2872. deprecationTime?: DateTimeTimestamp;
  2873. /**
  2874. * Identifies the last runtime instance of the lifecycle policy to take action on the image.
  2875. */
  2876. lifecycleExecutionId?: LifecycleExecutionId;
  2877. }
  2878. export type ImageSummaryList = ImageSummary[];
  2879. export interface ImageTestsConfiguration {
  2880. /**
  2881. * Determines if tests should run after building the image. Image Builder defaults to enable tests to run following the image build, before image distribution.
  2882. */
  2883. imageTestsEnabled?: NullableBoolean;
  2884. /**
  2885. * The maximum time in minutes that tests are permitted to run. The timeoutMinutes attribute is not currently active. This value is ignored.
  2886. */
  2887. timeoutMinutes?: ImageTestsTimeoutMinutes;
  2888. }
  2889. export type ImageTestsTimeoutMinutes = number;
  2890. export type ImageType = "AMI"|"DOCKER"|string;
  2891. export interface ImageVersion {
  2892. /**
  2893. * The Amazon Resource Name (ARN) of a specific version of an Image Builder image. Semantic versioning is included in each object's Amazon Resource Name (ARN), at the level that applies to that object as follows: Versionless ARNs and Name ARNs do not include specific values in any of the nodes. The nodes are either left off entirely, or they are specified as wildcards, for example: x.x.x. Version ARNs have only the first three nodes: &lt;major&gt;.&lt;minor&gt;.&lt;patch&gt; Build version ARNs have all four nodes, and point to a specific build for a specific version of an object.
  2894. */
  2895. arn?: ImageBuilderArn;
  2896. /**
  2897. * The name of this specific version of an Image Builder image.
  2898. */
  2899. name?: ResourceName;
  2900. /**
  2901. * Specifies whether this image produces an AMI or a container image.
  2902. */
  2903. type?: ImageType;
  2904. /**
  2905. * Details for a specific version of an Image Builder image. This version follows the semantic version syntax. The semantic version has four nodes: &lt;major&gt;.&lt;minor&gt;.&lt;patch&gt;/&lt;build&gt;. You can assign values for the first three, and can filter on all of them. Assignment: For the first three nodes you can assign any positive integer value, including zero, with an upper limit of 2^30-1, or 1073741823 for each node. Image Builder automatically assigns the build number to the fourth node. Patterns: You can use any numeric pattern that adheres to the assignment requirements for the nodes that you can assign. For example, you might choose a software version pattern, such as 1.0.0, or a date, such as 2021.01.01. Filtering: With semantic versioning, you have the flexibility to use wildcards (x) to specify the most recent versions or nodes when selecting the base image or components for your recipe. When you use a wildcard in any node, all nodes to the right of the first wildcard must also be wildcards.
  2906. */
  2907. version?: VersionNumber;
  2908. /**
  2909. * The operating system platform of the image version, for example "Windows" or "Linux".
  2910. */
  2911. platform?: Platform;
  2912. /**
  2913. * The operating system version of the Amazon EC2 build instance. For example, Amazon Linux 2, Ubuntu 18, or Microsoft Windows Server 2019.
  2914. */
  2915. osVersion?: OsVersion;
  2916. /**
  2917. * The owner of the image version.
  2918. */
  2919. owner?: NonEmptyString;
  2920. /**
  2921. * The date on which this specific version of the Image Builder image was created.
  2922. */
  2923. dateCreated?: DateTime;
  2924. /**
  2925. * Indicates the type of build that created this image. The build can be initiated in the following ways: USER_INITIATED – A manual pipeline build request. SCHEDULED – A pipeline build initiated by a cron expression in the Image Builder pipeline, or from EventBridge. IMPORT – A VM import created the image to use as the base image for the recipe.
  2926. */
  2927. buildType?: BuildType;
  2928. /**
  2929. * The origin of the base image that Image Builder used to build this image.
  2930. */
  2931. imageSource?: ImageSource;
  2932. }
  2933. export type ImageVersionArn = string;
  2934. export type ImageVersionArnOrBuildVersionArn = string;
  2935. export type ImageVersionList = ImageVersion[];
  2936. export interface ImportComponentRequest {
  2937. /**
  2938. * The name of the component.
  2939. */
  2940. name: ResourceName;
  2941. /**
  2942. * The semantic version of the component. This version follows the semantic version syntax. The semantic version has four nodes: &lt;major&gt;.&lt;minor&gt;.&lt;patch&gt;/&lt;build&gt;. You can assign values for the first three, and can filter on all of them. Filtering: With semantic versioning, you have the flexibility to use wildcards (x) to specify the most recent versions or nodes when selecting the base image or components for your recipe. When you use a wildcard in any node, all nodes to the right of the first wildcard must also be wildcards.
  2943. */
  2944. semanticVersion: VersionNumber;
  2945. /**
  2946. * The description of the component. Describes the contents of the component.
  2947. */
  2948. description?: NonEmptyString;
  2949. /**
  2950. * The change description of the component. This description indicates the change that has been made in this version, or what makes this version different from other versions of the component.
  2951. */
  2952. changeDescription?: NonEmptyString;
  2953. /**
  2954. * The type of the component denotes whether the component is used to build the image, or only to test it.
  2955. */
  2956. type: ComponentType;
  2957. /**
  2958. * The format of the resource that you want to import as a component.
  2959. */
  2960. format: ComponentFormat;
  2961. /**
  2962. * The platform of the component.
  2963. */
  2964. platform: Platform;
  2965. /**
  2966. * The data of the component. Used to specify the data inline. Either data or uri can be used to specify the data within the component.
  2967. */
  2968. data?: NonEmptyString;
  2969. /**
  2970. * The uri of the component. Must be an Amazon S3 URL and the requester must have permission to access the Amazon S3 bucket. If you use Amazon S3, you can specify component content up to your service quota. Either data or uri can be used to specify the data within the component.
  2971. */
  2972. uri?: Uri;
  2973. /**
  2974. * The ID of the KMS key that should be used to encrypt this component.
  2975. */
  2976. kmsKeyId?: NonEmptyString;
  2977. /**
  2978. * The tags of the component.
  2979. */
  2980. tags?: TagMap;
  2981. /**
  2982. * Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see Ensuring idempotency in the Amazon EC2 API Reference.
  2983. */
  2984. clientToken: ClientToken;
  2985. }
  2986. export interface ImportComponentResponse {
  2987. /**
  2988. * The request ID that uniquely identifies this request.
  2989. */
  2990. requestId?: NonEmptyString;
  2991. /**
  2992. * The client token that uniquely identifies the request.
  2993. */
  2994. clientToken?: ClientToken;
  2995. /**
  2996. * The Amazon Resource Name (ARN) of the imported component.
  2997. */
  2998. componentBuildVersionArn?: ComponentBuildVersionArn;
  2999. }
  3000. export interface ImportVmImageRequest {
  3001. /**
  3002. * The name of the base image that is created by the import process.
  3003. */
  3004. name: NonEmptyString;
  3005. /**
  3006. * The semantic version to attach to the base image that was created during the import process. This version follows the semantic version syntax. The semantic version has four nodes: &lt;major&gt;.&lt;minor&gt;.&lt;patch&gt;/&lt;build&gt;. You can assign values for the first three, and can filter on all of them. Assignment: For the first three nodes you can assign any positive integer value, including zero, with an upper limit of 2^30-1, or 1073741823 for each node. Image Builder automatically assigns the build number to the fourth node. Patterns: You can use any numeric pattern that adheres to the assignment requirements for the nodes that you can assign. For example, you might choose a software version pattern, such as 1.0.0, or a date, such as 2021.01.01.
  3007. */
  3008. semanticVersion: VersionNumber;
  3009. /**
  3010. * The description for the base image that is created by the import process.
  3011. */
  3012. description?: NonEmptyString;
  3013. /**
  3014. * The operating system platform for the imported VM.
  3015. */
  3016. platform: Platform;
  3017. /**
  3018. * The operating system version for the imported VM.
  3019. */
  3020. osVersion?: OsVersion;
  3021. /**
  3022. * The importTaskId (API) or ImportTaskId (CLI) from the Amazon EC2 VM import process. Image Builder retrieves information from the import process to pull in the AMI that is created from the VM source as the base image for your recipe.
  3023. */
  3024. vmImportTaskId: NonEmptyString;
  3025. /**
  3026. * Tags that are attached to the import resources.
  3027. */
  3028. tags?: TagMap;
  3029. /**
  3030. * Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see Ensuring idempotency in the Amazon EC2 API Reference.
  3031. */
  3032. clientToken: ClientToken;
  3033. }
  3034. export interface ImportVmImageResponse {
  3035. /**
  3036. * The request ID that uniquely identifies this request.
  3037. */
  3038. requestId?: NonEmptyString;
  3039. /**
  3040. * The Amazon Resource Name (ARN) of the AMI that was created during the VM import process. This AMI is used as the base image for the recipe that imported the VM.
  3041. */
  3042. imageArn?: Arn;
  3043. /**
  3044. * The client token that uniquely identifies the request.
  3045. */
  3046. clientToken?: ClientToken;
  3047. }
  3048. export interface InfrastructureConfiguration {
  3049. /**
  3050. * The Amazon Resource Name (ARN) of the infrastructure configuration.
  3051. */
  3052. arn?: ImageBuilderArn;
  3053. /**
  3054. * The name of the infrastructure configuration.
  3055. */
  3056. name?: ResourceName;
  3057. /**
  3058. * The description of the infrastructure configuration.
  3059. */
  3060. description?: NonEmptyString;
  3061. /**
  3062. * The instance types of the infrastructure configuration.
  3063. */
  3064. instanceTypes?: InstanceTypeList;
  3065. /**
  3066. * The instance profile of the infrastructure configuration.
  3067. */
  3068. instanceProfileName?: InstanceProfileNameType;
  3069. /**
  3070. * The security group IDs of the infrastructure configuration.
  3071. */
  3072. securityGroupIds?: SecurityGroupIds;
  3073. /**
  3074. * The subnet ID of the infrastructure configuration.
  3075. */
  3076. subnetId?: NonEmptyString;
  3077. /**
  3078. * The logging configuration of the infrastructure configuration.
  3079. */
  3080. logging?: Logging;
  3081. /**
  3082. * The Amazon EC2 key pair of the infrastructure configuration.
  3083. */
  3084. keyPair?: NonEmptyString;
  3085. /**
  3086. * The terminate instance on failure configuration of the infrastructure configuration.
  3087. */
  3088. terminateInstanceOnFailure?: NullableBoolean;
  3089. /**
  3090. * The Amazon Resource Name (ARN) for the SNS topic to which we send image build event notifications. EC2 Image Builder is unable to send notifications to SNS topics that are encrypted using keys from other accounts. The key that is used to encrypt the SNS topic must reside in the account that the Image Builder service runs under.
  3091. */
  3092. snsTopicArn?: NonEmptyString;
  3093. /**
  3094. * The date on which the infrastructure configuration was created.
  3095. */
  3096. dateCreated?: DateTime;
  3097. /**
  3098. * The date on which the infrastructure configuration was last updated.
  3099. */
  3100. dateUpdated?: DateTime;
  3101. /**
  3102. * The tags attached to the resource created by Image Builder.
  3103. */
  3104. resourceTags?: ResourceTagMap;
  3105. /**
  3106. * The instance metadata option settings for the infrastructure configuration.
  3107. */
  3108. instanceMetadataOptions?: InstanceMetadataOptions;
  3109. /**
  3110. * The tags of the infrastructure configuration.
  3111. */
  3112. tags?: TagMap;
  3113. }
  3114. export type InfrastructureConfigurationArn = string;
  3115. export interface InfrastructureConfigurationSummary {
  3116. /**
  3117. * The Amazon Resource Name (ARN) of the infrastructure configuration.
  3118. */
  3119. arn?: ImageBuilderArn;
  3120. /**
  3121. * The name of the infrastructure configuration.
  3122. */
  3123. name?: ResourceName;
  3124. /**
  3125. * The description of the infrastructure configuration.
  3126. */
  3127. description?: NonEmptyString;
  3128. /**
  3129. * The date on which the infrastructure configuration was created.
  3130. */
  3131. dateCreated?: DateTime;
  3132. /**
  3133. * The date on which the infrastructure configuration was last updated.
  3134. */
  3135. dateUpdated?: DateTime;
  3136. /**
  3137. * The tags attached to the image created by Image Builder.
  3138. */
  3139. resourceTags?: ResourceTagMap;
  3140. /**
  3141. * The tags of the infrastructure configuration.
  3142. */
  3143. tags?: TagMap;
  3144. /**
  3145. * The instance types of the infrastructure configuration.
  3146. */
  3147. instanceTypes?: InstanceTypeList;
  3148. /**
  3149. * The instance profile of the infrastructure configuration.
  3150. */
  3151. instanceProfileName?: InstanceProfileNameType;
  3152. }
  3153. export type InfrastructureConfigurationSummaryList = InfrastructureConfigurationSummary[];
  3154. export type InlineComponentData = string;
  3155. export type InlineDockerFileTemplate = string;
  3156. export type InlineWorkflowData = string;
  3157. export interface InspectorScoreDetails {
  3158. /**
  3159. * An object that contains details about an adjustment that Amazon Inspector made to the CVSS score for the finding.
  3160. */
  3161. adjustedCvss?: CvssScoreDetails;
  3162. }
  3163. export interface InstanceBlockDeviceMapping {
  3164. /**
  3165. * The device to which these mappings apply.
  3166. */
  3167. deviceName?: NonEmptyString;
  3168. /**
  3169. * Use to manage Amazon EBS-specific configuration for this mapping.
  3170. */
  3171. ebs?: EbsInstanceBlockDeviceSpecification;
  3172. /**
  3173. * Use to manage instance ephemeral devices.
  3174. */
  3175. virtualName?: NonEmptyString;
  3176. /**
  3177. * Use to remove a mapping from the base image.
  3178. */
  3179. noDevice?: EmptyString;
  3180. }
  3181. export type InstanceBlockDeviceMappings = InstanceBlockDeviceMapping[];
  3182. export interface InstanceConfiguration {
  3183. /**
  3184. * The AMI ID to use as the base image for a container build and test instance. If not specified, Image Builder will use the appropriate ECS-optimized AMI as a base image.
  3185. */
  3186. image?: NonEmptyString;
  3187. /**
  3188. * Defines the block devices to attach for building an instance from this Image Builder AMI.
  3189. */
  3190. blockDeviceMappings?: InstanceBlockDeviceMappings;
  3191. }
  3192. export interface InstanceMetadataOptions {
  3193. /**
  3194. * Indicates whether a signed token header is required for instance metadata retrieval requests. The values affect the response as follows: required – When you retrieve the IAM role credentials, version 2.0 credentials are returned in all cases. optional – You can include a signed token header in your request to retrieve instance metadata, or you can leave it out. If you include it, version 2.0 credentials are returned for the IAM role. Otherwise, version 1.0 credentials are returned. The default setting is optional.
  3195. */
  3196. httpTokens?: HttpTokens;
  3197. /**
  3198. * Limit the number of hops that an instance metadata request can traverse to reach its destination. The default is one hop. However, if HTTP tokens are required, container image builds need a minimum of two hops.
  3199. */
  3200. httpPutResponseHopLimit?: HttpPutResponseHopLimit;
  3201. }
  3202. export type InstanceProfileNameType = string;
  3203. export type InstanceType = string;
  3204. export type InstanceTypeList = InstanceType[];
  3205. export interface LaunchPermissionConfiguration {
  3206. /**
  3207. * The Amazon Web Services account ID.
  3208. */
  3209. userIds?: AccountList;
  3210. /**
  3211. * The name of the group.
  3212. */
  3213. userGroups?: StringList;
  3214. /**
  3215. * The ARN for an Amazon Web Services Organization that you want to share your AMI with. For more information, see What is Organizations?.
  3216. */
  3217. organizationArns?: OrganizationArnList;
  3218. /**
  3219. * The ARN for an Organizations organizational unit (OU) that you want to share your AMI with. For more information about key concepts for Organizations, see Organizations terminology and concepts.
  3220. */
  3221. organizationalUnitArns?: OrganizationalUnitArnList;
  3222. }
  3223. export interface LaunchTemplateConfiguration {
  3224. /**
  3225. * Identifies the Amazon EC2 launch template to use.
  3226. */
  3227. launchTemplateId: LaunchTemplateId;
  3228. /**
  3229. * The account ID that this configuration applies to.
  3230. */
  3231. accountId?: AccountId;
  3232. /**
  3233. * Set the specified Amazon EC2 launch template as the default launch template for the specified account.
  3234. */
  3235. setDefaultVersion?: Boolean;
  3236. }
  3237. export type LaunchTemplateConfigurationList = LaunchTemplateConfiguration[];
  3238. export type LaunchTemplateId = string;
  3239. export type LicenseConfigurationArn = string;
  3240. export type LicenseConfigurationArnList = LicenseConfigurationArn[];
  3241. export interface LifecycleExecution {
  3242. /**
  3243. * Identifies the lifecycle policy runtime instance.
  3244. */
  3245. lifecycleExecutionId?: LifecycleExecutionId;
  3246. /**
  3247. * The Amazon Resource Name (ARN) of the lifecycle policy that ran.
  3248. */
  3249. lifecyclePolicyArn?: LifecyclePolicyArn;
  3250. /**
  3251. * Contains information about associated resources that are identified for action by the runtime instance of the lifecycle policy.
  3252. */
  3253. resourcesImpactedSummary?: LifecycleExecutionResourcesImpactedSummary;
  3254. /**
  3255. * Runtime state that reports if the policy action ran successfully, failed, or was skipped.
  3256. */
  3257. state?: LifecycleExecutionState;
  3258. /**
  3259. * The timestamp when the lifecycle runtime instance started.
  3260. */
  3261. startTime?: DateTimeTimestamp;
  3262. /**
  3263. * The timestamp when the lifecycle runtime instance completed.
  3264. */
  3265. endTime?: DateTimeTimestamp;
  3266. }
  3267. export type LifecycleExecutionId = string;
  3268. export interface LifecycleExecutionResource {
  3269. /**
  3270. * The account that owns the impacted resource.
  3271. */
  3272. accountId?: NonEmptyString;
  3273. /**
  3274. * Identifies the impacted resource. The resource ID depends on the type of resource, as follows. Image Builder image resources: Amazon Resource Name (ARN) Distributed AMIs: AMI ID Container images distributed to an ECR repository: image URI or SHA Digest
  3275. */
  3276. resourceId?: NonEmptyString;
  3277. /**
  3278. * The runtime state for the lifecycle execution.
  3279. */
  3280. state?: LifecycleExecutionResourceState;
  3281. /**
  3282. * The action to take for the identified resource.
  3283. */
  3284. action?: LifecycleExecutionResourceAction;
  3285. /**
  3286. * The Amazon Web Services Region where the lifecycle execution resource is stored.
  3287. */
  3288. region?: NonEmptyString;
  3289. /**
  3290. * A list of associated resource snapshots for the impacted resource if it’s an AMI.
  3291. */
  3292. snapshots?: LifecycleExecutionSnapshotResourceList;
  3293. /**
  3294. * For an impacted container image, this identifies a list of URIs for associated container images distributed to ECR repositories.
  3295. */
  3296. imageUris?: StringList;
  3297. /**
  3298. * The starting timestamp from the lifecycle action that was applied to the resource.
  3299. */
  3300. startTime?: DateTimeTimestamp;
  3301. /**
  3302. * The ending timestamp from the lifecycle action that was applied to the resource.
  3303. */
  3304. endTime?: DateTimeTimestamp;
  3305. }
  3306. export interface LifecycleExecutionResourceAction {
  3307. /**
  3308. * The name of the resource that was identified for a lifecycle policy action.
  3309. */
  3310. name?: LifecycleExecutionResourceActionName;
  3311. /**
  3312. * The reason why the lifecycle policy action is taken.
  3313. */
  3314. reason?: NonEmptyString;
  3315. }
  3316. export type LifecycleExecutionResourceActionName = "AVAILABLE"|"DELETE"|"DEPRECATE"|"DISABLE"|string;
  3317. export type LifecycleExecutionResourceList = LifecycleExecutionResource[];
  3318. export interface LifecycleExecutionResourceState {
  3319. /**
  3320. * The runtime status of the lifecycle action taken for the impacted resource.
  3321. */
  3322. status?: LifecycleExecutionResourceStatus;
  3323. /**
  3324. * Messaging that clarifies the reason for the assigned status.
  3325. */
  3326. reason?: NonEmptyString;
  3327. }
  3328. export type LifecycleExecutionResourceStatus = "FAILED"|"IN_PROGRESS"|"SKIPPED"|"SUCCESS"|string;
  3329. export interface LifecycleExecutionResourcesImpactedSummary {
  3330. /**
  3331. * Indicates whether an image resource that was identified for a lifecycle action has associated resources that are also impacted.
  3332. */
  3333. hasImpactedResources?: Boolean;
  3334. }
  3335. export interface LifecycleExecutionSnapshotResource {
  3336. /**
  3337. * Identifies the impacted snapshot resource.
  3338. */
  3339. snapshotId?: NonEmptyString;
  3340. /**
  3341. * The runtime status of the lifecycle action taken for the snapshot.
  3342. */
  3343. state?: LifecycleExecutionResourceState;
  3344. }
  3345. export type LifecycleExecutionSnapshotResourceList = LifecycleExecutionSnapshotResource[];
  3346. export interface LifecycleExecutionState {
  3347. /**
  3348. * The runtime status of the lifecycle execution.
  3349. */
  3350. status?: LifecycleExecutionStatus;
  3351. /**
  3352. * The reason for the current status.
  3353. */
  3354. reason?: NonEmptyString;
  3355. }
  3356. export type LifecycleExecutionStatus = "IN_PROGRESS"|"CANCELLED"|"CANCELLING"|"FAILED"|"SUCCESS"|"PENDING"|string;
  3357. export type LifecycleExecutionsList = LifecycleExecution[];
  3358. export interface LifecyclePolicy {
  3359. /**
  3360. * The Amazon Resource Name (ARN) of the lifecycle policy resource.
  3361. */
  3362. arn?: LifecyclePolicyArn;
  3363. /**
  3364. * The name of the lifecycle policy.
  3365. */
  3366. name?: ResourceName;
  3367. /**
  3368. * Optional description for the lifecycle policy.
  3369. */
  3370. description?: NonEmptyString;
  3371. /**
  3372. * Indicates whether the lifecycle policy resource is enabled.
  3373. */
  3374. status?: LifecyclePolicyStatus;
  3375. /**
  3376. * The name or Amazon Resource Name (ARN) of the IAM role that Image Builder uses to run the lifecycle policy. This is a custom role that you create.
  3377. */
  3378. executionRole?: RoleNameOrArn;
  3379. /**
  3380. * The type of resources the lifecycle policy targets.
  3381. */
  3382. resourceType?: LifecyclePolicyResourceType;
  3383. /**
  3384. * The configuration details for a lifecycle policy resource.
  3385. */
  3386. policyDetails?: LifecyclePolicyDetails;
  3387. /**
  3388. * Resource selection criteria used to run the lifecycle policy.
  3389. */
  3390. resourceSelection?: LifecyclePolicyResourceSelection;
  3391. /**
  3392. * The timestamp when Image Builder created the lifecycle policy resource.
  3393. */
  3394. dateCreated?: DateTimeTimestamp;
  3395. /**
  3396. * The timestamp when Image Builder updated the lifecycle policy resource.
  3397. */
  3398. dateUpdated?: DateTimeTimestamp;
  3399. /**
  3400. * The timestamp for the last time Image Builder ran the lifecycle policy.
  3401. */
  3402. dateLastRun?: DateTimeTimestamp;
  3403. /**
  3404. * To help manage your lifecycle policy resources, you can assign your own metadata to each resource in the form of tags. Each tag consists of a key and an optional value, both of which you define.
  3405. */
  3406. tags?: TagMap;
  3407. }
  3408. export type LifecyclePolicyArn = string;
  3409. export interface LifecyclePolicyDetail {
  3410. /**
  3411. * Configuration details for the policy action.
  3412. */
  3413. action: LifecyclePolicyDetailAction;
  3414. /**
  3415. * Specifies the resources that the lifecycle policy applies to.
  3416. */
  3417. filter: LifecyclePolicyDetailFilter;
  3418. /**
  3419. * Additional rules to specify resources that should be exempt from policy actions.
  3420. */
  3421. exclusionRules?: LifecyclePolicyDetailExclusionRules;
  3422. }
  3423. export interface LifecyclePolicyDetailAction {
  3424. /**
  3425. * Specifies the lifecycle action to take.
  3426. */
  3427. type: LifecyclePolicyDetailActionType;
  3428. /**
  3429. * Specifies the resources that the lifecycle policy applies to.
  3430. */
  3431. includeResources?: LifecyclePolicyDetailActionIncludeResources;
  3432. }
  3433. export interface LifecyclePolicyDetailActionIncludeResources {
  3434. /**
  3435. * Specifies whether the lifecycle action should apply to distributed AMIs.
  3436. */
  3437. amis?: Boolean;
  3438. /**
  3439. * Specifies whether the lifecycle action should apply to snapshots associated with distributed AMIs.
  3440. */
  3441. snapshots?: Boolean;
  3442. /**
  3443. * Specifies whether the lifecycle action should apply to distributed containers.
  3444. */
  3445. containers?: Boolean;
  3446. }
  3447. export type LifecyclePolicyDetailActionType = "DELETE"|"DEPRECATE"|"DISABLE"|string;
  3448. export interface LifecyclePolicyDetailExclusionRules {
  3449. /**
  3450. * Contains a list of tags that Image Builder uses to skip lifecycle actions for Image Builder image resources that have them.
  3451. */
  3452. tagMap?: TagMap;
  3453. /**
  3454. * Lists configuration values that apply to AMIs that Image Builder should exclude from the lifecycle action.
  3455. */
  3456. amis?: LifecyclePolicyDetailExclusionRulesAmis;
  3457. }
  3458. export interface LifecyclePolicyDetailExclusionRulesAmis {
  3459. /**
  3460. * Configures whether public AMIs are excluded from the lifecycle action.
  3461. */
  3462. isPublic?: Boolean;
  3463. /**
  3464. * Configures Amazon Web Services Regions that are excluded from the lifecycle action.
  3465. */
  3466. regions?: StringList;
  3467. /**
  3468. * Specifies Amazon Web Services accounts whose resources are excluded from the lifecycle action.
  3469. */
  3470. sharedAccounts?: AccountList;
  3471. /**
  3472. * Specifies configuration details for Image Builder to exclude the most recent resources from lifecycle actions.
  3473. */
  3474. lastLaunched?: LifecyclePolicyDetailExclusionRulesAmisLastLaunched;
  3475. /**
  3476. * Lists tags that should be excluded from lifecycle actions for the AMIs that have them.
  3477. */
  3478. tagMap?: TagMap;
  3479. }
  3480. export interface LifecyclePolicyDetailExclusionRulesAmisLastLaunched {
  3481. /**
  3482. * The integer number of units for the time period. For example 6 (months).
  3483. */
  3484. value: LifecyclePolicyDetailExclusionRulesAmisLastLaunchedValue;
  3485. /**
  3486. * Defines the unit of time that the lifecycle policy uses to calculate elapsed time since the last instance launched from the AMI. For example: days, weeks, months, or years.
  3487. */
  3488. unit: LifecyclePolicyTimeUnit;
  3489. }
  3490. export type LifecyclePolicyDetailExclusionRulesAmisLastLaunchedValue = number;
  3491. export interface LifecyclePolicyDetailFilter {
  3492. /**
  3493. * Filter resources based on either age or count.
  3494. */
  3495. type: LifecyclePolicyDetailFilterType;
  3496. /**
  3497. * The number of units for the time period or for the count. For example, a value of 6 might refer to six months or six AMIs. For count-based filters, this value represents the minimum number of resources to keep on hand. If you have fewer resources than this number, the resource is excluded from lifecycle actions.
  3498. */
  3499. value: LifecyclePolicyDetailFilterValue;
  3500. /**
  3501. * Defines the unit of time that the lifecycle policy uses to determine impacted resources. This is required for age-based rules.
  3502. */
  3503. unit?: LifecyclePolicyTimeUnit;
  3504. /**
  3505. * For age-based filters, this is the number of resources to keep on hand after the lifecycle DELETE action is applied. Impacted resources are only deleted if you have more than this number of resources. If you have fewer resources than this number, the impacted resource is not deleted.
  3506. */
  3507. retainAtLeast?: LifecyclePolicyDetailFilterRetainAtLeast;
  3508. }
  3509. export type LifecyclePolicyDetailFilterRetainAtLeast = number;
  3510. export type LifecyclePolicyDetailFilterType = "AGE"|"COUNT"|string;
  3511. export type LifecyclePolicyDetailFilterValue = number;
  3512. export type LifecyclePolicyDetails = LifecyclePolicyDetail[];
  3513. export interface LifecyclePolicyResourceSelection {
  3514. /**
  3515. * A list of recipes that are used as selection criteria for the output images that the lifecycle policy applies to.
  3516. */
  3517. recipes?: LifecyclePolicyResourceSelectionRecipes;
  3518. /**
  3519. * A list of tags that are used as selection criteria for the Image Builder image resources that the lifecycle policy applies to.
  3520. */
  3521. tagMap?: TagMap;
  3522. }
  3523. export interface LifecyclePolicyResourceSelectionRecipe {
  3524. /**
  3525. * The name of an Image Builder recipe that the lifecycle policy uses for resource selection.
  3526. */
  3527. name: ResourceName;
  3528. /**
  3529. * The version of the Image Builder recipe specified by the name field.
  3530. */
  3531. semanticVersion: VersionNumber;
  3532. }
  3533. export type LifecyclePolicyResourceSelectionRecipes = LifecyclePolicyResourceSelectionRecipe[];
  3534. export type LifecyclePolicyResourceType = "AMI_IMAGE"|"CONTAINER_IMAGE"|string;
  3535. export type LifecyclePolicyStatus = "DISABLED"|"ENABLED"|string;
  3536. export interface LifecyclePolicySummary {
  3537. /**
  3538. * The Amazon Resource Name (ARN) of the lifecycle policy summary resource.
  3539. */
  3540. arn?: LifecyclePolicyArn;
  3541. /**
  3542. * The name of the lifecycle policy.
  3543. */
  3544. name?: ResourceName;
  3545. /**
  3546. * Optional description for the lifecycle policy.
  3547. */
  3548. description?: NonEmptyString;
  3549. /**
  3550. * The lifecycle policy resource status.
  3551. */
  3552. status?: LifecyclePolicyStatus;
  3553. /**
  3554. * The name or Amazon Resource Name (ARN) of the IAM role that Image Builder uses to run the lifecycle policy.
  3555. */
  3556. executionRole?: RoleNameOrArn;
  3557. /**
  3558. * The type of resources the lifecycle policy targets.
  3559. */
  3560. resourceType?: LifecyclePolicyResourceType;
  3561. /**
  3562. * The timestamp when Image Builder created the lifecycle policy resource.
  3563. */
  3564. dateCreated?: DateTimeTimestamp;
  3565. /**
  3566. * The timestamp when Image Builder updated the lifecycle policy resource.
  3567. */
  3568. dateUpdated?: DateTimeTimestamp;
  3569. /**
  3570. * The timestamp for the last time Image Builder ran the lifecycle policy.
  3571. */
  3572. dateLastRun?: DateTimeTimestamp;
  3573. /**
  3574. * To help manage your lifecycle policy resources, you can assign your own metadata to each resource in the form of tags. Each tag consists of a key and an optional value, both of which you define.
  3575. */
  3576. tags?: TagMap;
  3577. }
  3578. export type LifecyclePolicySummaryList = LifecyclePolicySummary[];
  3579. export type LifecyclePolicyTimeUnit = "DAYS"|"WEEKS"|"MONTHS"|"YEARS"|string;
  3580. export interface ListComponentBuildVersionsRequest {
  3581. /**
  3582. * The component version Amazon Resource Name (ARN) whose versions you want to list.
  3583. */
  3584. componentVersionArn: ComponentVersionArn;
  3585. /**
  3586. * The maximum items to return in a request.
  3587. */
  3588. maxResults?: RestrictedInteger;
  3589. /**
  3590. * A token to specify where to start paginating. This is the nextToken from a previously truncated response.
  3591. */
  3592. nextToken?: PaginationToken;
  3593. }
  3594. export interface ListComponentBuildVersionsResponse {
  3595. /**
  3596. * The request ID that uniquely identifies this request.
  3597. */
  3598. requestId?: NonEmptyString;
  3599. /**
  3600. * The list of component summaries for the specified semantic version.
  3601. */
  3602. componentSummaryList?: ComponentSummaryList;
  3603. /**
  3604. * The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional objects.
  3605. */
  3606. nextToken?: PaginationToken;
  3607. }
  3608. export interface ListComponentsRequest {
  3609. /**
  3610. * Filters results based on the type of owner for the component. By default, this request returns a list of components that your account owns. To see results for other types of owners, you can specify components that Amazon manages, third party components, or components that other accounts have shared with you.
  3611. */
  3612. owner?: Ownership;
  3613. /**
  3614. * Use the following filters to streamline results: description name platform supportedOsVersion type version
  3615. */
  3616. filters?: FilterList;
  3617. /**
  3618. * Returns the list of components for the specified name.
  3619. */
  3620. byName?: Boolean;
  3621. /**
  3622. * The maximum items to return in a request.
  3623. */
  3624. maxResults?: RestrictedInteger;
  3625. /**
  3626. * A token to specify where to start paginating. This is the nextToken from a previously truncated response.
  3627. */
  3628. nextToken?: PaginationToken;
  3629. }
  3630. export interface ListComponentsResponse {
  3631. /**
  3632. * The request ID that uniquely identifies this request.
  3633. */
  3634. requestId?: NonEmptyString;
  3635. /**
  3636. * The list of component semantic versions. The semantic version has four nodes: &lt;major&gt;.&lt;minor&gt;.&lt;patch&gt;/&lt;build&gt;. You can assign values for the first three, and can filter on all of them.
  3637. */
  3638. componentVersionList?: ComponentVersionList;
  3639. /**
  3640. * The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional objects.
  3641. */
  3642. nextToken?: PaginationToken;
  3643. }
  3644. export interface ListContainerRecipesRequest {
  3645. /**
  3646. * Returns container recipes belonging to the specified owner, that have been shared with you. You can omit this field to return container recipes belonging to your account.
  3647. */
  3648. owner?: Ownership;
  3649. /**
  3650. * Use the following filters to streamline results: containerType name parentImage platform
  3651. */
  3652. filters?: FilterList;
  3653. /**
  3654. * The maximum items to return in a request.
  3655. */
  3656. maxResults?: RestrictedInteger;
  3657. /**
  3658. * A token to specify where to start paginating. This is the nextToken from a previously truncated response.
  3659. */
  3660. nextToken?: NonEmptyString;
  3661. }
  3662. export interface ListContainerRecipesResponse {
  3663. /**
  3664. * The request ID that uniquely identifies this request.
  3665. */
  3666. requestId?: NonEmptyString;
  3667. /**
  3668. * The list of container recipes returned for the request.
  3669. */
  3670. containerRecipeSummaryList?: ContainerRecipeSummaryList;
  3671. /**
  3672. * The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional objects.
  3673. */
  3674. nextToken?: NonEmptyString;
  3675. }
  3676. export interface ListDistributionConfigurationsRequest {
  3677. /**
  3678. * You can filter on name to streamline results.
  3679. */
  3680. filters?: FilterList;
  3681. /**
  3682. * The maximum items to return in a request.
  3683. */
  3684. maxResults?: RestrictedInteger;
  3685. /**
  3686. * A token to specify where to start paginating. This is the nextToken from a previously truncated response.
  3687. */
  3688. nextToken?: PaginationToken;
  3689. }
  3690. export interface ListDistributionConfigurationsResponse {
  3691. /**
  3692. * The request ID that uniquely identifies this request.
  3693. */
  3694. requestId?: NonEmptyString;
  3695. /**
  3696. * The list of distributions.
  3697. */
  3698. distributionConfigurationSummaryList?: DistributionConfigurationSummaryList;
  3699. /**
  3700. * The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional objects.
  3701. */
  3702. nextToken?: PaginationToken;
  3703. }
  3704. export interface ListImageBuildVersionsRequest {
  3705. /**
  3706. * The Amazon Resource Name (ARN) of the image whose build versions you want to retrieve.
  3707. */
  3708. imageVersionArn: ImageVersionArn;
  3709. /**
  3710. * Use the following filters to streamline results: name osVersion platform type version
  3711. */
  3712. filters?: FilterList;
  3713. /**
  3714. * The maximum items to return in a request.
  3715. */
  3716. maxResults?: RestrictedInteger;
  3717. /**
  3718. * A token to specify where to start paginating. This is the nextToken from a previously truncated response.
  3719. */
  3720. nextToken?: PaginationToken;
  3721. }
  3722. export interface ListImageBuildVersionsResponse {
  3723. /**
  3724. * The request ID that uniquely identifies this request.
  3725. */
  3726. requestId?: NonEmptyString;
  3727. /**
  3728. * The list of image build versions.
  3729. */
  3730. imageSummaryList?: ImageSummaryList;
  3731. /**
  3732. * The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional objects.
  3733. */
  3734. nextToken?: PaginationToken;
  3735. }
  3736. export interface ListImagePackagesRequest {
  3737. /**
  3738. * Filter results for the ListImagePackages request by the Image Build Version ARN
  3739. */
  3740. imageBuildVersionArn: ImageBuildVersionArn;
  3741. /**
  3742. * The maximum items to return in a request.
  3743. */
  3744. maxResults?: RestrictedInteger;
  3745. /**
  3746. * A token to specify where to start paginating. This is the nextToken from a previously truncated response.
  3747. */
  3748. nextToken?: PaginationToken;
  3749. }
  3750. export interface ListImagePackagesResponse {
  3751. /**
  3752. * The request ID that uniquely identifies this request.
  3753. */
  3754. requestId?: NonEmptyString;
  3755. /**
  3756. * The list of Image Packages returned in the response.
  3757. */
  3758. imagePackageList?: ImagePackageList;
  3759. /**
  3760. * The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional objects.
  3761. */
  3762. nextToken?: PaginationToken;
  3763. }
  3764. export interface ListImagePipelineImagesRequest {
  3765. /**
  3766. * The Amazon Resource Name (ARN) of the image pipeline whose images you want to view.
  3767. */
  3768. imagePipelineArn: ImagePipelineArn;
  3769. /**
  3770. * Use the following filters to streamline results: name version
  3771. */
  3772. filters?: FilterList;
  3773. /**
  3774. * The maximum items to return in a request.
  3775. */
  3776. maxResults?: RestrictedInteger;
  3777. /**
  3778. * A token to specify where to start paginating. This is the nextToken from a previously truncated response.
  3779. */
  3780. nextToken?: PaginationToken;
  3781. }
  3782. export interface ListImagePipelineImagesResponse {
  3783. /**
  3784. * The request ID that uniquely identifies this request.
  3785. */
  3786. requestId?: NonEmptyString;
  3787. /**
  3788. * The list of images built by this pipeline.
  3789. */
  3790. imageSummaryList?: ImageSummaryList;
  3791. /**
  3792. * The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional objects.
  3793. */
  3794. nextToken?: PaginationToken;
  3795. }
  3796. export interface ListImagePipelinesRequest {
  3797. /**
  3798. * Use the following filters to streamline results: description distributionConfigurationArn imageRecipeArn infrastructureConfigurationArn name status
  3799. */
  3800. filters?: FilterList;
  3801. /**
  3802. * The maximum items to return in a request.
  3803. */
  3804. maxResults?: RestrictedInteger;
  3805. /**
  3806. * A token to specify where to start paginating. This is the nextToken from a previously truncated response.
  3807. */
  3808. nextToken?: PaginationToken;
  3809. }
  3810. export interface ListImagePipelinesResponse {
  3811. /**
  3812. * The request ID that uniquely identifies this request.
  3813. */
  3814. requestId?: NonEmptyString;
  3815. /**
  3816. * The list of image pipelines.
  3817. */
  3818. imagePipelineList?: ImagePipelineList;
  3819. /**
  3820. * The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional objects.
  3821. */
  3822. nextToken?: PaginationToken;
  3823. }
  3824. export interface ListImageRecipesRequest {
  3825. /**
  3826. * The owner defines which image recipes you want to list. By default, this request will only show image recipes owned by your account. You can use this field to specify if you want to view image recipes owned by yourself, by Amazon, or those image recipes that have been shared with you by other customers.
  3827. */
  3828. owner?: Ownership;
  3829. /**
  3830. * Use the following filters to streamline results: name parentImage platform
  3831. */
  3832. filters?: FilterList;
  3833. /**
  3834. * The maximum items to return in a request.
  3835. */
  3836. maxResults?: RestrictedInteger;
  3837. /**
  3838. * A token to specify where to start paginating. This is the nextToken from a previously truncated response.
  3839. */
  3840. nextToken?: PaginationToken;
  3841. }
  3842. export interface ListImageRecipesResponse {
  3843. /**
  3844. * The request ID that uniquely identifies this request.
  3845. */
  3846. requestId?: NonEmptyString;
  3847. /**
  3848. * The list of image pipelines.
  3849. */
  3850. imageRecipeSummaryList?: ImageRecipeSummaryList;
  3851. /**
  3852. * The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional objects.
  3853. */
  3854. nextToken?: PaginationToken;
  3855. }
  3856. export interface ListImageScanFindingAggregationsRequest {
  3857. filter?: Filter;
  3858. /**
  3859. * A token to specify where to start paginating. This is the nextToken from a previously truncated response.
  3860. */
  3861. nextToken?: PaginationToken;
  3862. }
  3863. export interface ListImageScanFindingAggregationsResponse {
  3864. /**
  3865. * The request ID that uniquely identifies this request.
  3866. */
  3867. requestId?: NonEmptyString;
  3868. /**
  3869. * The aggregation type specifies what type of key is used to group the image scan findings. Image Builder returns results based on the request filter. If you didn't specify a filter in the request, the type defaults to accountId. Aggregation types accountId imageBuildVersionArn imagePipelineArn vulnerabilityId Each aggregation includes counts by severity level for medium severity and higher level findings, plus a total for all of the findings for each key value.
  3870. */
  3871. aggregationType?: NonEmptyString;
  3872. /**
  3873. * An array of image scan finding aggregations that match the filter criteria.
  3874. */
  3875. responses?: ImageScanFindingAggregationsList;
  3876. /**
  3877. * The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional objects.
  3878. */
  3879. nextToken?: PaginationToken;
  3880. }
  3881. export interface ListImageScanFindingsRequest {
  3882. /**
  3883. * An array of name value pairs that you can use to filter your results. You can use the following filters to streamline results: imageBuildVersionArn imagePipelineArn vulnerabilityId severity If you don't request a filter, then all findings in your account are listed.
  3884. */
  3885. filters?: ImageScanFindingsFilterList;
  3886. /**
  3887. * The maximum items to return in a request.
  3888. */
  3889. maxResults?: RestrictedInteger;
  3890. /**
  3891. * A token to specify where to start paginating. This is the nextToken from a previously truncated response.
  3892. */
  3893. nextToken?: PaginationToken;
  3894. }
  3895. export interface ListImageScanFindingsResponse {
  3896. /**
  3897. * The request ID that uniquely identifies this request.
  3898. */
  3899. requestId?: NonEmptyString;
  3900. /**
  3901. * The image scan findings for your account that meet your request filter criteria.
  3902. */
  3903. findings?: ImageScanFindingsList;
  3904. /**
  3905. * The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional objects.
  3906. */
  3907. nextToken?: PaginationToken;
  3908. }
  3909. export interface ListImagesRequest {
  3910. /**
  3911. * The owner defines which images you want to list. By default, this request will only show images owned by your account. You can use this field to specify if you want to view images owned by yourself, by Amazon, or those images that have been shared with you by other customers.
  3912. */
  3913. owner?: Ownership;
  3914. /**
  3915. * Use the following filters to streamline results: name osVersion platform type version
  3916. */
  3917. filters?: FilterList;
  3918. /**
  3919. * Requests a list of images with a specific recipe name.
  3920. */
  3921. byName?: Boolean;
  3922. /**
  3923. * The maximum items to return in a request.
  3924. */
  3925. maxResults?: RestrictedInteger;
  3926. /**
  3927. * A token to specify where to start paginating. This is the nextToken from a previously truncated response.
  3928. */
  3929. nextToken?: PaginationToken;
  3930. /**
  3931. * Includes deprecated images in the response list.
  3932. */
  3933. includeDeprecated?: NullableBoolean;
  3934. }
  3935. export interface ListImagesResponse {
  3936. /**
  3937. * The request ID that uniquely identifies this request.
  3938. */
  3939. requestId?: NonEmptyString;
  3940. /**
  3941. * The list of image semantic versions. The semantic version has four nodes: &lt;major&gt;.&lt;minor&gt;.&lt;patch&gt;/&lt;build&gt;. You can assign values for the first three, and can filter on all of them. Filtering: With semantic versioning, you have the flexibility to use wildcards (x) to specify the most recent versions or nodes when selecting the base image or components for your recipe. When you use a wildcard in any node, all nodes to the right of the first wildcard must also be wildcards.
  3942. */
  3943. imageVersionList?: ImageVersionList;
  3944. /**
  3945. * The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional objects.
  3946. */
  3947. nextToken?: PaginationToken;
  3948. }
  3949. export interface ListInfrastructureConfigurationsRequest {
  3950. /**
  3951. * You can filter on name to streamline results.
  3952. */
  3953. filters?: FilterList;
  3954. /**
  3955. * The maximum items to return in a request.
  3956. */
  3957. maxResults?: RestrictedInteger;
  3958. /**
  3959. * A token to specify where to start paginating. This is the nextToken from a previously truncated response.
  3960. */
  3961. nextToken?: PaginationToken;
  3962. }
  3963. export interface ListInfrastructureConfigurationsResponse {
  3964. /**
  3965. * The request ID that uniquely identifies this request.
  3966. */
  3967. requestId?: NonEmptyString;
  3968. /**
  3969. * The list of infrastructure configurations.
  3970. */
  3971. infrastructureConfigurationSummaryList?: InfrastructureConfigurationSummaryList;
  3972. /**
  3973. * The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional objects.
  3974. */
  3975. nextToken?: PaginationToken;
  3976. }
  3977. export interface ListLifecycleExecutionResourcesRequest {
  3978. /**
  3979. * Use the unique identifier for a runtime instance of the lifecycle policy to get runtime details.
  3980. */
  3981. lifecycleExecutionId: LifecycleExecutionId;
  3982. /**
  3983. * You can leave this empty to get a list of Image Builder resources that were identified for lifecycle actions. To get a list of associated resources that are impacted for an individual resource (the parent), specify its Amazon Resource Name (ARN). Associated resources are produced from your image and distributed when you run a build, such as AMIs or container images stored in ECR repositories.
  3984. */
  3985. parentResourceId?: NonEmptyString;
  3986. /**
  3987. * The maximum items to return in a request.
  3988. */
  3989. maxResults?: RestrictedInteger;
  3990. /**
  3991. * A token to specify where to start paginating. This is the nextToken from a previously truncated response.
  3992. */
  3993. nextToken?: PaginationToken;
  3994. }
  3995. export interface ListLifecycleExecutionResourcesResponse {
  3996. /**
  3997. * Runtime details for the specified runtime instance of the lifecycle policy.
  3998. */
  3999. lifecycleExecutionId?: LifecycleExecutionId;
  4000. /**
  4001. * The current state of the lifecycle runtime instance.
  4002. */
  4003. lifecycleExecutionState?: LifecycleExecutionState;
  4004. /**
  4005. * A list of resources that were identified for lifecycle actions.
  4006. */
  4007. resources?: LifecycleExecutionResourceList;
  4008. /**
  4009. * The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional objects.
  4010. */
  4011. nextToken?: PaginationToken;
  4012. }
  4013. export interface ListLifecycleExecutionsRequest {
  4014. /**
  4015. * The maximum items to return in a request.
  4016. */
  4017. maxResults?: RestrictedInteger;
  4018. /**
  4019. * A token to specify where to start paginating. This is the nextToken from a previously truncated response.
  4020. */
  4021. nextToken?: PaginationToken;
  4022. /**
  4023. * The Amazon Resource Name (ARN) of the resource for which to get a list of lifecycle runtime instances.
  4024. */
  4025. resourceArn: ImageBuilderArn;
  4026. }
  4027. export interface ListLifecycleExecutionsResponse {
  4028. /**
  4029. * A list of lifecycle runtime instances for the specified resource.
  4030. */
  4031. lifecycleExecutions?: LifecycleExecutionsList;
  4032. /**
  4033. * The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional objects.
  4034. */
  4035. nextToken?: PaginationToken;
  4036. }
  4037. export interface ListLifecyclePoliciesRequest {
  4038. /**
  4039. * Streamline results based on one of the following values: Name, Status.
  4040. */
  4041. filters?: FilterList;
  4042. /**
  4043. * The maximum items to return in a request.
  4044. */
  4045. maxResults?: RestrictedInteger;
  4046. /**
  4047. * A token to specify where to start paginating. This is the nextToken from a previously truncated response.
  4048. */
  4049. nextToken?: PaginationToken;
  4050. }
  4051. export interface ListLifecyclePoliciesResponse {
  4052. /**
  4053. * A list of lifecycle policies in your Amazon Web Services account that meet the criteria specified in the request.
  4054. */
  4055. lifecyclePolicySummaryList?: LifecyclePolicySummaryList;
  4056. /**
  4057. * The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional objects.
  4058. */
  4059. nextToken?: PaginationToken;
  4060. }
  4061. export interface ListTagsForResourceRequest {
  4062. /**
  4063. * The Amazon Resource Name (ARN) of the resource whose tags you want to retrieve.
  4064. */
  4065. resourceArn: ImageBuilderArn;
  4066. }
  4067. export interface ListTagsForResourceResponse {
  4068. /**
  4069. * The tags for the specified resource.
  4070. */
  4071. tags?: TagMap;
  4072. }
  4073. export interface ListWaitingWorkflowStepsRequest {
  4074. /**
  4075. * The maximum items to return in a request.
  4076. */
  4077. maxResults?: RestrictedInteger;
  4078. /**
  4079. * A token to specify where to start paginating. This is the nextToken from a previously truncated response.
  4080. */
  4081. nextToken?: PaginationToken;
  4082. }
  4083. export interface ListWaitingWorkflowStepsResponse {
  4084. /**
  4085. * An array of the workflow steps that are waiting for action in your Amazon Web Services account.
  4086. */
  4087. steps?: WorkflowStepExecutionList;
  4088. /**
  4089. * The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional objects.
  4090. */
  4091. nextToken?: PaginationToken;
  4092. }
  4093. export interface ListWorkflowBuildVersionsRequest {
  4094. /**
  4095. * The Amazon Resource Name (ARN) of the workflow resource for which to get a list of build versions.
  4096. */
  4097. workflowVersionArn: WorkflowWildcardVersionArn;
  4098. /**
  4099. * The maximum items to return in a request.
  4100. */
  4101. maxResults?: RestrictedInteger;
  4102. /**
  4103. * A token to specify where to start paginating. This is the nextToken from a previously truncated response.
  4104. */
  4105. nextToken?: PaginationToken;
  4106. }
  4107. export interface ListWorkflowBuildVersionsResponse {
  4108. /**
  4109. * A list that contains metadata for the workflow builds that have run for the workflow resource specified in the request.
  4110. */
  4111. workflowSummaryList?: WorkflowSummaryList;
  4112. /**
  4113. * The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional objects.
  4114. */
  4115. nextToken?: PaginationToken;
  4116. }
  4117. export interface ListWorkflowExecutionsRequest {
  4118. /**
  4119. * The maximum items to return in a request.
  4120. */
  4121. maxResults?: RestrictedInteger;
  4122. /**
  4123. * A token to specify where to start paginating. This is the nextToken from a previously truncated response.
  4124. */
  4125. nextToken?: PaginationToken;
  4126. /**
  4127. * List all workflow runtime instances for the specified image build version resource ARN.
  4128. */
  4129. imageBuildVersionArn: ImageBuildVersionArn;
  4130. }
  4131. export interface ListWorkflowExecutionsResponse {
  4132. /**
  4133. * The request ID that uniquely identifies this request.
  4134. */
  4135. requestId?: NonEmptyString;
  4136. /**
  4137. * Contains an array of runtime details that represents each time a workflow ran for the requested image build version.
  4138. */
  4139. workflowExecutions?: WorkflowExecutionsList;
  4140. /**
  4141. * The resource ARN of the image build version for which you requested a list of workflow runtime details.
  4142. */
  4143. imageBuildVersionArn?: ImageBuildVersionArn;
  4144. /**
  4145. * The output message from the list action, if applicable.
  4146. */
  4147. message?: ImageBuildMessage;
  4148. /**
  4149. * The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional objects.
  4150. */
  4151. nextToken?: PaginationToken;
  4152. }
  4153. export interface ListWorkflowStepExecutionsRequest {
  4154. /**
  4155. * The maximum items to return in a request.
  4156. */
  4157. maxResults?: RestrictedInteger;
  4158. /**
  4159. * A token to specify where to start paginating. This is the nextToken from a previously truncated response.
  4160. */
  4161. nextToken?: PaginationToken;
  4162. /**
  4163. * The unique identifier that Image Builder assigned to keep track of runtime details when it ran the workflow.
  4164. */
  4165. workflowExecutionId: WorkflowExecutionId;
  4166. }
  4167. export interface ListWorkflowStepExecutionsResponse {
  4168. /**
  4169. * The request ID that uniquely identifies this request.
  4170. */
  4171. requestId?: NonEmptyString;
  4172. /**
  4173. * Contains an array of runtime details that represents each step in this runtime instance of the workflow.
  4174. */
  4175. steps?: WorkflowStepExecutionsList;
  4176. /**
  4177. * The build version ARN for the Image Builder workflow resource that defines the steps for this runtime instance of the workflow.
  4178. */
  4179. workflowBuildVersionArn?: WorkflowBuildVersionArn;
  4180. /**
  4181. * The unique identifier that Image Builder assigned to keep track of runtime details when it ran the workflow.
  4182. */
  4183. workflowExecutionId?: WorkflowExecutionId;
  4184. /**
  4185. * The image build version resource ARN that's associated with the specified runtime instance of the workflow.
  4186. */
  4187. imageBuildVersionArn?: ImageBuildVersionArn;
  4188. /**
  4189. * The output message from the list action, if applicable.
  4190. */
  4191. message?: ImageBuildMessage;
  4192. /**
  4193. * The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional objects.
  4194. */
  4195. nextToken?: PaginationToken;
  4196. }
  4197. export interface ListWorkflowsRequest {
  4198. /**
  4199. * Used to get a list of workflow build version filtered by the identity of the creator.
  4200. */
  4201. owner?: Ownership;
  4202. /**
  4203. * Used to streamline search results.
  4204. */
  4205. filters?: FilterList;
  4206. /**
  4207. * Specify all or part of the workflow name to streamline results.
  4208. */
  4209. byName?: Boolean;
  4210. /**
  4211. * The maximum items to return in a request.
  4212. */
  4213. maxResults?: RestrictedInteger;
  4214. /**
  4215. * A token to specify where to start paginating. This is the nextToken from a previously truncated response.
  4216. */
  4217. nextToken?: PaginationToken;
  4218. }
  4219. export interface ListWorkflowsResponse {
  4220. /**
  4221. * A list of workflow build versions that match the request criteria.
  4222. */
  4223. workflowVersionList?: WorkflowVersionList;
  4224. /**
  4225. * The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional objects.
  4226. */
  4227. nextToken?: PaginationToken;
  4228. }
  4229. export interface Logging {
  4230. /**
  4231. * The Amazon S3 logging configuration.
  4232. */
  4233. s3Logs?: S3Logs;
  4234. }
  4235. export type MaxParallelLaunches = number;
  4236. export type NonEmptyString = string;
  4237. export type NonEmptyStringList = NonEmptyString[];
  4238. export type NonNegativeDouble = number;
  4239. export type NullableBoolean = boolean;
  4240. export type OnWorkflowFailure = "CONTINUE"|"ABORT"|string;
  4241. export type OrganizationArn = string;
  4242. export type OrganizationArnList = OrganizationArn[];
  4243. export type OrganizationalUnitArn = string;
  4244. export type OrganizationalUnitArnList = OrganizationalUnitArn[];
  4245. export type OsVersion = string;
  4246. export type OsVersionList = OsVersion[];
  4247. export interface OutputResources {
  4248. /**
  4249. * The Amazon EC2 AMIs created by this image.
  4250. */
  4251. amis?: AmiList;
  4252. /**
  4253. * Container images that the pipeline has generated and stored in the output repository.
  4254. */
  4255. containers?: ContainerList;
  4256. }
  4257. export type Ownership = "Self"|"Shared"|"Amazon"|"ThirdParty"|string;
  4258. export type PackageArchitecture = string;
  4259. export type PackageEpoch = number;
  4260. export interface PackageVulnerabilityDetails {
  4261. /**
  4262. * A unique identifier for this vulnerability.
  4263. */
  4264. vulnerabilityId: VulnerabilityId;
  4265. /**
  4266. * The packages that this vulnerability impacts.
  4267. */
  4268. vulnerablePackages?: VulnerablePackageList;
  4269. /**
  4270. * The source of the vulnerability information.
  4271. */
  4272. source?: NonEmptyString;
  4273. /**
  4274. * CVSS scores for one or more vulnerabilities that Amazon Inspector identified for a package.
  4275. */
  4276. cvss?: CvssScoreList;
  4277. /**
  4278. * Vulnerabilities that are often related to the findings for the package.
  4279. */
  4280. relatedVulnerabilities?: VulnerabilityIdList;
  4281. /**
  4282. * A link to the source of the vulnerability information.
  4283. */
  4284. sourceUrl?: NonEmptyString;
  4285. /**
  4286. * The severity that the vendor assigned to this vulnerability type.
  4287. */
  4288. vendorSeverity?: NonEmptyString;
  4289. /**
  4290. * The date and time when this vulnerability was first added to the vendor's database.
  4291. */
  4292. vendorCreatedAt?: DateTimeTimestamp;
  4293. /**
  4294. * The date and time when the vendor last updated this vulnerability in their database.
  4295. */
  4296. vendorUpdatedAt?: DateTimeTimestamp;
  4297. /**
  4298. * Links to web pages that contain details about the vulnerabilities that Amazon Inspector identified for the package.
  4299. */
  4300. referenceUrls?: NonEmptyStringList;
  4301. }
  4302. export type PaginationToken = string;
  4303. export type ParallelGroup = string;
  4304. export type PipelineExecutionStartCondition = "EXPRESSION_MATCH_ONLY"|"EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE"|string;
  4305. export type PipelineStatus = "DISABLED"|"ENABLED"|string;
  4306. export type Platform = "Windows"|"Linux"|string;
  4307. export interface PutComponentPolicyRequest {
  4308. /**
  4309. * The Amazon Resource Name (ARN) of the component that this policy should be applied to.
  4310. */
  4311. componentArn: ComponentBuildVersionArn;
  4312. /**
  4313. * The policy to apply.
  4314. */
  4315. policy: ResourcePolicyDocument;
  4316. }
  4317. export interface PutComponentPolicyResponse {
  4318. /**
  4319. * The request ID that uniquely identifies this request.
  4320. */
  4321. requestId?: NonEmptyString;
  4322. /**
  4323. * The Amazon Resource Name (ARN) of the component that this policy was applied to.
  4324. */
  4325. componentArn?: ComponentBuildVersionArn;
  4326. }
  4327. export interface PutContainerRecipePolicyRequest {
  4328. /**
  4329. * The Amazon Resource Name (ARN) of the container recipe that this policy should be applied to.
  4330. */
  4331. containerRecipeArn: ContainerRecipeArn;
  4332. /**
  4333. * The policy to apply to the container recipe.
  4334. */
  4335. policy: ResourcePolicyDocument;
  4336. }
  4337. export interface PutContainerRecipePolicyResponse {
  4338. /**
  4339. * The request ID that uniquely identifies this request.
  4340. */
  4341. requestId?: NonEmptyString;
  4342. /**
  4343. * The Amazon Resource Name (ARN) of the container recipe that this policy was applied to.
  4344. */
  4345. containerRecipeArn?: ContainerRecipeArn;
  4346. }
  4347. export interface PutImagePolicyRequest {
  4348. /**
  4349. * The Amazon Resource Name (ARN) of the image that this policy should be applied to.
  4350. */
  4351. imageArn: ImageBuildVersionArn;
  4352. /**
  4353. * The policy to apply.
  4354. */
  4355. policy: ResourcePolicyDocument;
  4356. }
  4357. export interface PutImagePolicyResponse {
  4358. /**
  4359. * The request ID that uniquely identifies this request.
  4360. */
  4361. requestId?: NonEmptyString;
  4362. /**
  4363. * The Amazon Resource Name (ARN) of the image that this policy was applied to.
  4364. */
  4365. imageArn?: ImageBuildVersionArn;
  4366. }
  4367. export interface PutImageRecipePolicyRequest {
  4368. /**
  4369. * The Amazon Resource Name (ARN) of the image recipe that this policy should be applied to.
  4370. */
  4371. imageRecipeArn: ImageRecipeArn;
  4372. /**
  4373. * The policy to apply.
  4374. */
  4375. policy: ResourcePolicyDocument;
  4376. }
  4377. export interface PutImageRecipePolicyResponse {
  4378. /**
  4379. * The request ID that uniquely identifies this request.
  4380. */
  4381. requestId?: NonEmptyString;
  4382. /**
  4383. * The Amazon Resource Name (ARN) of the image recipe that this policy was applied to.
  4384. */
  4385. imageRecipeArn?: ImageRecipeArn;
  4386. }
  4387. export type RegionList = NonEmptyString[];
  4388. export interface Remediation {
  4389. /**
  4390. * An object that contains information about the recommended course of action to remediate the finding.
  4391. */
  4392. recommendation?: RemediationRecommendation;
  4393. }
  4394. export interface RemediationRecommendation {
  4395. /**
  4396. * The recommended course of action to remediate the finding.
  4397. */
  4398. text?: NonEmptyString;
  4399. /**
  4400. * A link to more information about the recommended remediation for this vulnerability.
  4401. */
  4402. url?: NonEmptyString;
  4403. }
  4404. export type ResourceName = string;
  4405. export type ResourcePolicyDocument = string;
  4406. export interface ResourceState {
  4407. /**
  4408. * Shows the current lifecycle policy action that was applied to an impacted resource.
  4409. */
  4410. status?: ResourceStatus;
  4411. }
  4412. export interface ResourceStateUpdateExclusionRules {
  4413. amis?: LifecyclePolicyDetailExclusionRulesAmis;
  4414. }
  4415. export interface ResourceStateUpdateIncludeResources {
  4416. /**
  4417. * Specifies whether the lifecycle action should apply to distributed AMIs
  4418. */
  4419. amis?: Boolean;
  4420. /**
  4421. * Specifies whether the lifecycle action should apply to snapshots associated with distributed AMIs.
  4422. */
  4423. snapshots?: Boolean;
  4424. /**
  4425. * Specifies whether the lifecycle action should apply to distributed containers.
  4426. */
  4427. containers?: Boolean;
  4428. }
  4429. export type ResourceStatus = "AVAILABLE"|"DELETED"|"DEPRECATED"|"DISABLED"|string;
  4430. export type ResourceTagMap = {[key: string]: TagValue};
  4431. export type RestrictedInteger = number;
  4432. export type RoleNameOrArn = string;
  4433. export interface S3ExportConfiguration {
  4434. /**
  4435. * The name of the role that grants VM Import/Export permission to export images to your S3 bucket.
  4436. */
  4437. roleName: NonEmptyString;
  4438. /**
  4439. * Export the updated image to one of the following supported disk image formats: Virtual Hard Disk (VHD) – Compatible with Citrix Xen and Microsoft Hyper-V virtualization products. Stream-optimized ESX Virtual Machine Disk (VMDK) – Compatible with VMware ESX and VMware vSphere versions 4, 5, and 6. Raw – Raw format.
  4440. */
  4441. diskImageFormat: DiskImageFormat;
  4442. /**
  4443. * The S3 bucket in which to store the output disk images for your VM.
  4444. */
  4445. s3Bucket: NonEmptyString;
  4446. /**
  4447. * The Amazon S3 path for the bucket where the output disk images for your VM are stored.
  4448. */
  4449. s3Prefix?: NonEmptyString;
  4450. }
  4451. export interface S3Logs {
  4452. /**
  4453. * The S3 bucket in which to store the logs.
  4454. */
  4455. s3BucketName?: NonEmptyString;
  4456. /**
  4457. * The Amazon S3 path to the bucket where the logs are stored.
  4458. */
  4459. s3KeyPrefix?: NonEmptyString;
  4460. }
  4461. export interface Schedule {
  4462. /**
  4463. * The cron expression determines how often EC2 Image Builder evaluates your pipelineExecutionStartCondition. For information on how to format a cron expression in Image Builder, see Use cron expressions in EC2 Image Builder.
  4464. */
  4465. scheduleExpression?: NonEmptyString;
  4466. /**
  4467. * The timezone that applies to the scheduling expression. For example, "Etc/UTC", "America/Los_Angeles" in the IANA timezone format. If not specified this defaults to UTC.
  4468. */
  4469. timezone?: Timezone;
  4470. /**
  4471. * The condition configures when the pipeline should trigger a new image build. When the pipelineExecutionStartCondition is set to EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE, and you use semantic version filters on the base image or components in your image recipe, EC2 Image Builder will build a new image only when there are new versions of the image or components in your recipe that match the semantic version filter. When it is set to EXPRESSION_MATCH_ONLY, it will build a new image every time the CRON expression matches the current time. For semantic version syntax, see CreateComponent in the EC2 Image Builder API Reference.
  4472. */
  4473. pipelineExecutionStartCondition?: PipelineExecutionStartCondition;
  4474. }
  4475. export type SecurityGroupIds = NonEmptyString[];
  4476. export interface SendWorkflowStepActionRequest {
  4477. /**
  4478. * Uniquely identifies the workflow step that sent the step action.
  4479. */
  4480. stepExecutionId: WorkflowStepExecutionId;
  4481. /**
  4482. * The Amazon Resource Name (ARN) of the image build version to send action for.
  4483. */
  4484. imageBuildVersionArn: ImageBuildVersionArn;
  4485. /**
  4486. * The action for the image creation process to take while a workflow WaitForAction step waits for an asynchronous action to complete.
  4487. */
  4488. action: WorkflowStepActionType;
  4489. /**
  4490. * The reason why this action is sent.
  4491. */
  4492. reason?: NonEmptyString;
  4493. /**
  4494. * Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see Ensuring idempotency in the Amazon EC2 API Reference.
  4495. */
  4496. clientToken: ClientToken;
  4497. }
  4498. export interface SendWorkflowStepActionResponse {
  4499. /**
  4500. * The workflow step that sent the step action.
  4501. */
  4502. stepExecutionId?: WorkflowStepExecutionId;
  4503. /**
  4504. * The Amazon Resource Name (ARN) of the image build version that received the action request.
  4505. */
  4506. imageBuildVersionArn?: ImageBuildVersionArn;
  4507. /**
  4508. * The client token that uniquely identifies the request.
  4509. */
  4510. clientToken?: ClientToken;
  4511. }
  4512. export type SeverityCountNumber = number;
  4513. export interface SeverityCounts {
  4514. /**
  4515. * The total number of findings across all severity levels for the specified filter.
  4516. */
  4517. all?: SeverityCountNumber;
  4518. /**
  4519. * The number of critical severity findings for the specified filter.
  4520. */
  4521. critical?: SeverityCountNumber;
  4522. /**
  4523. * The number of high severity findings for the specified filter.
  4524. */
  4525. high?: SeverityCountNumber;
  4526. /**
  4527. * The number of medium severity findings for the specified filter.
  4528. */
  4529. medium?: SeverityCountNumber;
  4530. }
  4531. export type SnsTopicArn = string;
  4532. export type SourceLayerHash = string;
  4533. export interface StartImagePipelineExecutionRequest {
  4534. /**
  4535. * The Amazon Resource Name (ARN) of the image pipeline that you want to manually invoke.
  4536. */
  4537. imagePipelineArn: ImagePipelineArn;
  4538. /**
  4539. * Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see Ensuring idempotency in the Amazon EC2 API Reference.
  4540. */
  4541. clientToken: ClientToken;
  4542. }
  4543. export interface StartImagePipelineExecutionResponse {
  4544. /**
  4545. * The request ID that uniquely identifies this request.
  4546. */
  4547. requestId?: NonEmptyString;
  4548. /**
  4549. * The client token that uniquely identifies the request.
  4550. */
  4551. clientToken?: ClientToken;
  4552. /**
  4553. * The Amazon Resource Name (ARN) of the image that the request created.
  4554. */
  4555. imageBuildVersionArn?: ImageBuildVersionArn;
  4556. }
  4557. export interface StartResourceStateUpdateRequest {
  4558. /**
  4559. * The ARN of the Image Builder resource that is updated. The state update might also impact associated resources.
  4560. */
  4561. resourceArn: ImageBuildVersionArn;
  4562. /**
  4563. * Indicates the lifecycle action to take for this request.
  4564. */
  4565. state: ResourceState;
  4566. /**
  4567. * The name or Amazon Resource Name (ARN) of the IAM role that’s used to update image state.
  4568. */
  4569. executionRole?: RoleNameOrArn;
  4570. /**
  4571. * A list of image resources to update state for.
  4572. */
  4573. includeResources?: ResourceStateUpdateIncludeResources;
  4574. /**
  4575. * Skip action on the image resource and associated resources if specified exclusion rules are met.
  4576. */
  4577. exclusionRules?: ResourceStateUpdateExclusionRules;
  4578. /**
  4579. * The timestamp that indicates when resources are updated by a lifecycle action.
  4580. */
  4581. updateAt?: DateTimeTimestamp;
  4582. /**
  4583. * Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see Ensuring idempotency in the Amazon EC2 API Reference.
  4584. */
  4585. clientToken: ClientToken;
  4586. }
  4587. export interface StartResourceStateUpdateResponse {
  4588. /**
  4589. * Identifies the lifecycle runtime instance that started the resource state update.
  4590. */
  4591. lifecycleExecutionId?: LifecycleExecutionId;
  4592. /**
  4593. * The requested ARN of the Image Builder resource for the asynchronous update.
  4594. */
  4595. resourceArn?: ImageBuildVersionArn;
  4596. }
  4597. export type StringList = NonEmptyString[];
  4598. export interface SystemsManagerAgent {
  4599. /**
  4600. * Controls whether the Systems Manager agent is removed from your final build image, prior to creating the new AMI. If this is set to true, then the agent is removed from the final image. If it's set to false, then the agent is left in, so that it is included in the new AMI. The default value is false.
  4601. */
  4602. uninstallAfterBuild?: NullableBoolean;
  4603. }
  4604. export type TagKey = string;
  4605. export type TagKeyList = TagKey[];
  4606. export type TagMap = {[key: string]: TagValue};
  4607. export interface TagResourceRequest {
  4608. /**
  4609. * The Amazon Resource Name (ARN) of the resource that you want to tag.
  4610. */
  4611. resourceArn: ImageBuilderArn;
  4612. /**
  4613. * The tags to apply to the resource.
  4614. */
  4615. tags: TagMap;
  4616. }
  4617. export interface TagResourceResponse {
  4618. }
  4619. export type TagValue = string;
  4620. export interface TargetContainerRepository {
  4621. /**
  4622. * Specifies the service in which this image was registered.
  4623. */
  4624. service: ContainerRepositoryService;
  4625. /**
  4626. * The name of the container repository where the output container image is stored. This name is prefixed by the repository location.
  4627. */
  4628. repositoryName: NonEmptyString;
  4629. }
  4630. export type TargetResourceCount = number;
  4631. export type Timezone = string;
  4632. export interface UntagResourceRequest {
  4633. /**
  4634. * The Amazon Resource Name (ARN) of the resource that you want to untag.
  4635. */
  4636. resourceArn: ImageBuilderArn;
  4637. /**
  4638. * The tag keys to remove from the resource.
  4639. */
  4640. tagKeys: TagKeyList;
  4641. }
  4642. export interface UntagResourceResponse {
  4643. }
  4644. export interface UpdateDistributionConfigurationRequest {
  4645. /**
  4646. * The Amazon Resource Name (ARN) of the distribution configuration that you want to update.
  4647. */
  4648. distributionConfigurationArn: DistributionConfigurationArn;
  4649. /**
  4650. * The description of the distribution configuration.
  4651. */
  4652. description?: NonEmptyString;
  4653. /**
  4654. * The distributions of the distribution configuration.
  4655. */
  4656. distributions: DistributionList;
  4657. /**
  4658. * Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see Ensuring idempotency in the Amazon EC2 API Reference.
  4659. */
  4660. clientToken: ClientToken;
  4661. }
  4662. export interface UpdateDistributionConfigurationResponse {
  4663. /**
  4664. * The request ID that uniquely identifies this request.
  4665. */
  4666. requestId?: NonEmptyString;
  4667. /**
  4668. * The client token that uniquely identifies the request.
  4669. */
  4670. clientToken?: ClientToken;
  4671. /**
  4672. * The Amazon Resource Name (ARN) of the distribution configuration that was updated by this request.
  4673. */
  4674. distributionConfigurationArn?: DistributionConfigurationArn;
  4675. }
  4676. export interface UpdateImagePipelineRequest {
  4677. /**
  4678. * The Amazon Resource Name (ARN) of the image pipeline that you want to update.
  4679. */
  4680. imagePipelineArn: ImagePipelineArn;
  4681. /**
  4682. * The description of the image pipeline.
  4683. */
  4684. description?: NonEmptyString;
  4685. /**
  4686. * The Amazon Resource Name (ARN) of the image recipe that will be used to configure images updated by this image pipeline.
  4687. */
  4688. imageRecipeArn?: ImageRecipeArn;
  4689. /**
  4690. * The Amazon Resource Name (ARN) of the container pipeline to update.
  4691. */
  4692. containerRecipeArn?: ContainerRecipeArn;
  4693. /**
  4694. * The Amazon Resource Name (ARN) of the infrastructure configuration that Image Builder uses to build images that this image pipeline has updated.
  4695. */
  4696. infrastructureConfigurationArn: InfrastructureConfigurationArn;
  4697. /**
  4698. * The Amazon Resource Name (ARN) of the distribution configuration that Image Builder uses to configure and distribute images that this image pipeline has updated.
  4699. */
  4700. distributionConfigurationArn?: DistributionConfigurationArn;
  4701. /**
  4702. * The image test configuration of the image pipeline.
  4703. */
  4704. imageTestsConfiguration?: ImageTestsConfiguration;
  4705. /**
  4706. * Collects additional information about the image being created, including the operating system (OS) version and package list. This information is used to enhance the overall experience of using EC2 Image Builder. Enabled by default.
  4707. */
  4708. enhancedImageMetadataEnabled?: NullableBoolean;
  4709. /**
  4710. * The schedule of the image pipeline.
  4711. */
  4712. schedule?: Schedule;
  4713. /**
  4714. * The status of the image pipeline.
  4715. */
  4716. status?: PipelineStatus;
  4717. /**
  4718. * Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see Ensuring idempotency in the Amazon EC2 API Reference.
  4719. */
  4720. clientToken: ClientToken;
  4721. /**
  4722. * Contains settings for vulnerability scans.
  4723. */
  4724. imageScanningConfiguration?: ImageScanningConfiguration;
  4725. /**
  4726. * Contains the workflows to run for the pipeline.
  4727. */
  4728. workflows?: WorkflowConfigurationList;
  4729. /**
  4730. * The name or Amazon Resource Name (ARN) for the IAM role you create that grants Image Builder access to perform workflow actions.
  4731. */
  4732. executionRole?: RoleNameOrArn;
  4733. }
  4734. export interface UpdateImagePipelineResponse {
  4735. /**
  4736. * The request ID that uniquely identifies this request.
  4737. */
  4738. requestId?: NonEmptyString;
  4739. /**
  4740. * The client token that uniquely identifies the request.
  4741. */
  4742. clientToken?: ClientToken;
  4743. /**
  4744. * The Amazon Resource Name (ARN) of the image pipeline that was updated by this request.
  4745. */
  4746. imagePipelineArn?: ImagePipelineArn;
  4747. }
  4748. export interface UpdateInfrastructureConfigurationRequest {
  4749. /**
  4750. * The Amazon Resource Name (ARN) of the infrastructure configuration that you want to update.
  4751. */
  4752. infrastructureConfigurationArn: InfrastructureConfigurationArn;
  4753. /**
  4754. * The description of the infrastructure configuration.
  4755. */
  4756. description?: NonEmptyString;
  4757. /**
  4758. * The instance types of the infrastructure configuration. You can specify one or more instance types to use for this build. The service will pick one of these instance types based on availability.
  4759. */
  4760. instanceTypes?: InstanceTypeList;
  4761. /**
  4762. * The instance profile to associate with the instance used to customize your Amazon EC2 AMI.
  4763. */
  4764. instanceProfileName: InstanceProfileNameType;
  4765. /**
  4766. * The security group IDs to associate with the instance used to customize your Amazon EC2 AMI.
  4767. */
  4768. securityGroupIds?: SecurityGroupIds;
  4769. /**
  4770. * The subnet ID to place the instance used to customize your Amazon EC2 AMI in.
  4771. */
  4772. subnetId?: NonEmptyString;
  4773. /**
  4774. * The logging configuration of the infrastructure configuration.
  4775. */
  4776. logging?: Logging;
  4777. /**
  4778. * The key pair of the infrastructure configuration. You can use this to log on to and debug the instance used to create your image.
  4779. */
  4780. keyPair?: NonEmptyString;
  4781. /**
  4782. * The terminate instance on failure setting of the infrastructure configuration. Set to false if you want Image Builder to retain the instance used to configure your AMI if the build or test phase of your workflow fails.
  4783. */
  4784. terminateInstanceOnFailure?: NullableBoolean;
  4785. /**
  4786. * The Amazon Resource Name (ARN) for the SNS topic to which we send image build event notifications. EC2 Image Builder is unable to send notifications to SNS topics that are encrypted using keys from other accounts. The key that is used to encrypt the SNS topic must reside in the account that the Image Builder service runs under.
  4787. */
  4788. snsTopicArn?: SnsTopicArn;
  4789. /**
  4790. * Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see Ensuring idempotency in the Amazon EC2 API Reference.
  4791. */
  4792. clientToken: ClientToken;
  4793. /**
  4794. * The tags attached to the resource created by Image Builder.
  4795. */
  4796. resourceTags?: ResourceTagMap;
  4797. /**
  4798. * The instance metadata options that you can set for the HTTP requests that pipeline builds use to launch EC2 build and test instances. For more information about instance metadata options, see one of the following links: Configure the instance metadata options in the Amazon EC2 User Guide for Linux instances. Configure the instance metadata options in the Amazon EC2 Windows Guide for Windows instances.
  4799. */
  4800. instanceMetadataOptions?: InstanceMetadataOptions;
  4801. }
  4802. export interface UpdateInfrastructureConfigurationResponse {
  4803. /**
  4804. * The request ID that uniquely identifies this request.
  4805. */
  4806. requestId?: NonEmptyString;
  4807. /**
  4808. * The client token that uniquely identifies the request.
  4809. */
  4810. clientToken?: ClientToken;
  4811. /**
  4812. * The Amazon Resource Name (ARN) of the infrastructure configuration that was updated by this request.
  4813. */
  4814. infrastructureConfigurationArn?: InfrastructureConfigurationArn;
  4815. }
  4816. export interface UpdateLifecyclePolicyRequest {
  4817. /**
  4818. * The Amazon Resource Name (ARN) of the lifecycle policy resource.
  4819. */
  4820. lifecyclePolicyArn: LifecyclePolicyArn;
  4821. /**
  4822. * Optional description for the lifecycle policy.
  4823. */
  4824. description?: NonEmptyString;
  4825. /**
  4826. * Indicates whether the lifecycle policy resource is enabled.
  4827. */
  4828. status?: LifecyclePolicyStatus;
  4829. /**
  4830. * The name or Amazon Resource Name (ARN) of the IAM role that Image Builder uses to update the lifecycle policy.
  4831. */
  4832. executionRole: RoleNameOrArn;
  4833. /**
  4834. * The type of image resource that the lifecycle policy applies to.
  4835. */
  4836. resourceType: LifecyclePolicyResourceType;
  4837. /**
  4838. * The configuration details for a lifecycle policy resource.
  4839. */
  4840. policyDetails: LifecyclePolicyDetails;
  4841. /**
  4842. * Selection criteria for resources that the lifecycle policy applies to.
  4843. */
  4844. resourceSelection: LifecyclePolicyResourceSelection;
  4845. /**
  4846. * Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see Ensuring idempotency in the Amazon EC2 API Reference.
  4847. */
  4848. clientToken: ClientToken;
  4849. }
  4850. export interface UpdateLifecyclePolicyResponse {
  4851. /**
  4852. * The ARN of the image lifecycle policy resource that was updated.
  4853. */
  4854. lifecyclePolicyArn?: LifecyclePolicyArn;
  4855. }
  4856. export type Uri = string;
  4857. export type UserDataOverride = string;
  4858. export type VersionNumber = string;
  4859. export type VulnerabilityId = string;
  4860. export interface VulnerabilityIdAggregation {
  4861. /**
  4862. * The vulnerability Id for this set of counts.
  4863. */
  4864. vulnerabilityId?: NonEmptyString;
  4865. /**
  4866. * Counts by severity level for medium severity and higher level findings, plus a total for all of the findings for the specified vulnerability.
  4867. */
  4868. severityCounts?: SeverityCounts;
  4869. }
  4870. export type VulnerabilityIdList = VulnerabilityId[];
  4871. export interface VulnerablePackage {
  4872. /**
  4873. * The name of the vulnerable package.
  4874. */
  4875. name?: NonEmptyString;
  4876. /**
  4877. * The version of the vulnerable package.
  4878. */
  4879. version?: NonEmptyString;
  4880. /**
  4881. * The source layer hash of the vulnerable package.
  4882. */
  4883. sourceLayerHash?: SourceLayerHash;
  4884. /**
  4885. * The epoch of the vulnerable package.
  4886. */
  4887. epoch?: PackageEpoch;
  4888. /**
  4889. * The release of the vulnerable package.
  4890. */
  4891. release?: NonEmptyString;
  4892. /**
  4893. * The architecture of the vulnerable package.
  4894. */
  4895. arch?: PackageArchitecture;
  4896. /**
  4897. * The package manager of the vulnerable package.
  4898. */
  4899. packageManager?: NonEmptyString;
  4900. /**
  4901. * The file path of the vulnerable package.
  4902. */
  4903. filePath?: NonEmptyString;
  4904. /**
  4905. * The version of the package that contains the vulnerability fix.
  4906. */
  4907. fixedInVersion?: NonEmptyString;
  4908. /**
  4909. * The code to run in your environment to update packages with a fix available.
  4910. */
  4911. remediation?: NonEmptyString;
  4912. }
  4913. export type VulnerablePackageList = VulnerablePackage[];
  4914. export interface Workflow {
  4915. /**
  4916. * The Amazon Resource Name (ARN) of the workflow resource.
  4917. */
  4918. arn?: WorkflowBuildVersionArn;
  4919. /**
  4920. * The name of the workflow resource.
  4921. */
  4922. name?: ResourceName;
  4923. /**
  4924. * The workflow resource version. Workflow resources are immutable. To make a change, you can clone a workflow or create a new version.
  4925. */
  4926. version?: VersionNumber;
  4927. /**
  4928. * The description of the workflow.
  4929. */
  4930. description?: NonEmptyString;
  4931. /**
  4932. * Describes what change has been made in this version of the workflow, or what makes this version different from other versions of the workflow.
  4933. */
  4934. changeDescription?: NonEmptyString;
  4935. /**
  4936. * Specifies the image creation stage that the workflow applies to. Image Builder currently supports build and test workflows.
  4937. */
  4938. type?: WorkflowType;
  4939. /**
  4940. * Describes the current status of the workflow and the reason for that status.
  4941. */
  4942. state?: WorkflowState;
  4943. /**
  4944. * The owner of the workflow resource.
  4945. */
  4946. owner?: NonEmptyString;
  4947. /**
  4948. * Contains the YAML document content for the workflow.
  4949. */
  4950. data?: WorkflowData;
  4951. /**
  4952. * The KMS key identifier used to encrypt the workflow resource.
  4953. */
  4954. kmsKeyId?: NonEmptyString;
  4955. /**
  4956. * The timestamp when Image Builder created the workflow resource.
  4957. */
  4958. dateCreated?: DateTime;
  4959. /**
  4960. * The tags that apply to the workflow resource
  4961. */
  4962. tags?: TagMap;
  4963. /**
  4964. * An array of input parameters that that the image workflow uses to control actions or configure settings.
  4965. */
  4966. parameters?: WorkflowParameterDetailList;
  4967. }
  4968. export type WorkflowBuildVersionArn = string;
  4969. export interface WorkflowConfiguration {
  4970. /**
  4971. * The Amazon Resource Name (ARN) of the workflow resource.
  4972. */
  4973. workflowArn: WorkflowVersionArnOrBuildVersionArn;
  4974. /**
  4975. * Contains parameter values for each of the parameters that the workflow document defined for the workflow resource.
  4976. */
  4977. parameters?: WorkflowParameterList;
  4978. /**
  4979. * Test workflows are defined within named runtime groups called parallel groups. The parallel group is the named group that contains this test workflow. Test workflows within a parallel group can run at the same time. Image Builder starts up to five test workflows in the group at the same time, and starts additional workflows as others complete, until all workflows in the group have completed. This field only applies for test workflows.
  4980. */
  4981. parallelGroup?: ParallelGroup;
  4982. /**
  4983. * The action to take if the workflow fails.
  4984. */
  4985. onFailure?: OnWorkflowFailure;
  4986. }
  4987. export type WorkflowConfigurationList = WorkflowConfiguration[];
  4988. export type WorkflowData = string;
  4989. export type WorkflowExecutionId = string;
  4990. export type WorkflowExecutionMessage = string;
  4991. export interface WorkflowExecutionMetadata {
  4992. /**
  4993. * The Amazon Resource Name (ARN) of the workflow resource build version that ran.
  4994. */
  4995. workflowBuildVersionArn?: WorkflowBuildVersionArn;
  4996. /**
  4997. * Unique identifier that Image Builder assigns to keep track of runtime resources each time it runs a workflow.
  4998. */
  4999. workflowExecutionId?: WorkflowExecutionId;
  5000. /**
  5001. * Indicates what type of workflow that Image Builder ran for this runtime instance of the workflow.
  5002. */
  5003. type?: WorkflowType;
  5004. /**
  5005. * The current runtime status for this workflow.
  5006. */
  5007. status?: WorkflowExecutionStatus;
  5008. /**
  5009. * The runtime output message from the workflow, if applicable.
  5010. */
  5011. message?: WorkflowExecutionMessage;
  5012. /**
  5013. * The total number of steps in the workflow. This should equal the sum of the step counts for steps that succeeded, were skipped, and failed.
  5014. */
  5015. totalStepCount?: WorkflowStepCount;
  5016. /**
  5017. * A runtime count for the number of steps in the workflow that ran successfully.
  5018. */
  5019. totalStepsSucceeded?: WorkflowStepCount;
  5020. /**
  5021. * A runtime count for the number of steps in the workflow that failed.
  5022. */
  5023. totalStepsFailed?: WorkflowStepCount;
  5024. /**
  5025. * A runtime count for the number of steps in the workflow that were skipped.
  5026. */
  5027. totalStepsSkipped?: WorkflowStepCount;
  5028. /**
  5029. * The timestamp when the runtime instance of this workflow started.
  5030. */
  5031. startTime?: DateTime;
  5032. /**
  5033. * The timestamp when this runtime instance of the workflow finished.
  5034. */
  5035. endTime?: DateTime;
  5036. /**
  5037. * The name of the test group that included the test workflow resource at runtime.
  5038. */
  5039. parallelGroup?: ParallelGroup;
  5040. }
  5041. export type WorkflowExecutionStatus = "PENDING"|"SKIPPED"|"RUNNING"|"COMPLETED"|"FAILED"|"ROLLBACK_IN_PROGRESS"|"ROLLBACK_COMPLETED"|"CANCELLED"|string;
  5042. export type WorkflowExecutionsList = WorkflowExecutionMetadata[];
  5043. export type WorkflowNameArn = string;
  5044. export interface WorkflowParameter {
  5045. /**
  5046. * The name of the workflow parameter to set.
  5047. */
  5048. name: WorkflowParameterName;
  5049. /**
  5050. * Sets the value for the named workflow parameter.
  5051. */
  5052. value: WorkflowParameterValueList;
  5053. }
  5054. export type WorkflowParameterDescription = string;
  5055. export interface WorkflowParameterDetail {
  5056. /**
  5057. * The name of this input parameter.
  5058. */
  5059. name: WorkflowParameterName;
  5060. /**
  5061. * The type of input this parameter provides. The currently supported value is "string".
  5062. */
  5063. type: WorkflowParameterType;
  5064. /**
  5065. * The default value of this parameter if no input is provided.
  5066. */
  5067. defaultValue?: WorkflowParameterValueList;
  5068. /**
  5069. * Describes this parameter.
  5070. */
  5071. description?: WorkflowParameterDescription;
  5072. }
  5073. export type WorkflowParameterDetailList = WorkflowParameterDetail[];
  5074. export type WorkflowParameterList = WorkflowParameter[];
  5075. export type WorkflowParameterName = string;
  5076. export type WorkflowParameterType = string;
  5077. export type WorkflowParameterValue = string;
  5078. export type WorkflowParameterValueList = WorkflowParameterValue[];
  5079. export interface WorkflowState {
  5080. /**
  5081. * The current state of the workflow.
  5082. */
  5083. status?: WorkflowStatus;
  5084. /**
  5085. * Describes how or why the workflow changed state.
  5086. */
  5087. reason?: NonEmptyString;
  5088. }
  5089. export type WorkflowStatus = "DEPRECATED"|string;
  5090. export type WorkflowStepAction = string;
  5091. export type WorkflowStepActionType = "RESUME"|"STOP"|string;
  5092. export type WorkflowStepCount = number;
  5093. export type WorkflowStepDescription = string;
  5094. export interface WorkflowStepExecution {
  5095. /**
  5096. * Uniquely identifies the workflow step that ran for the associated image build version.
  5097. */
  5098. stepExecutionId?: WorkflowStepExecutionId;
  5099. /**
  5100. * The Amazon Resource Name (ARN) of the image build version that ran the workflow.
  5101. */
  5102. imageBuildVersionArn?: ImageBuildVersionArn;
  5103. /**
  5104. * Uniquely identifies the runtime instance of the workflow that contains the workflow step that ran for the associated image build version.
  5105. */
  5106. workflowExecutionId?: WorkflowExecutionId;
  5107. /**
  5108. * The ARN of the workflow resource that ran.
  5109. */
  5110. workflowBuildVersionArn?: WorkflowBuildVersionArn;
  5111. /**
  5112. * The name of the workflow step.
  5113. */
  5114. name?: WorkflowStepName;
  5115. /**
  5116. * The name of the step action.
  5117. */
  5118. action?: WorkflowStepAction;
  5119. /**
  5120. * The timestamp when the workflow step started.
  5121. */
  5122. startTime?: DateTime;
  5123. }
  5124. export type WorkflowStepExecutionId = string;
  5125. export type WorkflowStepExecutionList = WorkflowStepExecution[];
  5126. export type WorkflowStepExecutionRollbackStatus = "RUNNING"|"COMPLETED"|"SKIPPED"|"FAILED"|string;
  5127. export type WorkflowStepExecutionStatus = "PENDING"|"SKIPPED"|"RUNNING"|"COMPLETED"|"FAILED"|"CANCELLED"|string;
  5128. export type WorkflowStepExecutionsList = WorkflowStepMetadata[];
  5129. export type WorkflowStepInputs = string;
  5130. export type WorkflowStepMessage = string;
  5131. export interface WorkflowStepMetadata {
  5132. /**
  5133. * A unique identifier for the workflow step, assigned at runtime.
  5134. */
  5135. stepExecutionId?: WorkflowStepExecutionId;
  5136. /**
  5137. * The name of the workflow step.
  5138. */
  5139. name?: WorkflowStepName;
  5140. /**
  5141. * Description of the workflow step.
  5142. */
  5143. description?: WorkflowStepDescription;
  5144. /**
  5145. * The step action name.
  5146. */
  5147. action?: WorkflowStepAction;
  5148. /**
  5149. * Runtime status for the workflow step.
  5150. */
  5151. status?: WorkflowStepExecutionStatus;
  5152. /**
  5153. * Reports on the rollback status of the step, if applicable.
  5154. */
  5155. rollbackStatus?: WorkflowStepExecutionRollbackStatus;
  5156. /**
  5157. * Detailed output message that the workflow step provides at runtime.
  5158. */
  5159. message?: WorkflowStepMessage;
  5160. /**
  5161. * Input parameters that Image Builder provides for the workflow step.
  5162. */
  5163. inputs?: WorkflowStepInputs;
  5164. /**
  5165. * The file names that the workflow step created as output for this runtime instance of the workflow.
  5166. */
  5167. outputs?: WorkflowStepOutputs;
  5168. /**
  5169. * The timestamp when the workflow step started.
  5170. */
  5171. startTime?: DateTime;
  5172. /**
  5173. * The timestamp when the workflow step finished.
  5174. */
  5175. endTime?: DateTime;
  5176. }
  5177. export type WorkflowStepName = string;
  5178. export type WorkflowStepOutputs = string;
  5179. export type WorkflowStepTimeoutSecondsInteger = number;
  5180. export interface WorkflowSummary {
  5181. /**
  5182. * The Amazon Resource Name (ARN) of the workflow resource.
  5183. */
  5184. arn?: WorkflowNameArn;
  5185. /**
  5186. * The name of the workflow.
  5187. */
  5188. name?: ResourceName;
  5189. /**
  5190. * The version of the workflow.
  5191. */
  5192. version?: VersionNumber;
  5193. /**
  5194. * Describes the workflow.
  5195. */
  5196. description?: NonEmptyString;
  5197. /**
  5198. * The change description for the current version of the workflow resource.
  5199. */
  5200. changeDescription?: NonEmptyString;
  5201. /**
  5202. * The image creation stage that this workflow applies to. Image Builder currently supports build and test stage workflows.
  5203. */
  5204. type?: WorkflowType;
  5205. /**
  5206. * The owner of the workflow resource.
  5207. */
  5208. owner?: NonEmptyString;
  5209. /**
  5210. * Describes the current state of the workflow resource.
  5211. */
  5212. state?: WorkflowState;
  5213. /**
  5214. * The original creation date of the workflow resource.
  5215. */
  5216. dateCreated?: DateTime;
  5217. /**
  5218. * Contains a list of tags that are defined for the workflow.
  5219. */
  5220. tags?: TagMap;
  5221. }
  5222. export type WorkflowSummaryList = WorkflowSummary[];
  5223. export type WorkflowType = "BUILD"|"TEST"|"DISTRIBUTION"|string;
  5224. export interface WorkflowVersion {
  5225. /**
  5226. * The Amazon Resource Name (ARN) of the workflow resource.
  5227. */
  5228. arn?: WorkflowVersionArn;
  5229. /**
  5230. * The name of the workflow.
  5231. */
  5232. name?: ResourceName;
  5233. /**
  5234. * The semantic version of the workflow resource. The format includes three nodes: &lt;major&gt;.&lt;minor&gt;.&lt;patch&gt;.
  5235. */
  5236. version?: VersionNumber;
  5237. /**
  5238. * Describes the workflow.
  5239. */
  5240. description?: NonEmptyString;
  5241. /**
  5242. * The image creation stage that this workflow applies to. Image Builder currently supports build and test stage workflows.
  5243. */
  5244. type?: WorkflowType;
  5245. /**
  5246. * The owner of the workflow resource.
  5247. */
  5248. owner?: NonEmptyString;
  5249. /**
  5250. * The timestamp when Image Builder created the workflow version.
  5251. */
  5252. dateCreated?: DateTime;
  5253. }
  5254. export type WorkflowVersionArn = string;
  5255. export type WorkflowVersionArnOrBuildVersionArn = string;
  5256. export type WorkflowVersionList = WorkflowVersion[];
  5257. export type WorkflowWildcardVersionArn = string;
  5258. /**
  5259. * 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.
  5260. */
  5261. export type apiVersion = "2019-12-02"|"latest"|string;
  5262. export interface ClientApiVersions {
  5263. /**
  5264. * 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.
  5265. */
  5266. apiVersion?: apiVersion;
  5267. }
  5268. export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
  5269. /**
  5270. * Contains interfaces for use with the Imagebuilder client.
  5271. */
  5272. export import Types = Imagebuilder;
  5273. }
  5274. export = Imagebuilder;