apprunner.d.ts 108 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825
  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 AppRunner extends Service {
  9. /**
  10. * Constructs a service object. This object has one method for each API operation.
  11. */
  12. constructor(options?: AppRunner.Types.ClientConfiguration)
  13. config: Config & AppRunner.Types.ClientConfiguration;
  14. /**
  15. * Associate your own domain name with the App Runner subdomain URL of your App Runner service. After you call AssociateCustomDomain and receive a successful response, use the information in the CustomDomain record that's returned to add CNAME records to your Domain Name System (DNS). For each mapped domain name, add a mapping to the target App Runner subdomain and one or more certificate validation records. App Runner then performs DNS validation to verify that you own or control the domain name that you associated. App Runner tracks domain validity in a certificate stored in AWS Certificate Manager (ACM).
  16. */
  17. associateCustomDomain(params: AppRunner.Types.AssociateCustomDomainRequest, callback?: (err: AWSError, data: AppRunner.Types.AssociateCustomDomainResponse) => void): Request<AppRunner.Types.AssociateCustomDomainResponse, AWSError>;
  18. /**
  19. * Associate your own domain name with the App Runner subdomain URL of your App Runner service. After you call AssociateCustomDomain and receive a successful response, use the information in the CustomDomain record that's returned to add CNAME records to your Domain Name System (DNS). For each mapped domain name, add a mapping to the target App Runner subdomain and one or more certificate validation records. App Runner then performs DNS validation to verify that you own or control the domain name that you associated. App Runner tracks domain validity in a certificate stored in AWS Certificate Manager (ACM).
  20. */
  21. associateCustomDomain(callback?: (err: AWSError, data: AppRunner.Types.AssociateCustomDomainResponse) => void): Request<AppRunner.Types.AssociateCustomDomainResponse, AWSError>;
  22. /**
  23. * Create an App Runner automatic scaling configuration resource. App Runner requires this resource when you create or update App Runner services and you require non-default auto scaling settings. You can share an auto scaling configuration across multiple services. Create multiple revisions of a configuration by calling this action multiple times using the same AutoScalingConfigurationName. The call returns incremental AutoScalingConfigurationRevision values. When you create a service and configure an auto scaling configuration resource, the service uses the latest active revision of the auto scaling configuration by default. You can optionally configure the service to use a specific revision. Configure a higher MinSize to increase the spread of your App Runner service over more Availability Zones in the Amazon Web Services Region. The tradeoff is a higher minimal cost. Configure a lower MaxSize to control your cost. The tradeoff is lower responsiveness during peak demand.
  24. */
  25. createAutoScalingConfiguration(params: AppRunner.Types.CreateAutoScalingConfigurationRequest, callback?: (err: AWSError, data: AppRunner.Types.CreateAutoScalingConfigurationResponse) => void): Request<AppRunner.Types.CreateAutoScalingConfigurationResponse, AWSError>;
  26. /**
  27. * Create an App Runner automatic scaling configuration resource. App Runner requires this resource when you create or update App Runner services and you require non-default auto scaling settings. You can share an auto scaling configuration across multiple services. Create multiple revisions of a configuration by calling this action multiple times using the same AutoScalingConfigurationName. The call returns incremental AutoScalingConfigurationRevision values. When you create a service and configure an auto scaling configuration resource, the service uses the latest active revision of the auto scaling configuration by default. You can optionally configure the service to use a specific revision. Configure a higher MinSize to increase the spread of your App Runner service over more Availability Zones in the Amazon Web Services Region. The tradeoff is a higher minimal cost. Configure a lower MaxSize to control your cost. The tradeoff is lower responsiveness during peak demand.
  28. */
  29. createAutoScalingConfiguration(callback?: (err: AWSError, data: AppRunner.Types.CreateAutoScalingConfigurationResponse) => void): Request<AppRunner.Types.CreateAutoScalingConfigurationResponse, AWSError>;
  30. /**
  31. * Create an App Runner connection resource. App Runner requires a connection resource when you create App Runner services that access private repositories from certain third-party providers. You can share a connection across multiple services. A connection resource is needed to access GitHub and Bitbucket repositories. Both require a user interface approval process through the App Runner console before you can use the connection.
  32. */
  33. createConnection(params: AppRunner.Types.CreateConnectionRequest, callback?: (err: AWSError, data: AppRunner.Types.CreateConnectionResponse) => void): Request<AppRunner.Types.CreateConnectionResponse, AWSError>;
  34. /**
  35. * Create an App Runner connection resource. App Runner requires a connection resource when you create App Runner services that access private repositories from certain third-party providers. You can share a connection across multiple services. A connection resource is needed to access GitHub and Bitbucket repositories. Both require a user interface approval process through the App Runner console before you can use the connection.
  36. */
  37. createConnection(callback?: (err: AWSError, data: AppRunner.Types.CreateConnectionResponse) => void): Request<AppRunner.Types.CreateConnectionResponse, AWSError>;
  38. /**
  39. * Create an App Runner observability configuration resource. App Runner requires this resource when you create or update App Runner services and you want to enable non-default observability features. You can share an observability configuration across multiple services. Create multiple revisions of a configuration by calling this action multiple times using the same ObservabilityConfigurationName. The call returns incremental ObservabilityConfigurationRevision values. When you create a service and configure an observability configuration resource, the service uses the latest active revision of the observability configuration by default. You can optionally configure the service to use a specific revision. The observability configuration resource is designed to configure multiple features (currently one feature, tracing). This action takes optional parameters that describe the configuration of these features (currently one parameter, TraceConfiguration). If you don't specify a feature parameter, App Runner doesn't enable the feature.
  40. */
  41. createObservabilityConfiguration(params: AppRunner.Types.CreateObservabilityConfigurationRequest, callback?: (err: AWSError, data: AppRunner.Types.CreateObservabilityConfigurationResponse) => void): Request<AppRunner.Types.CreateObservabilityConfigurationResponse, AWSError>;
  42. /**
  43. * Create an App Runner observability configuration resource. App Runner requires this resource when you create or update App Runner services and you want to enable non-default observability features. You can share an observability configuration across multiple services. Create multiple revisions of a configuration by calling this action multiple times using the same ObservabilityConfigurationName. The call returns incremental ObservabilityConfigurationRevision values. When you create a service and configure an observability configuration resource, the service uses the latest active revision of the observability configuration by default. You can optionally configure the service to use a specific revision. The observability configuration resource is designed to configure multiple features (currently one feature, tracing). This action takes optional parameters that describe the configuration of these features (currently one parameter, TraceConfiguration). If you don't specify a feature parameter, App Runner doesn't enable the feature.
  44. */
  45. createObservabilityConfiguration(callback?: (err: AWSError, data: AppRunner.Types.CreateObservabilityConfigurationResponse) => void): Request<AppRunner.Types.CreateObservabilityConfigurationResponse, AWSError>;
  46. /**
  47. * Create an App Runner service. After the service is created, the action also automatically starts a deployment. This is an asynchronous operation. On a successful call, you can use the returned OperationId and the ListOperations call to track the operation's progress.
  48. */
  49. createService(params: AppRunner.Types.CreateServiceRequest, callback?: (err: AWSError, data: AppRunner.Types.CreateServiceResponse) => void): Request<AppRunner.Types.CreateServiceResponse, AWSError>;
  50. /**
  51. * Create an App Runner service. After the service is created, the action also automatically starts a deployment. This is an asynchronous operation. On a successful call, you can use the returned OperationId and the ListOperations call to track the operation's progress.
  52. */
  53. createService(callback?: (err: AWSError, data: AppRunner.Types.CreateServiceResponse) => void): Request<AppRunner.Types.CreateServiceResponse, AWSError>;
  54. /**
  55. * Create an App Runner VPC connector resource. App Runner requires this resource when you want to associate your App Runner service to a custom Amazon Virtual Private Cloud (Amazon VPC).
  56. */
  57. createVpcConnector(params: AppRunner.Types.CreateVpcConnectorRequest, callback?: (err: AWSError, data: AppRunner.Types.CreateVpcConnectorResponse) => void): Request<AppRunner.Types.CreateVpcConnectorResponse, AWSError>;
  58. /**
  59. * Create an App Runner VPC connector resource. App Runner requires this resource when you want to associate your App Runner service to a custom Amazon Virtual Private Cloud (Amazon VPC).
  60. */
  61. createVpcConnector(callback?: (err: AWSError, data: AppRunner.Types.CreateVpcConnectorResponse) => void): Request<AppRunner.Types.CreateVpcConnectorResponse, AWSError>;
  62. /**
  63. * Create an App Runner VPC Ingress Connection resource. App Runner requires this resource when you want to associate your App Runner service with an Amazon VPC endpoint.
  64. */
  65. createVpcIngressConnection(params: AppRunner.Types.CreateVpcIngressConnectionRequest, callback?: (err: AWSError, data: AppRunner.Types.CreateVpcIngressConnectionResponse) => void): Request<AppRunner.Types.CreateVpcIngressConnectionResponse, AWSError>;
  66. /**
  67. * Create an App Runner VPC Ingress Connection resource. App Runner requires this resource when you want to associate your App Runner service with an Amazon VPC endpoint.
  68. */
  69. createVpcIngressConnection(callback?: (err: AWSError, data: AppRunner.Types.CreateVpcIngressConnectionResponse) => void): Request<AppRunner.Types.CreateVpcIngressConnectionResponse, AWSError>;
  70. /**
  71. * Delete an App Runner automatic scaling configuration resource. You can delete a top level auto scaling configuration, a specific revision of one, or all revisions associated with the top level configuration. You can't delete the default auto scaling configuration or a configuration that's used by one or more App Runner services.
  72. */
  73. deleteAutoScalingConfiguration(params: AppRunner.Types.DeleteAutoScalingConfigurationRequest, callback?: (err: AWSError, data: AppRunner.Types.DeleteAutoScalingConfigurationResponse) => void): Request<AppRunner.Types.DeleteAutoScalingConfigurationResponse, AWSError>;
  74. /**
  75. * Delete an App Runner automatic scaling configuration resource. You can delete a top level auto scaling configuration, a specific revision of one, or all revisions associated with the top level configuration. You can't delete the default auto scaling configuration or a configuration that's used by one or more App Runner services.
  76. */
  77. deleteAutoScalingConfiguration(callback?: (err: AWSError, data: AppRunner.Types.DeleteAutoScalingConfigurationResponse) => void): Request<AppRunner.Types.DeleteAutoScalingConfigurationResponse, AWSError>;
  78. /**
  79. * Delete an App Runner connection. You must first ensure that there are no running App Runner services that use this connection. If there are any, the DeleteConnection action fails.
  80. */
  81. deleteConnection(params: AppRunner.Types.DeleteConnectionRequest, callback?: (err: AWSError, data: AppRunner.Types.DeleteConnectionResponse) => void): Request<AppRunner.Types.DeleteConnectionResponse, AWSError>;
  82. /**
  83. * Delete an App Runner connection. You must first ensure that there are no running App Runner services that use this connection. If there are any, the DeleteConnection action fails.
  84. */
  85. deleteConnection(callback?: (err: AWSError, data: AppRunner.Types.DeleteConnectionResponse) => void): Request<AppRunner.Types.DeleteConnectionResponse, AWSError>;
  86. /**
  87. * Delete an App Runner observability configuration resource. You can delete a specific revision or the latest active revision. You can't delete a configuration that's used by one or more App Runner services.
  88. */
  89. deleteObservabilityConfiguration(params: AppRunner.Types.DeleteObservabilityConfigurationRequest, callback?: (err: AWSError, data: AppRunner.Types.DeleteObservabilityConfigurationResponse) => void): Request<AppRunner.Types.DeleteObservabilityConfigurationResponse, AWSError>;
  90. /**
  91. * Delete an App Runner observability configuration resource. You can delete a specific revision or the latest active revision. You can't delete a configuration that's used by one or more App Runner services.
  92. */
  93. deleteObservabilityConfiguration(callback?: (err: AWSError, data: AppRunner.Types.DeleteObservabilityConfigurationResponse) => void): Request<AppRunner.Types.DeleteObservabilityConfigurationResponse, AWSError>;
  94. /**
  95. * Delete an App Runner service. This is an asynchronous operation. On a successful call, you can use the returned OperationId and the ListOperations call to track the operation's progress. Make sure that you don't have any active VPCIngressConnections associated with the service you want to delete.
  96. */
  97. deleteService(params: AppRunner.Types.DeleteServiceRequest, callback?: (err: AWSError, data: AppRunner.Types.DeleteServiceResponse) => void): Request<AppRunner.Types.DeleteServiceResponse, AWSError>;
  98. /**
  99. * Delete an App Runner service. This is an asynchronous operation. On a successful call, you can use the returned OperationId and the ListOperations call to track the operation's progress. Make sure that you don't have any active VPCIngressConnections associated with the service you want to delete.
  100. */
  101. deleteService(callback?: (err: AWSError, data: AppRunner.Types.DeleteServiceResponse) => void): Request<AppRunner.Types.DeleteServiceResponse, AWSError>;
  102. /**
  103. * Delete an App Runner VPC connector resource. You can't delete a connector that's used by one or more App Runner services.
  104. */
  105. deleteVpcConnector(params: AppRunner.Types.DeleteVpcConnectorRequest, callback?: (err: AWSError, data: AppRunner.Types.DeleteVpcConnectorResponse) => void): Request<AppRunner.Types.DeleteVpcConnectorResponse, AWSError>;
  106. /**
  107. * Delete an App Runner VPC connector resource. You can't delete a connector that's used by one or more App Runner services.
  108. */
  109. deleteVpcConnector(callback?: (err: AWSError, data: AppRunner.Types.DeleteVpcConnectorResponse) => void): Request<AppRunner.Types.DeleteVpcConnectorResponse, AWSError>;
  110. /**
  111. * Delete an App Runner VPC Ingress Connection resource that's associated with an App Runner service. The VPC Ingress Connection must be in one of the following states to be deleted: AVAILABLE FAILED_CREATION FAILED_UPDATE FAILED_DELETION
  112. */
  113. deleteVpcIngressConnection(params: AppRunner.Types.DeleteVpcIngressConnectionRequest, callback?: (err: AWSError, data: AppRunner.Types.DeleteVpcIngressConnectionResponse) => void): Request<AppRunner.Types.DeleteVpcIngressConnectionResponse, AWSError>;
  114. /**
  115. * Delete an App Runner VPC Ingress Connection resource that's associated with an App Runner service. The VPC Ingress Connection must be in one of the following states to be deleted: AVAILABLE FAILED_CREATION FAILED_UPDATE FAILED_DELETION
  116. */
  117. deleteVpcIngressConnection(callback?: (err: AWSError, data: AppRunner.Types.DeleteVpcIngressConnectionResponse) => void): Request<AppRunner.Types.DeleteVpcIngressConnectionResponse, AWSError>;
  118. /**
  119. * Return a full description of an App Runner automatic scaling configuration resource.
  120. */
  121. describeAutoScalingConfiguration(params: AppRunner.Types.DescribeAutoScalingConfigurationRequest, callback?: (err: AWSError, data: AppRunner.Types.DescribeAutoScalingConfigurationResponse) => void): Request<AppRunner.Types.DescribeAutoScalingConfigurationResponse, AWSError>;
  122. /**
  123. * Return a full description of an App Runner automatic scaling configuration resource.
  124. */
  125. describeAutoScalingConfiguration(callback?: (err: AWSError, data: AppRunner.Types.DescribeAutoScalingConfigurationResponse) => void): Request<AppRunner.Types.DescribeAutoScalingConfigurationResponse, AWSError>;
  126. /**
  127. * Return a description of custom domain names that are associated with an App Runner service.
  128. */
  129. describeCustomDomains(params: AppRunner.Types.DescribeCustomDomainsRequest, callback?: (err: AWSError, data: AppRunner.Types.DescribeCustomDomainsResponse) => void): Request<AppRunner.Types.DescribeCustomDomainsResponse, AWSError>;
  130. /**
  131. * Return a description of custom domain names that are associated with an App Runner service.
  132. */
  133. describeCustomDomains(callback?: (err: AWSError, data: AppRunner.Types.DescribeCustomDomainsResponse) => void): Request<AppRunner.Types.DescribeCustomDomainsResponse, AWSError>;
  134. /**
  135. * Return a full description of an App Runner observability configuration resource.
  136. */
  137. describeObservabilityConfiguration(params: AppRunner.Types.DescribeObservabilityConfigurationRequest, callback?: (err: AWSError, data: AppRunner.Types.DescribeObservabilityConfigurationResponse) => void): Request<AppRunner.Types.DescribeObservabilityConfigurationResponse, AWSError>;
  138. /**
  139. * Return a full description of an App Runner observability configuration resource.
  140. */
  141. describeObservabilityConfiguration(callback?: (err: AWSError, data: AppRunner.Types.DescribeObservabilityConfigurationResponse) => void): Request<AppRunner.Types.DescribeObservabilityConfigurationResponse, AWSError>;
  142. /**
  143. * Return a full description of an App Runner service.
  144. */
  145. describeService(params: AppRunner.Types.DescribeServiceRequest, callback?: (err: AWSError, data: AppRunner.Types.DescribeServiceResponse) => void): Request<AppRunner.Types.DescribeServiceResponse, AWSError>;
  146. /**
  147. * Return a full description of an App Runner service.
  148. */
  149. describeService(callback?: (err: AWSError, data: AppRunner.Types.DescribeServiceResponse) => void): Request<AppRunner.Types.DescribeServiceResponse, AWSError>;
  150. /**
  151. * Return a description of an App Runner VPC connector resource.
  152. */
  153. describeVpcConnector(params: AppRunner.Types.DescribeVpcConnectorRequest, callback?: (err: AWSError, data: AppRunner.Types.DescribeVpcConnectorResponse) => void): Request<AppRunner.Types.DescribeVpcConnectorResponse, AWSError>;
  154. /**
  155. * Return a description of an App Runner VPC connector resource.
  156. */
  157. describeVpcConnector(callback?: (err: AWSError, data: AppRunner.Types.DescribeVpcConnectorResponse) => void): Request<AppRunner.Types.DescribeVpcConnectorResponse, AWSError>;
  158. /**
  159. * Return a full description of an App Runner VPC Ingress Connection resource.
  160. */
  161. describeVpcIngressConnection(params: AppRunner.Types.DescribeVpcIngressConnectionRequest, callback?: (err: AWSError, data: AppRunner.Types.DescribeVpcIngressConnectionResponse) => void): Request<AppRunner.Types.DescribeVpcIngressConnectionResponse, AWSError>;
  162. /**
  163. * Return a full description of an App Runner VPC Ingress Connection resource.
  164. */
  165. describeVpcIngressConnection(callback?: (err: AWSError, data: AppRunner.Types.DescribeVpcIngressConnectionResponse) => void): Request<AppRunner.Types.DescribeVpcIngressConnectionResponse, AWSError>;
  166. /**
  167. * Disassociate a custom domain name from an App Runner service. Certificates tracking domain validity are associated with a custom domain and are stored in AWS Certificate Manager (ACM). These certificates aren't deleted as part of this action. App Runner delays certificate deletion for 30 days after a domain is disassociated from your service.
  168. */
  169. disassociateCustomDomain(params: AppRunner.Types.DisassociateCustomDomainRequest, callback?: (err: AWSError, data: AppRunner.Types.DisassociateCustomDomainResponse) => void): Request<AppRunner.Types.DisassociateCustomDomainResponse, AWSError>;
  170. /**
  171. * Disassociate a custom domain name from an App Runner service. Certificates tracking domain validity are associated with a custom domain and are stored in AWS Certificate Manager (ACM). These certificates aren't deleted as part of this action. App Runner delays certificate deletion for 30 days after a domain is disassociated from your service.
  172. */
  173. disassociateCustomDomain(callback?: (err: AWSError, data: AppRunner.Types.DisassociateCustomDomainResponse) => void): Request<AppRunner.Types.DisassociateCustomDomainResponse, AWSError>;
  174. /**
  175. * Returns a list of active App Runner automatic scaling configurations in your Amazon Web Services account. You can query the revisions for a specific configuration name or the revisions for all active configurations in your account. You can optionally query only the latest revision of each requested name. To retrieve a full description of a particular configuration revision, call and provide one of the ARNs returned by ListAutoScalingConfigurations.
  176. */
  177. listAutoScalingConfigurations(params: AppRunner.Types.ListAutoScalingConfigurationsRequest, callback?: (err: AWSError, data: AppRunner.Types.ListAutoScalingConfigurationsResponse) => void): Request<AppRunner.Types.ListAutoScalingConfigurationsResponse, AWSError>;
  178. /**
  179. * Returns a list of active App Runner automatic scaling configurations in your Amazon Web Services account. You can query the revisions for a specific configuration name or the revisions for all active configurations in your account. You can optionally query only the latest revision of each requested name. To retrieve a full description of a particular configuration revision, call and provide one of the ARNs returned by ListAutoScalingConfigurations.
  180. */
  181. listAutoScalingConfigurations(callback?: (err: AWSError, data: AppRunner.Types.ListAutoScalingConfigurationsResponse) => void): Request<AppRunner.Types.ListAutoScalingConfigurationsResponse, AWSError>;
  182. /**
  183. * Returns a list of App Runner connections that are associated with your Amazon Web Services account.
  184. */
  185. listConnections(params: AppRunner.Types.ListConnectionsRequest, callback?: (err: AWSError, data: AppRunner.Types.ListConnectionsResponse) => void): Request<AppRunner.Types.ListConnectionsResponse, AWSError>;
  186. /**
  187. * Returns a list of App Runner connections that are associated with your Amazon Web Services account.
  188. */
  189. listConnections(callback?: (err: AWSError, data: AppRunner.Types.ListConnectionsResponse) => void): Request<AppRunner.Types.ListConnectionsResponse, AWSError>;
  190. /**
  191. * Returns a list of active App Runner observability configurations in your Amazon Web Services account. You can query the revisions for a specific configuration name or the revisions for all active configurations in your account. You can optionally query only the latest revision of each requested name. To retrieve a full description of a particular configuration revision, call and provide one of the ARNs returned by ListObservabilityConfigurations.
  192. */
  193. listObservabilityConfigurations(params: AppRunner.Types.ListObservabilityConfigurationsRequest, callback?: (err: AWSError, data: AppRunner.Types.ListObservabilityConfigurationsResponse) => void): Request<AppRunner.Types.ListObservabilityConfigurationsResponse, AWSError>;
  194. /**
  195. * Returns a list of active App Runner observability configurations in your Amazon Web Services account. You can query the revisions for a specific configuration name or the revisions for all active configurations in your account. You can optionally query only the latest revision of each requested name. To retrieve a full description of a particular configuration revision, call and provide one of the ARNs returned by ListObservabilityConfigurations.
  196. */
  197. listObservabilityConfigurations(callback?: (err: AWSError, data: AppRunner.Types.ListObservabilityConfigurationsResponse) => void): Request<AppRunner.Types.ListObservabilityConfigurationsResponse, AWSError>;
  198. /**
  199. * Return a list of operations that occurred on an App Runner service. The resulting list of OperationSummary objects is sorted in reverse chronological order. The first object on the list represents the last started operation.
  200. */
  201. listOperations(params: AppRunner.Types.ListOperationsRequest, callback?: (err: AWSError, data: AppRunner.Types.ListOperationsResponse) => void): Request<AppRunner.Types.ListOperationsResponse, AWSError>;
  202. /**
  203. * Return a list of operations that occurred on an App Runner service. The resulting list of OperationSummary objects is sorted in reverse chronological order. The first object on the list represents the last started operation.
  204. */
  205. listOperations(callback?: (err: AWSError, data: AppRunner.Types.ListOperationsResponse) => void): Request<AppRunner.Types.ListOperationsResponse, AWSError>;
  206. /**
  207. * Returns a list of running App Runner services in your Amazon Web Services account.
  208. */
  209. listServices(params: AppRunner.Types.ListServicesRequest, callback?: (err: AWSError, data: AppRunner.Types.ListServicesResponse) => void): Request<AppRunner.Types.ListServicesResponse, AWSError>;
  210. /**
  211. * Returns a list of running App Runner services in your Amazon Web Services account.
  212. */
  213. listServices(callback?: (err: AWSError, data: AppRunner.Types.ListServicesResponse) => void): Request<AppRunner.Types.ListServicesResponse, AWSError>;
  214. /**
  215. * Returns a list of the associated App Runner services using an auto scaling configuration.
  216. */
  217. listServicesForAutoScalingConfiguration(params: AppRunner.Types.ListServicesForAutoScalingConfigurationRequest, callback?: (err: AWSError, data: AppRunner.Types.ListServicesForAutoScalingConfigurationResponse) => void): Request<AppRunner.Types.ListServicesForAutoScalingConfigurationResponse, AWSError>;
  218. /**
  219. * Returns a list of the associated App Runner services using an auto scaling configuration.
  220. */
  221. listServicesForAutoScalingConfiguration(callback?: (err: AWSError, data: AppRunner.Types.ListServicesForAutoScalingConfigurationResponse) => void): Request<AppRunner.Types.ListServicesForAutoScalingConfigurationResponse, AWSError>;
  222. /**
  223. * List tags that are associated with for an App Runner resource. The response contains a list of tag key-value pairs.
  224. */
  225. listTagsForResource(params: AppRunner.Types.ListTagsForResourceRequest, callback?: (err: AWSError, data: AppRunner.Types.ListTagsForResourceResponse) => void): Request<AppRunner.Types.ListTagsForResourceResponse, AWSError>;
  226. /**
  227. * List tags that are associated with for an App Runner resource. The response contains a list of tag key-value pairs.
  228. */
  229. listTagsForResource(callback?: (err: AWSError, data: AppRunner.Types.ListTagsForResourceResponse) => void): Request<AppRunner.Types.ListTagsForResourceResponse, AWSError>;
  230. /**
  231. * Returns a list of App Runner VPC connectors in your Amazon Web Services account.
  232. */
  233. listVpcConnectors(params: AppRunner.Types.ListVpcConnectorsRequest, callback?: (err: AWSError, data: AppRunner.Types.ListVpcConnectorsResponse) => void): Request<AppRunner.Types.ListVpcConnectorsResponse, AWSError>;
  234. /**
  235. * Returns a list of App Runner VPC connectors in your Amazon Web Services account.
  236. */
  237. listVpcConnectors(callback?: (err: AWSError, data: AppRunner.Types.ListVpcConnectorsResponse) => void): Request<AppRunner.Types.ListVpcConnectorsResponse, AWSError>;
  238. /**
  239. * Return a list of App Runner VPC Ingress Connections in your Amazon Web Services account.
  240. */
  241. listVpcIngressConnections(params: AppRunner.Types.ListVpcIngressConnectionsRequest, callback?: (err: AWSError, data: AppRunner.Types.ListVpcIngressConnectionsResponse) => void): Request<AppRunner.Types.ListVpcIngressConnectionsResponse, AWSError>;
  242. /**
  243. * Return a list of App Runner VPC Ingress Connections in your Amazon Web Services account.
  244. */
  245. listVpcIngressConnections(callback?: (err: AWSError, data: AppRunner.Types.ListVpcIngressConnectionsResponse) => void): Request<AppRunner.Types.ListVpcIngressConnectionsResponse, AWSError>;
  246. /**
  247. * Pause an active App Runner service. App Runner reduces compute capacity for the service to zero and loses state (for example, ephemeral storage is removed). This is an asynchronous operation. On a successful call, you can use the returned OperationId and the ListOperations call to track the operation's progress.
  248. */
  249. pauseService(params: AppRunner.Types.PauseServiceRequest, callback?: (err: AWSError, data: AppRunner.Types.PauseServiceResponse) => void): Request<AppRunner.Types.PauseServiceResponse, AWSError>;
  250. /**
  251. * Pause an active App Runner service. App Runner reduces compute capacity for the service to zero and loses state (for example, ephemeral storage is removed). This is an asynchronous operation. On a successful call, you can use the returned OperationId and the ListOperations call to track the operation's progress.
  252. */
  253. pauseService(callback?: (err: AWSError, data: AppRunner.Types.PauseServiceResponse) => void): Request<AppRunner.Types.PauseServiceResponse, AWSError>;
  254. /**
  255. * Resume an active App Runner service. App Runner provisions compute capacity for the service. This is an asynchronous operation. On a successful call, you can use the returned OperationId and the ListOperations call to track the operation's progress.
  256. */
  257. resumeService(params: AppRunner.Types.ResumeServiceRequest, callback?: (err: AWSError, data: AppRunner.Types.ResumeServiceResponse) => void): Request<AppRunner.Types.ResumeServiceResponse, AWSError>;
  258. /**
  259. * Resume an active App Runner service. App Runner provisions compute capacity for the service. This is an asynchronous operation. On a successful call, you can use the returned OperationId and the ListOperations call to track the operation's progress.
  260. */
  261. resumeService(callback?: (err: AWSError, data: AppRunner.Types.ResumeServiceResponse) => void): Request<AppRunner.Types.ResumeServiceResponse, AWSError>;
  262. /**
  263. * Initiate a manual deployment of the latest commit in a source code repository or the latest image in a source image repository to an App Runner service. For a source code repository, App Runner retrieves the commit and builds a Docker image. For a source image repository, App Runner retrieves the latest Docker image. In both cases, App Runner then deploys the new image to your service and starts a new container instance. This is an asynchronous operation. On a successful call, you can use the returned OperationId and the ListOperations call to track the operation's progress.
  264. */
  265. startDeployment(params: AppRunner.Types.StartDeploymentRequest, callback?: (err: AWSError, data: AppRunner.Types.StartDeploymentResponse) => void): Request<AppRunner.Types.StartDeploymentResponse, AWSError>;
  266. /**
  267. * Initiate a manual deployment of the latest commit in a source code repository or the latest image in a source image repository to an App Runner service. For a source code repository, App Runner retrieves the commit and builds a Docker image. For a source image repository, App Runner retrieves the latest Docker image. In both cases, App Runner then deploys the new image to your service and starts a new container instance. This is an asynchronous operation. On a successful call, you can use the returned OperationId and the ListOperations call to track the operation's progress.
  268. */
  269. startDeployment(callback?: (err: AWSError, data: AppRunner.Types.StartDeploymentResponse) => void): Request<AppRunner.Types.StartDeploymentResponse, AWSError>;
  270. /**
  271. * Add tags to, or update the tag values of, an App Runner resource. A tag is a key-value pair.
  272. */
  273. tagResource(params: AppRunner.Types.TagResourceRequest, callback?: (err: AWSError, data: AppRunner.Types.TagResourceResponse) => void): Request<AppRunner.Types.TagResourceResponse, AWSError>;
  274. /**
  275. * Add tags to, or update the tag values of, an App Runner resource. A tag is a key-value pair.
  276. */
  277. tagResource(callback?: (err: AWSError, data: AppRunner.Types.TagResourceResponse) => void): Request<AppRunner.Types.TagResourceResponse, AWSError>;
  278. /**
  279. * Remove tags from an App Runner resource.
  280. */
  281. untagResource(params: AppRunner.Types.UntagResourceRequest, callback?: (err: AWSError, data: AppRunner.Types.UntagResourceResponse) => void): Request<AppRunner.Types.UntagResourceResponse, AWSError>;
  282. /**
  283. * Remove tags from an App Runner resource.
  284. */
  285. untagResource(callback?: (err: AWSError, data: AppRunner.Types.UntagResourceResponse) => void): Request<AppRunner.Types.UntagResourceResponse, AWSError>;
  286. /**
  287. * Update an auto scaling configuration to be the default. The existing default auto scaling configuration will be set to non-default automatically.
  288. */
  289. updateDefaultAutoScalingConfiguration(params: AppRunner.Types.UpdateDefaultAutoScalingConfigurationRequest, callback?: (err: AWSError, data: AppRunner.Types.UpdateDefaultAutoScalingConfigurationResponse) => void): Request<AppRunner.Types.UpdateDefaultAutoScalingConfigurationResponse, AWSError>;
  290. /**
  291. * Update an auto scaling configuration to be the default. The existing default auto scaling configuration will be set to non-default automatically.
  292. */
  293. updateDefaultAutoScalingConfiguration(callback?: (err: AWSError, data: AppRunner.Types.UpdateDefaultAutoScalingConfigurationResponse) => void): Request<AppRunner.Types.UpdateDefaultAutoScalingConfigurationResponse, AWSError>;
  294. /**
  295. * Update an App Runner service. You can update the source configuration and instance configuration of the service. You can also update the ARN of the auto scaling configuration resource that's associated with the service. However, you can't change the name or the encryption configuration of the service. These can be set only when you create the service. To update the tags applied to your service, use the separate actions TagResource and UntagResource. This is an asynchronous operation. On a successful call, you can use the returned OperationId and the ListOperations call to track the operation's progress.
  296. */
  297. updateService(params: AppRunner.Types.UpdateServiceRequest, callback?: (err: AWSError, data: AppRunner.Types.UpdateServiceResponse) => void): Request<AppRunner.Types.UpdateServiceResponse, AWSError>;
  298. /**
  299. * Update an App Runner service. You can update the source configuration and instance configuration of the service. You can also update the ARN of the auto scaling configuration resource that's associated with the service. However, you can't change the name or the encryption configuration of the service. These can be set only when you create the service. To update the tags applied to your service, use the separate actions TagResource and UntagResource. This is an asynchronous operation. On a successful call, you can use the returned OperationId and the ListOperations call to track the operation's progress.
  300. */
  301. updateService(callback?: (err: AWSError, data: AppRunner.Types.UpdateServiceResponse) => void): Request<AppRunner.Types.UpdateServiceResponse, AWSError>;
  302. /**
  303. * Update an existing App Runner VPC Ingress Connection resource. The VPC Ingress Connection must be in one of the following states to be updated: AVAILABLE FAILED_CREATION FAILED_UPDATE
  304. */
  305. updateVpcIngressConnection(params: AppRunner.Types.UpdateVpcIngressConnectionRequest, callback?: (err: AWSError, data: AppRunner.Types.UpdateVpcIngressConnectionResponse) => void): Request<AppRunner.Types.UpdateVpcIngressConnectionResponse, AWSError>;
  306. /**
  307. * Update an existing App Runner VPC Ingress Connection resource. The VPC Ingress Connection must be in one of the following states to be updated: AVAILABLE FAILED_CREATION FAILED_UPDATE
  308. */
  309. updateVpcIngressConnection(callback?: (err: AWSError, data: AppRunner.Types.UpdateVpcIngressConnectionResponse) => void): Request<AppRunner.Types.UpdateVpcIngressConnectionResponse, AWSError>;
  310. }
  311. declare namespace AppRunner {
  312. export type ASConfigMaxConcurrency = number;
  313. export type ASConfigMaxSize = number;
  314. export type ASConfigMinSize = number;
  315. export type AppRunnerResourceArn = string;
  316. export interface AssociateCustomDomainRequest {
  317. /**
  318. * The Amazon Resource Name (ARN) of the App Runner service that you want to associate a custom domain name with.
  319. */
  320. ServiceArn: AppRunnerResourceArn;
  321. /**
  322. * A custom domain endpoint to associate. Specify a root domain (for example, example.com), a subdomain (for example, login.example.com or admin.login.example.com), or a wildcard (for example, *.example.com).
  323. */
  324. DomainName: DomainName;
  325. /**
  326. * Set to true to associate the subdomain www.DomainName with the App Runner service in addition to the base domain. Default: true
  327. */
  328. EnableWWWSubdomain?: NullableBoolean;
  329. }
  330. export interface AssociateCustomDomainResponse {
  331. /**
  332. * The App Runner subdomain of the App Runner service. The custom domain name is mapped to this target name.
  333. */
  334. DNSTarget: String;
  335. /**
  336. * The Amazon Resource Name (ARN) of the App Runner service with which a custom domain name is associated.
  337. */
  338. ServiceArn: AppRunnerResourceArn;
  339. /**
  340. * A description of the domain name that's being associated.
  341. */
  342. CustomDomain: CustomDomain;
  343. /**
  344. * DNS Target records for the custom domains of this Amazon VPC.
  345. */
  346. VpcDNSTargets: VpcDNSTargetList;
  347. }
  348. export interface AuthenticationConfiguration {
  349. /**
  350. * The Amazon Resource Name (ARN) of the App Runner connection that enables the App Runner service to connect to a source repository. It's required for GitHub code repositories.
  351. */
  352. ConnectionArn?: AppRunnerResourceArn;
  353. /**
  354. * The Amazon Resource Name (ARN) of the IAM role that grants the App Runner service access to a source repository. It's required for ECR image repositories (but not for ECR Public repositories).
  355. */
  356. AccessRoleArn?: RoleArn;
  357. }
  358. export interface AutoScalingConfiguration {
  359. /**
  360. * The Amazon Resource Name (ARN) of this auto scaling configuration.
  361. */
  362. AutoScalingConfigurationArn?: AppRunnerResourceArn;
  363. /**
  364. * The customer-provided auto scaling configuration name. It can be used in multiple revisions of a configuration.
  365. */
  366. AutoScalingConfigurationName?: AutoScalingConfigurationName;
  367. /**
  368. * The revision of this auto scaling configuration. It's unique among all the active configurations ("Status": "ACTIVE") that share the same AutoScalingConfigurationName.
  369. */
  370. AutoScalingConfigurationRevision?: AutoScalingConfigurationRevision;
  371. /**
  372. * It's set to true for the configuration with the highest Revision among all configurations that share the same AutoScalingConfigurationName. It's set to false otherwise.
  373. */
  374. Latest?: Latest;
  375. /**
  376. * The current state of the auto scaling configuration. If the status of a configuration revision is INACTIVE, it was deleted and can't be used. Inactive configuration revisions are permanently removed some time after they are deleted.
  377. */
  378. Status?: AutoScalingConfigurationStatus;
  379. /**
  380. * The maximum number of concurrent requests that an instance processes. If the number of concurrent requests exceeds this limit, App Runner scales the service up.
  381. */
  382. MaxConcurrency?: MaxConcurrency;
  383. /**
  384. * The minimum number of instances that App Runner provisions for a service. The service always has at least MinSize provisioned instances. Some of them actively serve traffic. The rest of them (provisioned and inactive instances) are a cost-effective compute capacity reserve and are ready to be quickly activated. You pay for memory usage of all the provisioned instances. You pay for CPU usage of only the active subset. App Runner temporarily doubles the number of provisioned instances during deployments, to maintain the same capacity for both old and new code.
  385. */
  386. MinSize?: MinSize;
  387. /**
  388. * The maximum number of instances that a service scales up to. At most MaxSize instances actively serve traffic for your service.
  389. */
  390. MaxSize?: MaxSize;
  391. /**
  392. * The time when the auto scaling configuration was created. It's in Unix time stamp format.
  393. */
  394. CreatedAt?: Timestamp;
  395. /**
  396. * The time when the auto scaling configuration was deleted. It's in Unix time stamp format.
  397. */
  398. DeletedAt?: Timestamp;
  399. /**
  400. * Indicates if this auto scaling configuration has an App Runner service associated with it. A value of true indicates one or more services are associated. A value of false indicates no services are associated.
  401. */
  402. HasAssociatedService?: HasAssociatedService;
  403. /**
  404. * Indicates if this auto scaling configuration should be used as the default for a new App Runner service that does not have an auto scaling configuration ARN specified during creation. Each account can have only one default AutoScalingConfiguration per region. The default AutoScalingConfiguration can be any revision under the same AutoScalingConfigurationName.
  405. */
  406. IsDefault?: IsDefault;
  407. }
  408. export type AutoScalingConfigurationName = string;
  409. export type AutoScalingConfigurationRevision = number;
  410. export type AutoScalingConfigurationStatus = "ACTIVE"|"INACTIVE"|string;
  411. export interface AutoScalingConfigurationSummary {
  412. /**
  413. * The Amazon Resource Name (ARN) of this auto scaling configuration.
  414. */
  415. AutoScalingConfigurationArn?: AppRunnerResourceArn;
  416. /**
  417. * The customer-provided auto scaling configuration name. It can be used in multiple revisions of a configuration.
  418. */
  419. AutoScalingConfigurationName?: AutoScalingConfigurationName;
  420. /**
  421. * The revision of this auto scaling configuration. It's unique among all the active configurations ("Status": "ACTIVE") with the same AutoScalingConfigurationName.
  422. */
  423. AutoScalingConfigurationRevision?: Integer;
  424. /**
  425. * The current state of the auto scaling configuration. If the status of a configuration revision is INACTIVE, it was deleted and can't be used. Inactive configuration revisions are permanently removed some time after they are deleted.
  426. */
  427. Status?: AutoScalingConfigurationStatus;
  428. /**
  429. * The time when the auto scaling configuration was created. It's in Unix time stamp format.
  430. */
  431. CreatedAt?: Timestamp;
  432. /**
  433. * Indicates if this auto scaling configuration has an App Runner service associated with it. A value of true indicates one or more services are associated. A value of false indicates no services are associated.
  434. */
  435. HasAssociatedService?: HasAssociatedService;
  436. /**
  437. * Indicates if this auto scaling configuration should be used as the default for a new App Runner service that does not have an auto scaling configuration ARN specified during creation. Each account can have only one default AutoScalingConfiguration per region. The default AutoScalingConfiguration can be any revision under the same AutoScalingConfigurationName.
  438. */
  439. IsDefault?: IsDefault;
  440. }
  441. export type AutoScalingConfigurationSummaryList = AutoScalingConfigurationSummary[];
  442. export type Boolean = boolean;
  443. export type BuildCommand = string;
  444. export interface CertificateValidationRecord {
  445. /**
  446. * The certificate CNAME record name.
  447. */
  448. Name?: String;
  449. /**
  450. * The record type, always CNAME.
  451. */
  452. Type?: String;
  453. /**
  454. * The certificate CNAME record value.
  455. */
  456. Value?: String;
  457. /**
  458. * The current state of the certificate CNAME record validation. It should change to SUCCESS after App Runner completes validation with your DNS.
  459. */
  460. Status?: CertificateValidationRecordStatus;
  461. }
  462. export type CertificateValidationRecordList = CertificateValidationRecord[];
  463. export type CertificateValidationRecordStatus = "PENDING_VALIDATION"|"SUCCESS"|"FAILED"|string;
  464. export interface CodeConfiguration {
  465. /**
  466. * The source of the App Runner configuration. Values are interpreted as follows: REPOSITORY – App Runner reads configuration values from the apprunner.yaml file in the source code repository and ignores CodeConfigurationValues. API – App Runner uses configuration values provided in CodeConfigurationValues and ignores the apprunner.yaml file in the source code repository.
  467. */
  468. ConfigurationSource: ConfigurationSource;
  469. /**
  470. * The basic configuration for building and running the App Runner service. Use it to quickly launch an App Runner service without providing a apprunner.yaml file in the source code repository (or ignoring the file if it exists).
  471. */
  472. CodeConfigurationValues?: CodeConfigurationValues;
  473. }
  474. export interface CodeConfigurationValues {
  475. /**
  476. * A runtime environment type for building and running an App Runner service. It represents a programming language runtime.
  477. */
  478. Runtime: Runtime;
  479. /**
  480. * The command App Runner runs to build your application.
  481. */
  482. BuildCommand?: BuildCommand;
  483. /**
  484. * The command App Runner runs to start your application.
  485. */
  486. StartCommand?: StartCommand;
  487. /**
  488. * The port that your application listens to in the container. Default: 8080
  489. */
  490. Port?: String;
  491. /**
  492. * The environment variables that are available to your running App Runner service. An array of key-value pairs.
  493. */
  494. RuntimeEnvironmentVariables?: RuntimeEnvironmentVariables;
  495. /**
  496. * An array of key-value pairs representing the secrets and parameters that get referenced to your service as an environment variable. The supported values are either the full Amazon Resource Name (ARN) of the Secrets Manager secret or the full ARN of the parameter in the Amazon Web Services Systems Manager Parameter Store. If the Amazon Web Services Systems Manager Parameter Store parameter exists in the same Amazon Web Services Region as the service that you're launching, you can use either the full ARN or name of the secret. If the parameter exists in a different Region, then the full ARN must be specified. Currently, cross account referencing of Amazon Web Services Systems Manager Parameter Store parameter is not supported.
  497. */
  498. RuntimeEnvironmentSecrets?: RuntimeEnvironmentSecrets;
  499. }
  500. export interface CodeRepository {
  501. /**
  502. * The location of the repository that contains the source code.
  503. */
  504. RepositoryUrl: String;
  505. /**
  506. * The version that should be used within the source code repository.
  507. */
  508. SourceCodeVersion: SourceCodeVersion;
  509. /**
  510. * Configuration for building and running the service from a source code repository. CodeConfiguration is required only for CreateService request.
  511. */
  512. CodeConfiguration?: CodeConfiguration;
  513. /**
  514. * The path of the directory that stores source code and configuration files. The build and start commands also execute from here. The path is absolute from root and, if not specified, defaults to the repository root.
  515. */
  516. SourceDirectory?: SourceDirectory;
  517. }
  518. export type ConfigurationSource = "REPOSITORY"|"API"|string;
  519. export interface Connection {
  520. /**
  521. * The customer-provided connection name.
  522. */
  523. ConnectionName?: ConnectionName;
  524. /**
  525. * The Amazon Resource Name (ARN) of this connection.
  526. */
  527. ConnectionArn?: AppRunnerResourceArn;
  528. /**
  529. * The source repository provider.
  530. */
  531. ProviderType?: ProviderType;
  532. /**
  533. * The current state of the App Runner connection. When the state is AVAILABLE, you can use the connection to create an App Runner service.
  534. */
  535. Status?: ConnectionStatus;
  536. /**
  537. * The App Runner connection creation time, expressed as a Unix time stamp.
  538. */
  539. CreatedAt?: Timestamp;
  540. }
  541. export type ConnectionName = string;
  542. export type ConnectionStatus = "PENDING_HANDSHAKE"|"AVAILABLE"|"ERROR"|"DELETED"|string;
  543. export interface ConnectionSummary {
  544. /**
  545. * The customer-provided connection name.
  546. */
  547. ConnectionName?: ConnectionName;
  548. /**
  549. * The Amazon Resource Name (ARN) of this connection.
  550. */
  551. ConnectionArn?: AppRunnerResourceArn;
  552. /**
  553. * The source repository provider.
  554. */
  555. ProviderType?: ProviderType;
  556. /**
  557. * The current state of the App Runner connection. When the state is AVAILABLE, you can use the connection to create an App Runner service.
  558. */
  559. Status?: ConnectionStatus;
  560. /**
  561. * The App Runner connection creation time, expressed as a Unix time stamp.
  562. */
  563. CreatedAt?: Timestamp;
  564. }
  565. export type ConnectionSummaryList = ConnectionSummary[];
  566. export type Cpu = string;
  567. export interface CreateAutoScalingConfigurationRequest {
  568. /**
  569. * A name for the auto scaling configuration. When you use it for the first time in an Amazon Web Services Region, App Runner creates revision number 1 of this name. When you use the same name in subsequent calls, App Runner creates incremental revisions of the configuration. Prior to the release of Auto scale configuration enhancements, the name DefaultConfiguration was reserved. This restriction is no longer in place. You can now manage DefaultConfiguration the same way you manage your custom auto scaling configurations. This means you can do the following with the DefaultConfiguration that App Runner provides: Create new revisions of the DefaultConfiguration. Delete the revisions of the DefaultConfiguration. Delete the auto scaling configuration for which the App Runner DefaultConfiguration was created. If you delete the auto scaling configuration you can create another custom auto scaling configuration with the same DefaultConfiguration name. The original DefaultConfiguration resource provided by App Runner remains in your account unless you make changes to it.
  570. */
  571. AutoScalingConfigurationName: AutoScalingConfigurationName;
  572. /**
  573. * The maximum number of concurrent requests that you want an instance to process. If the number of concurrent requests exceeds this limit, App Runner scales up your service. Default: 100
  574. */
  575. MaxConcurrency?: ASConfigMaxConcurrency;
  576. /**
  577. * The minimum number of instances that App Runner provisions for your service. The service always has at least MinSize provisioned instances. Some of them actively serve traffic. The rest of them (provisioned and inactive instances) are a cost-effective compute capacity reserve and are ready to be quickly activated. You pay for memory usage of all the provisioned instances. You pay for CPU usage of only the active subset. App Runner temporarily doubles the number of provisioned instances during deployments, to maintain the same capacity for both old and new code. Default: 1
  578. */
  579. MinSize?: ASConfigMinSize;
  580. /**
  581. * The maximum number of instances that your service scales up to. At most MaxSize instances actively serve traffic for your service. Default: 25
  582. */
  583. MaxSize?: ASConfigMaxSize;
  584. /**
  585. * A list of metadata items that you can associate with your auto scaling configuration resource. A tag is a key-value pair.
  586. */
  587. Tags?: TagList;
  588. }
  589. export interface CreateAutoScalingConfigurationResponse {
  590. /**
  591. * A description of the App Runner auto scaling configuration that's created by this request.
  592. */
  593. AutoScalingConfiguration: AutoScalingConfiguration;
  594. }
  595. export interface CreateConnectionRequest {
  596. /**
  597. * A name for the new connection. It must be unique across all App Runner connections for the Amazon Web Services account in the Amazon Web Services Region.
  598. */
  599. ConnectionName: ConnectionName;
  600. /**
  601. * The source repository provider.
  602. */
  603. ProviderType: ProviderType;
  604. /**
  605. * A list of metadata items that you can associate with your connection resource. A tag is a key-value pair.
  606. */
  607. Tags?: TagList;
  608. }
  609. export interface CreateConnectionResponse {
  610. /**
  611. * A description of the App Runner connection that's created by this request.
  612. */
  613. Connection: Connection;
  614. }
  615. export interface CreateObservabilityConfigurationRequest {
  616. /**
  617. * A name for the observability configuration. When you use it for the first time in an Amazon Web Services Region, App Runner creates revision number 1 of this name. When you use the same name in subsequent calls, App Runner creates incremental revisions of the configuration. The name DefaultConfiguration is reserved. You can't use it to create a new observability configuration, and you can't create a revision of it. When you want to use your own observability configuration for your App Runner service, create a configuration with a different name, and then provide it when you create or update your service.
  618. */
  619. ObservabilityConfigurationName: ObservabilityConfigurationName;
  620. /**
  621. * The configuration of the tracing feature within this observability configuration. If you don't specify it, App Runner doesn't enable tracing.
  622. */
  623. TraceConfiguration?: TraceConfiguration;
  624. /**
  625. * A list of metadata items that you can associate with your observability configuration resource. A tag is a key-value pair.
  626. */
  627. Tags?: TagList;
  628. }
  629. export interface CreateObservabilityConfigurationResponse {
  630. /**
  631. * A description of the App Runner observability configuration that's created by this request.
  632. */
  633. ObservabilityConfiguration: ObservabilityConfiguration;
  634. }
  635. export interface CreateServiceRequest {
  636. /**
  637. * A name for the App Runner service. It must be unique across all the running App Runner services in your Amazon Web Services account in the Amazon Web Services Region.
  638. */
  639. ServiceName: ServiceName;
  640. /**
  641. * The source to deploy to the App Runner service. It can be a code or an image repository.
  642. */
  643. SourceConfiguration: SourceConfiguration;
  644. /**
  645. * The runtime configuration of instances (scaling units) of your service.
  646. */
  647. InstanceConfiguration?: InstanceConfiguration;
  648. /**
  649. * An optional list of metadata items that you can associate with the App Runner service resource. A tag is a key-value pair.
  650. */
  651. Tags?: TagList;
  652. /**
  653. * An optional custom encryption key that App Runner uses to encrypt the copy of your source repository that it maintains and your service logs. By default, App Runner uses an Amazon Web Services managed key.
  654. */
  655. EncryptionConfiguration?: EncryptionConfiguration;
  656. /**
  657. * The settings for the health check that App Runner performs to monitor the health of the App Runner service.
  658. */
  659. HealthCheckConfiguration?: HealthCheckConfiguration;
  660. /**
  661. * The Amazon Resource Name (ARN) of an App Runner automatic scaling configuration resource that you want to associate with your service. If not provided, App Runner associates the latest revision of a default auto scaling configuration. Specify an ARN with a name and a revision number to associate that revision. For example: arn:aws:apprunner:us-east-1:123456789012:autoscalingconfiguration/high-availability/3 Specify just the name to associate the latest revision. For example: arn:aws:apprunner:us-east-1:123456789012:autoscalingconfiguration/high-availability
  662. */
  663. AutoScalingConfigurationArn?: AppRunnerResourceArn;
  664. /**
  665. * Configuration settings related to network traffic of the web application that the App Runner service runs.
  666. */
  667. NetworkConfiguration?: NetworkConfiguration;
  668. /**
  669. * The observability configuration of your service.
  670. */
  671. ObservabilityConfiguration?: ServiceObservabilityConfiguration;
  672. }
  673. export interface CreateServiceResponse {
  674. /**
  675. * A description of the App Runner service that's created by this request.
  676. */
  677. Service: Service;
  678. /**
  679. * The unique ID of the asynchronous operation that this request started. You can use it combined with the ListOperations call to track the operation's progress.
  680. */
  681. OperationId: UUID;
  682. }
  683. export interface CreateVpcConnectorRequest {
  684. /**
  685. * A name for the VPC connector.
  686. */
  687. VpcConnectorName: VpcConnectorName;
  688. /**
  689. * A list of IDs of subnets that App Runner should use when it associates your service with a custom Amazon VPC. Specify IDs of subnets of a single Amazon VPC. App Runner determines the Amazon VPC from the subnets you specify. App Runner currently only provides support for IPv4.
  690. */
  691. Subnets: StringList;
  692. /**
  693. * A list of IDs of security groups that App Runner should use for access to Amazon Web Services resources under the specified subnets. If not specified, App Runner uses the default security group of the Amazon VPC. The default security group allows all outbound traffic.
  694. */
  695. SecurityGroups?: StringList;
  696. /**
  697. * A list of metadata items that you can associate with your VPC connector resource. A tag is a key-value pair.
  698. */
  699. Tags?: TagList;
  700. }
  701. export interface CreateVpcConnectorResponse {
  702. /**
  703. * A description of the App Runner VPC connector that's created by this request.
  704. */
  705. VpcConnector: VpcConnector;
  706. }
  707. export interface CreateVpcIngressConnectionRequest {
  708. /**
  709. * The Amazon Resource Name (ARN) for this App Runner service that is used to create the VPC Ingress Connection resource.
  710. */
  711. ServiceArn: AppRunnerResourceArn;
  712. /**
  713. * A name for the VPC Ingress Connection resource. It must be unique across all the active VPC Ingress Connections in your Amazon Web Services account in the Amazon Web Services Region.
  714. */
  715. VpcIngressConnectionName: VpcIngressConnectionName;
  716. /**
  717. * Specifications for the customer’s Amazon VPC and the related Amazon Web Services PrivateLink VPC endpoint that are used to create the VPC Ingress Connection resource.
  718. */
  719. IngressVpcConfiguration: IngressVpcConfiguration;
  720. /**
  721. * An optional list of metadata items that you can associate with the VPC Ingress Connection resource. A tag is a key-value pair.
  722. */
  723. Tags?: TagList;
  724. }
  725. export interface CreateVpcIngressConnectionResponse {
  726. /**
  727. * A description of the App Runner VPC Ingress Connection resource that's created by this request.
  728. */
  729. VpcIngressConnection: VpcIngressConnection;
  730. }
  731. export interface CustomDomain {
  732. /**
  733. * An associated custom domain endpoint. It can be a root domain (for example, example.com), a subdomain (for example, login.example.com or admin.login.example.com), or a wildcard (for example, *.example.com).
  734. */
  735. DomainName: DomainName;
  736. /**
  737. * When true, the subdomain www.DomainName is associated with the App Runner service in addition to the base domain.
  738. */
  739. EnableWWWSubdomain: NullableBoolean;
  740. /**
  741. * A list of certificate CNAME records that's used for this domain name.
  742. */
  743. CertificateValidationRecords?: CertificateValidationRecordList;
  744. /**
  745. * The current state of the domain name association.
  746. */
  747. Status: CustomDomainAssociationStatus;
  748. }
  749. export type CustomDomainAssociationStatus = "CREATING"|"CREATE_FAILED"|"ACTIVE"|"DELETING"|"DELETE_FAILED"|"PENDING_CERTIFICATE_DNS_VALIDATION"|"BINDING_CERTIFICATE"|string;
  750. export type CustomDomainList = CustomDomain[];
  751. export type CustomerAccountId = string;
  752. export interface DeleteAutoScalingConfigurationRequest {
  753. /**
  754. * The Amazon Resource Name (ARN) of the App Runner auto scaling configuration that you want to delete. The ARN can be a full auto scaling configuration ARN, or a partial ARN ending with either .../name or .../name/revision . If a revision isn't specified, the latest active revision is deleted.
  755. */
  756. AutoScalingConfigurationArn: AppRunnerResourceArn;
  757. /**
  758. * Set to true to delete all of the revisions associated with the AutoScalingConfigurationArn parameter value. When DeleteAllRevisions is set to true, the only valid value for the Amazon Resource Name (ARN) is a partial ARN ending with: .../name.
  759. */
  760. DeleteAllRevisions?: Boolean;
  761. }
  762. export interface DeleteAutoScalingConfigurationResponse {
  763. /**
  764. * A description of the App Runner auto scaling configuration that this request just deleted.
  765. */
  766. AutoScalingConfiguration: AutoScalingConfiguration;
  767. }
  768. export interface DeleteConnectionRequest {
  769. /**
  770. * The Amazon Resource Name (ARN) of the App Runner connection that you want to delete.
  771. */
  772. ConnectionArn: AppRunnerResourceArn;
  773. }
  774. export interface DeleteConnectionResponse {
  775. /**
  776. * A description of the App Runner connection that this request just deleted.
  777. */
  778. Connection?: Connection;
  779. }
  780. export interface DeleteObservabilityConfigurationRequest {
  781. /**
  782. * The Amazon Resource Name (ARN) of the App Runner observability configuration that you want to delete. The ARN can be a full observability configuration ARN, or a partial ARN ending with either .../name or .../name/revision . If a revision isn't specified, the latest active revision is deleted.
  783. */
  784. ObservabilityConfigurationArn: AppRunnerResourceArn;
  785. }
  786. export interface DeleteObservabilityConfigurationResponse {
  787. /**
  788. * A description of the App Runner observability configuration that this request just deleted.
  789. */
  790. ObservabilityConfiguration: ObservabilityConfiguration;
  791. }
  792. export interface DeleteServiceRequest {
  793. /**
  794. * The Amazon Resource Name (ARN) of the App Runner service that you want to delete.
  795. */
  796. ServiceArn: AppRunnerResourceArn;
  797. }
  798. export interface DeleteServiceResponse {
  799. /**
  800. * A description of the App Runner service that this request just deleted.
  801. */
  802. Service: Service;
  803. /**
  804. * The unique ID of the asynchronous operation that this request started. You can use it combined with the ListOperations call to track the operation's progress.
  805. */
  806. OperationId: UUID;
  807. }
  808. export interface DeleteVpcConnectorRequest {
  809. /**
  810. * The Amazon Resource Name (ARN) of the App Runner VPC connector that you want to delete. The ARN must be a full VPC connector ARN.
  811. */
  812. VpcConnectorArn: AppRunnerResourceArn;
  813. }
  814. export interface DeleteVpcConnectorResponse {
  815. /**
  816. * A description of the App Runner VPC connector that this request just deleted.
  817. */
  818. VpcConnector: VpcConnector;
  819. }
  820. export interface DeleteVpcIngressConnectionRequest {
  821. /**
  822. * The Amazon Resource Name (ARN) of the App Runner VPC Ingress Connection that you want to delete.
  823. */
  824. VpcIngressConnectionArn: AppRunnerResourceArn;
  825. }
  826. export interface DeleteVpcIngressConnectionResponse {
  827. /**
  828. * A description of the App Runner VPC Ingress Connection that this request just deleted.
  829. */
  830. VpcIngressConnection: VpcIngressConnection;
  831. }
  832. export interface DescribeAutoScalingConfigurationRequest {
  833. /**
  834. * The Amazon Resource Name (ARN) of the App Runner auto scaling configuration that you want a description for. The ARN can be a full auto scaling configuration ARN, or a partial ARN ending with either .../name or .../name/revision . If a revision isn't specified, the latest active revision is described.
  835. */
  836. AutoScalingConfigurationArn: AppRunnerResourceArn;
  837. }
  838. export interface DescribeAutoScalingConfigurationResponse {
  839. /**
  840. * A full description of the App Runner auto scaling configuration that you specified in this request.
  841. */
  842. AutoScalingConfiguration: AutoScalingConfiguration;
  843. }
  844. export type DescribeCustomDomainsMaxResults = number;
  845. export interface DescribeCustomDomainsRequest {
  846. /**
  847. * The Amazon Resource Name (ARN) of the App Runner service that you want associated custom domain names to be described for.
  848. */
  849. ServiceArn: AppRunnerResourceArn;
  850. /**
  851. * A token from a previous result page. It's used for a paginated request. The request retrieves the next result page. All other parameter values must be identical to the ones that are specified in the initial request. If you don't specify NextToken, the request retrieves the first result page.
  852. */
  853. NextToken?: String;
  854. /**
  855. * The maximum number of results that each response (result page) can include. It's used for a paginated request. If you don't specify MaxResults, the request retrieves all available results in a single response.
  856. */
  857. MaxResults?: DescribeCustomDomainsMaxResults;
  858. }
  859. export interface DescribeCustomDomainsResponse {
  860. /**
  861. * The App Runner subdomain of the App Runner service. The associated custom domain names are mapped to this target name.
  862. */
  863. DNSTarget: String;
  864. /**
  865. * The Amazon Resource Name (ARN) of the App Runner service whose associated custom domain names you want to describe.
  866. */
  867. ServiceArn: AppRunnerResourceArn;
  868. /**
  869. * A list of descriptions of custom domain names that are associated with the service. In a paginated request, the request returns up to MaxResults records per call.
  870. */
  871. CustomDomains: CustomDomainList;
  872. /**
  873. * DNS Target records for the custom domains of this Amazon VPC.
  874. */
  875. VpcDNSTargets: VpcDNSTargetList;
  876. /**
  877. * The token that you can pass in a subsequent request to get the next result page. It's returned in a paginated request.
  878. */
  879. NextToken?: String;
  880. }
  881. export interface DescribeObservabilityConfigurationRequest {
  882. /**
  883. * The Amazon Resource Name (ARN) of the App Runner observability configuration that you want a description for. The ARN can be a full observability configuration ARN, or a partial ARN ending with either .../name or .../name/revision . If a revision isn't specified, the latest active revision is described.
  884. */
  885. ObservabilityConfigurationArn: AppRunnerResourceArn;
  886. }
  887. export interface DescribeObservabilityConfigurationResponse {
  888. /**
  889. * A full description of the App Runner observability configuration that you specified in this request.
  890. */
  891. ObservabilityConfiguration: ObservabilityConfiguration;
  892. }
  893. export interface DescribeServiceRequest {
  894. /**
  895. * The Amazon Resource Name (ARN) of the App Runner service that you want a description for.
  896. */
  897. ServiceArn: AppRunnerResourceArn;
  898. }
  899. export interface DescribeServiceResponse {
  900. /**
  901. * A full description of the App Runner service that you specified in this request.
  902. */
  903. Service: Service;
  904. }
  905. export interface DescribeVpcConnectorRequest {
  906. /**
  907. * The Amazon Resource Name (ARN) of the App Runner VPC connector that you want a description for. The ARN must be a full VPC connector ARN.
  908. */
  909. VpcConnectorArn: AppRunnerResourceArn;
  910. }
  911. export interface DescribeVpcConnectorResponse {
  912. /**
  913. * A description of the App Runner VPC connector that you specified in this request.
  914. */
  915. VpcConnector: VpcConnector;
  916. }
  917. export interface DescribeVpcIngressConnectionRequest {
  918. /**
  919. * The Amazon Resource Name (ARN) of the App Runner VPC Ingress Connection that you want a description for.
  920. */
  921. VpcIngressConnectionArn: AppRunnerResourceArn;
  922. }
  923. export interface DescribeVpcIngressConnectionResponse {
  924. /**
  925. * A description of the App Runner VPC Ingress Connection that you specified in this request.
  926. */
  927. VpcIngressConnection: VpcIngressConnection;
  928. }
  929. export interface DisassociateCustomDomainRequest {
  930. /**
  931. * The Amazon Resource Name (ARN) of the App Runner service that you want to disassociate a custom domain name from.
  932. */
  933. ServiceArn: AppRunnerResourceArn;
  934. /**
  935. * The domain name that you want to disassociate from the App Runner service.
  936. */
  937. DomainName: DomainName;
  938. }
  939. export interface DisassociateCustomDomainResponse {
  940. /**
  941. * The App Runner subdomain of the App Runner service. The disassociated custom domain name was mapped to this target name.
  942. */
  943. DNSTarget: String;
  944. /**
  945. * The Amazon Resource Name (ARN) of the App Runner service that a custom domain name is disassociated from.
  946. */
  947. ServiceArn: AppRunnerResourceArn;
  948. /**
  949. * A description of the domain name that's being disassociated.
  950. */
  951. CustomDomain: CustomDomain;
  952. /**
  953. * DNS Target records for the custom domains of this Amazon VPC.
  954. */
  955. VpcDNSTargets: VpcDNSTargetList;
  956. }
  957. export type DomainName = string;
  958. export interface EgressConfiguration {
  959. /**
  960. * The type of egress configuration. Set to DEFAULT for access to resources hosted on public networks. Set to VPC to associate your service to a custom VPC specified by VpcConnectorArn.
  961. */
  962. EgressType?: EgressType;
  963. /**
  964. * The Amazon Resource Name (ARN) of the App Runner VPC connector that you want to associate with your App Runner service. Only valid when EgressType = VPC.
  965. */
  966. VpcConnectorArn?: AppRunnerResourceArn;
  967. }
  968. export type EgressType = "DEFAULT"|"VPC"|string;
  969. export interface EncryptionConfiguration {
  970. /**
  971. * The ARN of the KMS key that's used for encryption.
  972. */
  973. KmsKey: KmsKeyArn;
  974. }
  975. export type HasAssociatedService = boolean;
  976. export interface HealthCheckConfiguration {
  977. /**
  978. * The IP protocol that App Runner uses to perform health checks for your service. If you set Protocol to HTTP, App Runner sends health check requests to the HTTP path specified by Path. Default: TCP
  979. */
  980. Protocol?: HealthCheckProtocol;
  981. /**
  982. * The URL that health check requests are sent to. Path is only applicable when you set Protocol to HTTP. Default: "/"
  983. */
  984. Path?: HealthCheckPath;
  985. /**
  986. * The time interval, in seconds, between health checks. Default: 5
  987. */
  988. Interval?: HealthCheckInterval;
  989. /**
  990. * The time, in seconds, to wait for a health check response before deciding it failed. Default: 2
  991. */
  992. Timeout?: HealthCheckTimeout;
  993. /**
  994. * The number of consecutive checks that must succeed before App Runner decides that the service is healthy. Default: 1
  995. */
  996. HealthyThreshold?: HealthCheckHealthyThreshold;
  997. /**
  998. * The number of consecutive checks that must fail before App Runner decides that the service is unhealthy. Default: 5
  999. */
  1000. UnhealthyThreshold?: HealthCheckUnhealthyThreshold;
  1001. }
  1002. export type HealthCheckHealthyThreshold = number;
  1003. export type HealthCheckInterval = number;
  1004. export type HealthCheckPath = string;
  1005. export type HealthCheckProtocol = "TCP"|"HTTP"|string;
  1006. export type HealthCheckTimeout = number;
  1007. export type HealthCheckUnhealthyThreshold = number;
  1008. export interface ImageConfiguration {
  1009. /**
  1010. * Environment variables that are available to your running App Runner service. An array of key-value pairs.
  1011. */
  1012. RuntimeEnvironmentVariables?: RuntimeEnvironmentVariables;
  1013. /**
  1014. * An optional command that App Runner runs to start the application in the source image. If specified, this command overrides the Docker image’s default start command.
  1015. */
  1016. StartCommand?: StartCommand;
  1017. /**
  1018. * The port that your application listens to in the container. Default: 8080
  1019. */
  1020. Port?: String;
  1021. /**
  1022. * An array of key-value pairs representing the secrets and parameters that get referenced to your service as an environment variable. The supported values are either the full Amazon Resource Name (ARN) of the Secrets Manager secret or the full ARN of the parameter in the Amazon Web Services Systems Manager Parameter Store. If the Amazon Web Services Systems Manager Parameter Store parameter exists in the same Amazon Web Services Region as the service that you're launching, you can use either the full ARN or name of the secret. If the parameter exists in a different Region, then the full ARN must be specified. Currently, cross account referencing of Amazon Web Services Systems Manager Parameter Store parameter is not supported.
  1023. */
  1024. RuntimeEnvironmentSecrets?: RuntimeEnvironmentSecrets;
  1025. }
  1026. export type ImageIdentifier = string;
  1027. export interface ImageRepository {
  1028. /**
  1029. * The identifier of an image. For an image in Amazon Elastic Container Registry (Amazon ECR), this is an image name. For the image name format, see Pulling an image in the Amazon ECR User Guide.
  1030. */
  1031. ImageIdentifier: ImageIdentifier;
  1032. /**
  1033. * Configuration for running the identified image.
  1034. */
  1035. ImageConfiguration?: ImageConfiguration;
  1036. /**
  1037. * The type of the image repository. This reflects the repository provider and whether the repository is private or public.
  1038. */
  1039. ImageRepositoryType: ImageRepositoryType;
  1040. }
  1041. export type ImageRepositoryType = "ECR"|"ECR_PUBLIC"|string;
  1042. export interface IngressConfiguration {
  1043. /**
  1044. * Specifies whether your App Runner service is publicly accessible. To make the service publicly accessible set it to True. To make the service privately accessible, from only within an Amazon VPC set it to False.
  1045. */
  1046. IsPubliclyAccessible?: Boolean;
  1047. }
  1048. export interface IngressVpcConfiguration {
  1049. /**
  1050. * The ID of the VPC that is used for the VPC endpoint.
  1051. */
  1052. VpcId?: String;
  1053. /**
  1054. * The ID of the VPC endpoint that your App Runner service connects to.
  1055. */
  1056. VpcEndpointId?: String;
  1057. }
  1058. export interface InstanceConfiguration {
  1059. /**
  1060. * The number of CPU units reserved for each instance of your App Runner service. Default: 1 vCPU
  1061. */
  1062. Cpu?: Cpu;
  1063. /**
  1064. * The amount of memory, in MB or GB, reserved for each instance of your App Runner service. Default: 2 GB
  1065. */
  1066. Memory?: Memory;
  1067. /**
  1068. * The Amazon Resource Name (ARN) of an IAM role that provides permissions to your App Runner service. These are permissions that your code needs when it calls any Amazon Web Services APIs.
  1069. */
  1070. InstanceRoleArn?: RoleArn;
  1071. }
  1072. export type Integer = number;
  1073. export type IpAddressType = "IPV4"|"DUAL_STACK"|string;
  1074. export type IsDefault = boolean;
  1075. export type KmsKeyArn = string;
  1076. export type Latest = boolean;
  1077. export interface ListAutoScalingConfigurationsRequest {
  1078. /**
  1079. * The name of the App Runner auto scaling configuration that you want to list. If specified, App Runner lists revisions that share this name. If not specified, App Runner returns revisions of all active configurations.
  1080. */
  1081. AutoScalingConfigurationName?: AutoScalingConfigurationName;
  1082. /**
  1083. * Set to true to list only the latest revision for each requested configuration name. Set to false to list all revisions for each requested configuration name. Default: true
  1084. */
  1085. LatestOnly?: Boolean;
  1086. /**
  1087. * The maximum number of results to include in each response (result page). It's used for a paginated request. If you don't specify MaxResults, the request retrieves all available results in a single response.
  1088. */
  1089. MaxResults?: MaxResults;
  1090. /**
  1091. * A token from a previous result page. It's used for a paginated request. The request retrieves the next result page. All other parameter values must be identical to the ones that are specified in the initial request. If you don't specify NextToken, the request retrieves the first result page.
  1092. */
  1093. NextToken?: NextToken;
  1094. }
  1095. export interface ListAutoScalingConfigurationsResponse {
  1096. /**
  1097. * A list of summary information records for auto scaling configurations. In a paginated request, the request returns up to MaxResults records for each call.
  1098. */
  1099. AutoScalingConfigurationSummaryList: AutoScalingConfigurationSummaryList;
  1100. /**
  1101. * The token that you can pass in a subsequent request to get the next result page. It's returned in a paginated request.
  1102. */
  1103. NextToken?: NextToken;
  1104. }
  1105. export interface ListConnectionsRequest {
  1106. /**
  1107. * If specified, only this connection is returned. If not specified, the result isn't filtered by name.
  1108. */
  1109. ConnectionName?: ConnectionName;
  1110. /**
  1111. * The maximum number of results to include in each response (result page). Used for a paginated request. If you don't specify MaxResults, the request retrieves all available results in a single response.
  1112. */
  1113. MaxResults?: MaxResults;
  1114. /**
  1115. * A token from a previous result page. Used for a paginated request. The request retrieves the next result page. All other parameter values must be identical to the ones specified in the initial request. If you don't specify NextToken, the request retrieves the first result page.
  1116. */
  1117. NextToken?: NextToken;
  1118. }
  1119. export interface ListConnectionsResponse {
  1120. /**
  1121. * A list of summary information records for connections. In a paginated request, the request returns up to MaxResults records for each call.
  1122. */
  1123. ConnectionSummaryList: ConnectionSummaryList;
  1124. /**
  1125. * The token that you can pass in a subsequent request to get the next result page. Returned in a paginated request.
  1126. */
  1127. NextToken?: NextToken;
  1128. }
  1129. export interface ListObservabilityConfigurationsRequest {
  1130. /**
  1131. * The name of the App Runner observability configuration that you want to list. If specified, App Runner lists revisions that share this name. If not specified, App Runner returns revisions of all active configurations.
  1132. */
  1133. ObservabilityConfigurationName?: ObservabilityConfigurationName;
  1134. /**
  1135. * Set to true to list only the latest revision for each requested configuration name. Set to false to list all revisions for each requested configuration name. Default: true
  1136. */
  1137. LatestOnly?: Boolean;
  1138. /**
  1139. * The maximum number of results to include in each response (result page). It's used for a paginated request. If you don't specify MaxResults, the request retrieves all available results in a single response.
  1140. */
  1141. MaxResults?: MaxResults;
  1142. /**
  1143. * A token from a previous result page. It's used for a paginated request. The request retrieves the next result page. All other parameter values must be identical to the ones that are specified in the initial request. If you don't specify NextToken, the request retrieves the first result page.
  1144. */
  1145. NextToken?: NextToken;
  1146. }
  1147. export interface ListObservabilityConfigurationsResponse {
  1148. /**
  1149. * A list of summary information records for observability configurations. In a paginated request, the request returns up to MaxResults records for each call.
  1150. */
  1151. ObservabilityConfigurationSummaryList: ObservabilityConfigurationSummaryList;
  1152. /**
  1153. * The token that you can pass in a subsequent request to get the next result page. It's returned in a paginated request.
  1154. */
  1155. NextToken?: NextToken;
  1156. }
  1157. export type ListOperationsMaxResults = number;
  1158. export interface ListOperationsRequest {
  1159. /**
  1160. * The Amazon Resource Name (ARN) of the App Runner service that you want a list of operations for.
  1161. */
  1162. ServiceArn: AppRunnerResourceArn;
  1163. /**
  1164. * A token from a previous result page. It's used for a paginated request. The request retrieves the next result page. All other parameter values must be identical to the ones specified in the initial request. If you don't specify NextToken, the request retrieves the first result page.
  1165. */
  1166. NextToken?: String;
  1167. /**
  1168. * The maximum number of results to include in each response (result page). It's used for a paginated request. If you don't specify MaxResults, the request retrieves all available results in a single response.
  1169. */
  1170. MaxResults?: ListOperationsMaxResults;
  1171. }
  1172. export interface ListOperationsResponse {
  1173. /**
  1174. * A list of operation summary information records. In a paginated request, the request returns up to MaxResults records for each call.
  1175. */
  1176. OperationSummaryList?: OperationSummaryList;
  1177. /**
  1178. * The token that you can pass in a subsequent request to get the next result page. It's returned in a paginated request.
  1179. */
  1180. NextToken?: String;
  1181. }
  1182. export interface ListServicesForAutoScalingConfigurationRequest {
  1183. /**
  1184. * The Amazon Resource Name (ARN) of the App Runner auto scaling configuration that you want to list the services for. The ARN can be a full auto scaling configuration ARN, or a partial ARN ending with either .../name or .../name/revision . If a revision isn't specified, the latest active revision is used.
  1185. */
  1186. AutoScalingConfigurationArn: AppRunnerResourceArn;
  1187. /**
  1188. * The maximum number of results to include in each response (result page). It's used for a paginated request. If you don't specify MaxResults, the request retrieves all available results in a single response.
  1189. */
  1190. MaxResults?: MaxResults;
  1191. /**
  1192. * A token from a previous result page. It's used for a paginated request. The request retrieves the next result page. All other parameter values must be identical to the ones specified in the initial request. If you don't specify NextToken, the request retrieves the first result page.
  1193. */
  1194. NextToken?: NextToken;
  1195. }
  1196. export interface ListServicesForAutoScalingConfigurationResponse {
  1197. /**
  1198. * A list of service ARN records. In a paginated request, the request returns up to MaxResults records for each call.
  1199. */
  1200. ServiceArnList: ServiceArnList;
  1201. /**
  1202. * The token that you can pass in a subsequent request to get the next result page. It's returned in a paginated request.
  1203. */
  1204. NextToken?: NextToken;
  1205. }
  1206. export interface ListServicesRequest {
  1207. /**
  1208. * A token from a previous result page. Used for a paginated request. The request retrieves the next result page. All other parameter values must be identical to the ones specified in the initial request. If you don't specify NextToken, the request retrieves the first result page.
  1209. */
  1210. NextToken?: String;
  1211. /**
  1212. * The maximum number of results to include in each response (result page). It's used for a paginated request. If you don't specify MaxResults, the request retrieves all available results in a single response.
  1213. */
  1214. MaxResults?: ServiceMaxResults;
  1215. }
  1216. export interface ListServicesResponse {
  1217. /**
  1218. * A list of service summary information records. In a paginated request, the request returns up to MaxResults records for each call.
  1219. */
  1220. ServiceSummaryList: ServiceSummaryList;
  1221. /**
  1222. * The token that you can pass in a subsequent request to get the next result page. It's returned in a paginated request.
  1223. */
  1224. NextToken?: String;
  1225. }
  1226. export interface ListTagsForResourceRequest {
  1227. /**
  1228. * The Amazon Resource Name (ARN) of the resource that a tag list is requested for. It must be the ARN of an App Runner resource.
  1229. */
  1230. ResourceArn: AppRunnerResourceArn;
  1231. }
  1232. export interface ListTagsForResourceResponse {
  1233. /**
  1234. * A list of the tag key-value pairs that are associated with the resource.
  1235. */
  1236. Tags?: TagList;
  1237. }
  1238. export interface ListVpcConnectorsRequest {
  1239. /**
  1240. * The maximum number of results to include in each response (result page). It's used for a paginated request. If you don't specify MaxResults, the request retrieves all available results in a single response.
  1241. */
  1242. MaxResults?: MaxResults;
  1243. /**
  1244. * A token from a previous result page. It's used for a paginated request. The request retrieves the next result page. All other parameter values must be identical to the ones that are specified in the initial request. If you don't specify NextToken, the request retrieves the first result page.
  1245. */
  1246. NextToken?: NextToken;
  1247. }
  1248. export interface ListVpcConnectorsResponse {
  1249. /**
  1250. * A list of information records for VPC connectors. In a paginated request, the request returns up to MaxResults records for each call.
  1251. */
  1252. VpcConnectors: VpcConnectors;
  1253. /**
  1254. * The token that you can pass in a subsequent request to get the next result page. It's returned in a paginated request.
  1255. */
  1256. NextToken?: NextToken;
  1257. }
  1258. export interface ListVpcIngressConnectionsFilter {
  1259. /**
  1260. * The Amazon Resource Name (ARN) of a service to filter by.
  1261. */
  1262. ServiceArn?: AppRunnerResourceArn;
  1263. /**
  1264. * The ID of a VPC Endpoint to filter by.
  1265. */
  1266. VpcEndpointId?: String;
  1267. }
  1268. export interface ListVpcIngressConnectionsRequest {
  1269. /**
  1270. * The VPC Ingress Connections to be listed based on either the Service Arn or Vpc Endpoint Id, or both.
  1271. */
  1272. Filter?: ListVpcIngressConnectionsFilter;
  1273. /**
  1274. * The maximum number of results to include in each response (result page). It's used for a paginated request. If you don't specify MaxResults, the request retrieves all available results in a single response.
  1275. */
  1276. MaxResults?: MaxResults;
  1277. /**
  1278. * A token from a previous result page. It's used for a paginated request. The request retrieves the next result page. All other parameter values must be identical to the ones that are specified in the initial request. If you don't specify NextToken, the request retrieves the first result page.
  1279. */
  1280. NextToken?: NextToken;
  1281. }
  1282. export interface ListVpcIngressConnectionsResponse {
  1283. /**
  1284. * A list of summary information records for VPC Ingress Connections. In a paginated request, the request returns up to MaxResults records for each call.
  1285. */
  1286. VpcIngressConnectionSummaryList: VpcIngressConnectionSummaryList;
  1287. /**
  1288. * The token that you can pass in a subsequent request to get the next result page. It's returned in a paginated request.
  1289. */
  1290. NextToken?: NextToken;
  1291. }
  1292. export type MaxConcurrency = number;
  1293. export type MaxResults = number;
  1294. export type MaxSize = number;
  1295. export type Memory = string;
  1296. export type MinSize = number;
  1297. export interface NetworkConfiguration {
  1298. /**
  1299. * Network configuration settings for outbound message traffic.
  1300. */
  1301. EgressConfiguration?: EgressConfiguration;
  1302. /**
  1303. * Network configuration settings for inbound message traffic.
  1304. */
  1305. IngressConfiguration?: IngressConfiguration;
  1306. /**
  1307. * App Runner provides you with the option to choose between Internet Protocol version 4 (IPv4) and dual stack (IPv4 and IPv6) for your incoming public network configuration. This is an optional parameter. If you do not specify an IpAddressType, it defaults to select IPv4. Currently, App Runner supports dual stack for only Public endpoint. Only IPv4 is supported for Private endpoint. If you update a service that's using dual-stack Public endpoint to a Private endpoint, your App Runner service will default to support only IPv4 for Private endpoint and fail to receive traffic originating from IPv6 endpoint.
  1308. */
  1309. IpAddressType?: IpAddressType;
  1310. }
  1311. export type NextToken = string;
  1312. export type NullableBoolean = boolean;
  1313. export interface ObservabilityConfiguration {
  1314. /**
  1315. * The Amazon Resource Name (ARN) of this observability configuration.
  1316. */
  1317. ObservabilityConfigurationArn?: AppRunnerResourceArn;
  1318. /**
  1319. * The customer-provided observability configuration name. It can be used in multiple revisions of a configuration.
  1320. */
  1321. ObservabilityConfigurationName?: ObservabilityConfigurationName;
  1322. /**
  1323. * The configuration of the tracing feature within this observability configuration. If not specified, tracing isn't enabled.
  1324. */
  1325. TraceConfiguration?: TraceConfiguration;
  1326. /**
  1327. * The revision of this observability configuration. It's unique among all the active configurations ("Status": "ACTIVE") that share the same ObservabilityConfigurationName.
  1328. */
  1329. ObservabilityConfigurationRevision?: Integer;
  1330. /**
  1331. * It's set to true for the configuration with the highest Revision among all configurations that share the same ObservabilityConfigurationName. It's set to false otherwise.
  1332. */
  1333. Latest?: Boolean;
  1334. /**
  1335. * The current state of the observability configuration. If the status of a configuration revision is INACTIVE, it was deleted and can't be used. Inactive configuration revisions are permanently removed some time after they are deleted.
  1336. */
  1337. Status?: ObservabilityConfigurationStatus;
  1338. /**
  1339. * The time when the observability configuration was created. It's in Unix time stamp format.
  1340. */
  1341. CreatedAt?: Timestamp;
  1342. /**
  1343. * The time when the observability configuration was deleted. It's in Unix time stamp format.
  1344. */
  1345. DeletedAt?: Timestamp;
  1346. }
  1347. export type ObservabilityConfigurationName = string;
  1348. export type ObservabilityConfigurationStatus = "ACTIVE"|"INACTIVE"|string;
  1349. export interface ObservabilityConfigurationSummary {
  1350. /**
  1351. * The Amazon Resource Name (ARN) of this observability configuration.
  1352. */
  1353. ObservabilityConfigurationArn?: AppRunnerResourceArn;
  1354. /**
  1355. * The customer-provided observability configuration name. It can be used in multiple revisions of a configuration.
  1356. */
  1357. ObservabilityConfigurationName?: ObservabilityConfigurationName;
  1358. /**
  1359. * The revision of this observability configuration. It's unique among all the active configurations ("Status": "ACTIVE") that share the same ObservabilityConfigurationName.
  1360. */
  1361. ObservabilityConfigurationRevision?: Integer;
  1362. }
  1363. export type ObservabilityConfigurationSummaryList = ObservabilityConfigurationSummary[];
  1364. export type OperationStatus = "PENDING"|"IN_PROGRESS"|"FAILED"|"SUCCEEDED"|"ROLLBACK_IN_PROGRESS"|"ROLLBACK_FAILED"|"ROLLBACK_SUCCEEDED"|string;
  1365. export interface OperationSummary {
  1366. /**
  1367. * A unique ID of this operation. It's unique in the scope of the App Runner service.
  1368. */
  1369. Id?: UUID;
  1370. /**
  1371. * The type of operation. It indicates a specific action that occured.
  1372. */
  1373. Type?: OperationType;
  1374. /**
  1375. * The current state of the operation.
  1376. */
  1377. Status?: OperationStatus;
  1378. /**
  1379. * The Amazon Resource Name (ARN) of the resource that the operation acted on (for example, an App Runner service).
  1380. */
  1381. TargetArn?: AppRunnerResourceArn;
  1382. /**
  1383. * The time when the operation started. It's in the Unix time stamp format.
  1384. */
  1385. StartedAt?: Timestamp;
  1386. /**
  1387. * The time when the operation ended. It's in the Unix time stamp format.
  1388. */
  1389. EndedAt?: Timestamp;
  1390. /**
  1391. * The time when the operation was last updated. It's in the Unix time stamp format.
  1392. */
  1393. UpdatedAt?: Timestamp;
  1394. }
  1395. export type OperationSummaryList = OperationSummary[];
  1396. export type OperationType = "START_DEPLOYMENT"|"CREATE_SERVICE"|"PAUSE_SERVICE"|"RESUME_SERVICE"|"DELETE_SERVICE"|"UPDATE_SERVICE"|string;
  1397. export interface PauseServiceRequest {
  1398. /**
  1399. * The Amazon Resource Name (ARN) of the App Runner service that you want to pause.
  1400. */
  1401. ServiceArn: AppRunnerResourceArn;
  1402. }
  1403. export interface PauseServiceResponse {
  1404. /**
  1405. * A description of the App Runner service that this request just paused.
  1406. */
  1407. Service: Service;
  1408. /**
  1409. * The unique ID of the asynchronous operation that this request started. You can use it combined with the ListOperations call to track the operation's progress.
  1410. */
  1411. OperationId?: UUID;
  1412. }
  1413. export type ProviderType = "GITHUB"|"BITBUCKET"|string;
  1414. export interface ResumeServiceRequest {
  1415. /**
  1416. * The Amazon Resource Name (ARN) of the App Runner service that you want to resume.
  1417. */
  1418. ServiceArn: AppRunnerResourceArn;
  1419. }
  1420. export interface ResumeServiceResponse {
  1421. /**
  1422. * A description of the App Runner service that this request just resumed.
  1423. */
  1424. Service: Service;
  1425. /**
  1426. * The unique ID of the asynchronous operation that this request started. You can use it combined with the ListOperations call to track the operation's progress.
  1427. */
  1428. OperationId?: UUID;
  1429. }
  1430. export type RoleArn = string;
  1431. export type Runtime = "PYTHON_3"|"NODEJS_12"|"NODEJS_14"|"CORRETTO_8"|"CORRETTO_11"|"NODEJS_16"|"GO_1"|"DOTNET_6"|"PHP_81"|"RUBY_31"|"PYTHON_311"|"NODEJS_18"|string;
  1432. export type RuntimeEnvironmentSecrets = {[key: string]: RuntimeEnvironmentSecretsValue};
  1433. export type RuntimeEnvironmentSecretsName = string;
  1434. export type RuntimeEnvironmentSecretsValue = string;
  1435. export type RuntimeEnvironmentVariables = {[key: string]: RuntimeEnvironmentVariablesValue};
  1436. export type RuntimeEnvironmentVariablesKey = string;
  1437. export type RuntimeEnvironmentVariablesValue = string;
  1438. export interface Service {
  1439. /**
  1440. * The customer-provided service name.
  1441. */
  1442. ServiceName: ServiceName;
  1443. /**
  1444. * An ID that App Runner generated for this service. It's unique within the Amazon Web Services Region.
  1445. */
  1446. ServiceId: ServiceId;
  1447. /**
  1448. * The Amazon Resource Name (ARN) of this service.
  1449. */
  1450. ServiceArn: AppRunnerResourceArn;
  1451. /**
  1452. * A subdomain URL that App Runner generated for this service. You can use this URL to access your service web application.
  1453. */
  1454. ServiceUrl?: String;
  1455. /**
  1456. * The time when the App Runner service was created. It's in the Unix time stamp format.
  1457. */
  1458. CreatedAt: Timestamp;
  1459. /**
  1460. * The time when the App Runner service was last updated at. It's in the Unix time stamp format.
  1461. */
  1462. UpdatedAt: Timestamp;
  1463. /**
  1464. * The time when the App Runner service was deleted. It's in the Unix time stamp format.
  1465. */
  1466. DeletedAt?: Timestamp;
  1467. /**
  1468. * The current state of the App Runner service. These particular values mean the following. CREATE_FAILED – The service failed to create. The failed service isn't usable, and still counts towards your service quota. To troubleshoot this failure, read the failure events and logs, change any parameters that need to be fixed, and rebuild your service using UpdateService. DELETE_FAILED – The service failed to delete and can't be successfully recovered. Retry the service deletion call to ensure that all related resources are removed.
  1469. */
  1470. Status: ServiceStatus;
  1471. /**
  1472. * The source deployed to the App Runner service. It can be a code or an image repository.
  1473. */
  1474. SourceConfiguration: SourceConfiguration;
  1475. /**
  1476. * The runtime configuration of instances (scaling units) of this service.
  1477. */
  1478. InstanceConfiguration: InstanceConfiguration;
  1479. /**
  1480. * The encryption key that App Runner uses to encrypt the service logs and the copy of the source repository that App Runner maintains for the service. It can be either a customer-provided encryption key or an Amazon Web Services managed key.
  1481. */
  1482. EncryptionConfiguration?: EncryptionConfiguration;
  1483. /**
  1484. * The settings for the health check that App Runner performs to monitor the health of this service.
  1485. */
  1486. HealthCheckConfiguration?: HealthCheckConfiguration;
  1487. /**
  1488. * Summary information for the App Runner automatic scaling configuration resource that's associated with this service.
  1489. */
  1490. AutoScalingConfigurationSummary: AutoScalingConfigurationSummary;
  1491. /**
  1492. * Configuration settings related to network traffic of the web application that this service runs.
  1493. */
  1494. NetworkConfiguration: NetworkConfiguration;
  1495. /**
  1496. * The observability configuration of this service.
  1497. */
  1498. ObservabilityConfiguration?: ServiceObservabilityConfiguration;
  1499. }
  1500. export type ServiceArnList = AppRunnerResourceArn[];
  1501. export type ServiceId = string;
  1502. export type ServiceMaxResults = number;
  1503. export type ServiceName = string;
  1504. export interface ServiceObservabilityConfiguration {
  1505. /**
  1506. * When true, an observability configuration resource is associated with the service, and an ObservabilityConfigurationArn is specified.
  1507. */
  1508. ObservabilityEnabled: Boolean;
  1509. /**
  1510. * The Amazon Resource Name (ARN) of the observability configuration that is associated with the service. Specified only when ObservabilityEnabled is true. Specify an ARN with a name and a revision number to associate that revision. For example: arn:aws:apprunner:us-east-1:123456789012:observabilityconfiguration/xray-tracing/3 Specify just the name to associate the latest revision. For example: arn:aws:apprunner:us-east-1:123456789012:observabilityconfiguration/xray-tracing
  1511. */
  1512. ObservabilityConfigurationArn?: AppRunnerResourceArn;
  1513. }
  1514. export type ServiceStatus = "CREATE_FAILED"|"RUNNING"|"DELETED"|"DELETE_FAILED"|"PAUSED"|"OPERATION_IN_PROGRESS"|string;
  1515. export interface ServiceSummary {
  1516. /**
  1517. * The customer-provided service name.
  1518. */
  1519. ServiceName?: ServiceName;
  1520. /**
  1521. * An ID that App Runner generated for this service. It's unique within the Amazon Web Services Region.
  1522. */
  1523. ServiceId?: ServiceId;
  1524. /**
  1525. * The Amazon Resource Name (ARN) of this service.
  1526. */
  1527. ServiceArn?: AppRunnerResourceArn;
  1528. /**
  1529. * A subdomain URL that App Runner generated for this service. You can use this URL to access your service web application.
  1530. */
  1531. ServiceUrl?: String;
  1532. /**
  1533. * The time when the App Runner service was created. It's in the Unix time stamp format.
  1534. */
  1535. CreatedAt?: Timestamp;
  1536. /**
  1537. * The time when the App Runner service was last updated. It's in theUnix time stamp format.
  1538. */
  1539. UpdatedAt?: Timestamp;
  1540. /**
  1541. * The current state of the App Runner service. These particular values mean the following. CREATE_FAILED – The service failed to create. The failed service isn't usable, and still counts towards your service quota. To troubleshoot this failure, read the failure events and logs, change any parameters that need to be fixed, and rebuild your service using UpdateService. DELETE_FAILED – The service failed to delete and can't be successfully recovered. Retry the service deletion call to ensure that all related resources are removed.
  1542. */
  1543. Status?: ServiceStatus;
  1544. }
  1545. export type ServiceSummaryList = ServiceSummary[];
  1546. export interface SourceCodeVersion {
  1547. /**
  1548. * The type of version identifier. For a git-based repository, branches represent versions.
  1549. */
  1550. Type: SourceCodeVersionType;
  1551. /**
  1552. * A source code version. For a git-based repository, a branch name maps to a specific version. App Runner uses the most recent commit to the branch.
  1553. */
  1554. Value: String;
  1555. }
  1556. export type SourceCodeVersionType = "BRANCH"|string;
  1557. export interface SourceConfiguration {
  1558. /**
  1559. * The description of a source code repository. You must provide either this member or ImageRepository (but not both).
  1560. */
  1561. CodeRepository?: CodeRepository;
  1562. /**
  1563. * The description of a source image repository. You must provide either this member or CodeRepository (but not both).
  1564. */
  1565. ImageRepository?: ImageRepository;
  1566. /**
  1567. * If true, continuous integration from the source repository is enabled for the App Runner service. Each repository change (including any source code commit or new image version) starts a deployment. Default: App Runner sets to false for a source image that uses an ECR Public repository or an ECR repository that's in an Amazon Web Services account other than the one that the service is in. App Runner sets to true in all other cases (which currently include a source code repository or a source image using a same-account ECR repository).
  1568. */
  1569. AutoDeploymentsEnabled?: NullableBoolean;
  1570. /**
  1571. * Describes the resources that are needed to authenticate access to some source repositories.
  1572. */
  1573. AuthenticationConfiguration?: AuthenticationConfiguration;
  1574. }
  1575. export type SourceDirectory = string;
  1576. export type StartCommand = string;
  1577. export interface StartDeploymentRequest {
  1578. /**
  1579. * The Amazon Resource Name (ARN) of the App Runner service that you want to manually deploy to.
  1580. */
  1581. ServiceArn: AppRunnerResourceArn;
  1582. }
  1583. export interface StartDeploymentResponse {
  1584. /**
  1585. * The unique ID of the asynchronous operation that this request started. You can use it combined with the ListOperations call to track the operation's progress.
  1586. */
  1587. OperationId: UUID;
  1588. }
  1589. export type String = string;
  1590. export type StringList = String[];
  1591. export interface Tag {
  1592. /**
  1593. * The key of the tag.
  1594. */
  1595. Key?: TagKey;
  1596. /**
  1597. * The value of the tag.
  1598. */
  1599. Value?: TagValue;
  1600. }
  1601. export type TagKey = string;
  1602. export type TagKeyList = TagKey[];
  1603. export type TagList = Tag[];
  1604. export interface TagResourceRequest {
  1605. /**
  1606. * The Amazon Resource Name (ARN) of the resource that you want to update tags for. It must be the ARN of an App Runner resource.
  1607. */
  1608. ResourceArn: AppRunnerResourceArn;
  1609. /**
  1610. * A list of tag key-value pairs to add or update. If a key is new to the resource, the tag is added with the provided value. If a key is already associated with the resource, the value of the tag is updated.
  1611. */
  1612. Tags: TagList;
  1613. }
  1614. export interface TagResourceResponse {
  1615. }
  1616. export type TagValue = string;
  1617. export type Timestamp = Date;
  1618. export interface TraceConfiguration {
  1619. /**
  1620. * The implementation provider chosen for tracing App Runner services.
  1621. */
  1622. Vendor: TracingVendor;
  1623. }
  1624. export type TracingVendor = "AWSXRAY"|string;
  1625. export type UUID = string;
  1626. export interface UntagResourceRequest {
  1627. /**
  1628. * The Amazon Resource Name (ARN) of the resource that you want to remove tags from. It must be the ARN of an App Runner resource.
  1629. */
  1630. ResourceArn: AppRunnerResourceArn;
  1631. /**
  1632. * A list of tag keys that you want to remove.
  1633. */
  1634. TagKeys: TagKeyList;
  1635. }
  1636. export interface UntagResourceResponse {
  1637. }
  1638. export interface UpdateDefaultAutoScalingConfigurationRequest {
  1639. /**
  1640. * The Amazon Resource Name (ARN) of the App Runner auto scaling configuration that you want to set as the default. The ARN can be a full auto scaling configuration ARN, or a partial ARN ending with either .../name or .../name/revision . If a revision isn't specified, the latest active revision is set as the default.
  1641. */
  1642. AutoScalingConfigurationArn: AppRunnerResourceArn;
  1643. }
  1644. export interface UpdateDefaultAutoScalingConfigurationResponse {
  1645. /**
  1646. * A description of the App Runner auto scaling configuration that was set as default.
  1647. */
  1648. AutoScalingConfiguration: AutoScalingConfiguration;
  1649. }
  1650. export interface UpdateServiceRequest {
  1651. /**
  1652. * The Amazon Resource Name (ARN) of the App Runner service that you want to update.
  1653. */
  1654. ServiceArn: AppRunnerResourceArn;
  1655. /**
  1656. * The source configuration to apply to the App Runner service. You can change the configuration of the code or image repository that the service uses. However, you can't switch from code to image or the other way around. This means that you must provide the same structure member of SourceConfiguration that you originally included when you created the service. Specifically, you can include either CodeRepository or ImageRepository. To update the source configuration, set the values to members of the structure that you include.
  1657. */
  1658. SourceConfiguration?: SourceConfiguration;
  1659. /**
  1660. * The runtime configuration to apply to instances (scaling units) of your service.
  1661. */
  1662. InstanceConfiguration?: InstanceConfiguration;
  1663. /**
  1664. * The Amazon Resource Name (ARN) of an App Runner automatic scaling configuration resource that you want to associate with the App Runner service.
  1665. */
  1666. AutoScalingConfigurationArn?: AppRunnerResourceArn;
  1667. /**
  1668. * The settings for the health check that App Runner performs to monitor the health of the App Runner service.
  1669. */
  1670. HealthCheckConfiguration?: HealthCheckConfiguration;
  1671. /**
  1672. * Configuration settings related to network traffic of the web application that the App Runner service runs.
  1673. */
  1674. NetworkConfiguration?: NetworkConfiguration;
  1675. /**
  1676. * The observability configuration of your service.
  1677. */
  1678. ObservabilityConfiguration?: ServiceObservabilityConfiguration;
  1679. }
  1680. export interface UpdateServiceResponse {
  1681. /**
  1682. * A description of the App Runner service updated by this request. All configuration values in the returned Service structure reflect configuration changes that are being applied by this request.
  1683. */
  1684. Service: Service;
  1685. /**
  1686. * The unique ID of the asynchronous operation that this request started. You can use it combined with the ListOperations call to track the operation's progress.
  1687. */
  1688. OperationId: UUID;
  1689. }
  1690. export interface UpdateVpcIngressConnectionRequest {
  1691. /**
  1692. * The Amazon Resource Name (Arn) for the App Runner VPC Ingress Connection resource that you want to update.
  1693. */
  1694. VpcIngressConnectionArn: AppRunnerResourceArn;
  1695. /**
  1696. * Specifications for the customer’s Amazon VPC and the related Amazon Web Services PrivateLink VPC endpoint that are used to update the VPC Ingress Connection resource.
  1697. */
  1698. IngressVpcConfiguration: IngressVpcConfiguration;
  1699. }
  1700. export interface UpdateVpcIngressConnectionResponse {
  1701. /**
  1702. * A description of the App Runner VPC Ingress Connection resource that's updated by this request.
  1703. */
  1704. VpcIngressConnection: VpcIngressConnection;
  1705. }
  1706. export interface VpcConnector {
  1707. /**
  1708. * The customer-provided VPC connector name.
  1709. */
  1710. VpcConnectorName?: VpcConnectorName;
  1711. /**
  1712. * The Amazon Resource Name (ARN) of this VPC connector.
  1713. */
  1714. VpcConnectorArn?: AppRunnerResourceArn;
  1715. /**
  1716. * The revision of this VPC connector. It's unique among all the active connectors ("Status": "ACTIVE") that share the same Name. At this time, App Runner supports only one revision per name.
  1717. */
  1718. VpcConnectorRevision?: Integer;
  1719. /**
  1720. * A list of IDs of subnets that App Runner uses for your service. All IDs are of subnets of a single Amazon VPC.
  1721. */
  1722. Subnets?: StringList;
  1723. /**
  1724. * A list of IDs of security groups that App Runner uses for access to Amazon Web Services resources under the specified subnets. If not specified, App Runner uses the default security group of the Amazon VPC. The default security group allows all outbound traffic.
  1725. */
  1726. SecurityGroups?: StringList;
  1727. /**
  1728. * The current state of the VPC connector. If the status of a connector revision is INACTIVE, it was deleted and can't be used. Inactive connector revisions are permanently removed some time after they are deleted.
  1729. */
  1730. Status?: VpcConnectorStatus;
  1731. /**
  1732. * The time when the VPC connector was created. It's in Unix time stamp format.
  1733. */
  1734. CreatedAt?: Timestamp;
  1735. /**
  1736. * The time when the VPC connector was deleted. It's in Unix time stamp format.
  1737. */
  1738. DeletedAt?: Timestamp;
  1739. }
  1740. export type VpcConnectorName = string;
  1741. export type VpcConnectorStatus = "ACTIVE"|"INACTIVE"|string;
  1742. export type VpcConnectors = VpcConnector[];
  1743. export interface VpcDNSTarget {
  1744. /**
  1745. * The Amazon Resource Name (ARN) of the VPC Ingress Connection that is associated with your service.
  1746. */
  1747. VpcIngressConnectionArn?: AppRunnerResourceArn;
  1748. /**
  1749. * The ID of the Amazon VPC that is associated with the custom domain name of the target DNS.
  1750. */
  1751. VpcId?: String;
  1752. /**
  1753. * The domain name of your target DNS that is associated with the Amazon VPC.
  1754. */
  1755. DomainName?: DomainName;
  1756. }
  1757. export type VpcDNSTargetList = VpcDNSTarget[];
  1758. export interface VpcIngressConnection {
  1759. /**
  1760. * The Amazon Resource Name (ARN) of the VPC Ingress Connection.
  1761. */
  1762. VpcIngressConnectionArn?: AppRunnerResourceArn;
  1763. /**
  1764. * The customer-provided VPC Ingress Connection name.
  1765. */
  1766. VpcIngressConnectionName?: VpcIngressConnectionName;
  1767. /**
  1768. * The Amazon Resource Name (ARN) of the service associated with the VPC Ingress Connection.
  1769. */
  1770. ServiceArn?: AppRunnerResourceArn;
  1771. /**
  1772. * The current status of the VPC Ingress Connection. The VPC Ingress Connection displays one of the following statuses: AVAILABLE, PENDING_CREATION, PENDING_UPDATE, PENDING_DELETION,FAILED_CREATION, FAILED_UPDATE, FAILED_DELETION, and DELETED..
  1773. */
  1774. Status?: VpcIngressConnectionStatus;
  1775. /**
  1776. * The Account Id you use to create the VPC Ingress Connection resource.
  1777. */
  1778. AccountId?: CustomerAccountId;
  1779. /**
  1780. * The domain name associated with the VPC Ingress Connection resource.
  1781. */
  1782. DomainName?: DomainName;
  1783. /**
  1784. * Specifications for the customer’s VPC and related PrivateLink VPC endpoint that are used to associate with the VPC Ingress Connection resource.
  1785. */
  1786. IngressVpcConfiguration?: IngressVpcConfiguration;
  1787. /**
  1788. * The time when the VPC Ingress Connection was created. It's in the Unix time stamp format. Type: Timestamp Required: Yes
  1789. */
  1790. CreatedAt?: Timestamp;
  1791. /**
  1792. * The time when the App Runner service was deleted. It's in the Unix time stamp format. Type: Timestamp Required: No
  1793. */
  1794. DeletedAt?: Timestamp;
  1795. }
  1796. export type VpcIngressConnectionName = string;
  1797. export type VpcIngressConnectionStatus = "AVAILABLE"|"PENDING_CREATION"|"PENDING_UPDATE"|"PENDING_DELETION"|"FAILED_CREATION"|"FAILED_UPDATE"|"FAILED_DELETION"|"DELETED"|string;
  1798. export interface VpcIngressConnectionSummary {
  1799. /**
  1800. * The Amazon Resource Name (ARN) of the VPC Ingress Connection.
  1801. */
  1802. VpcIngressConnectionArn?: AppRunnerResourceArn;
  1803. /**
  1804. * The Amazon Resource Name (ARN) of the service associated with the VPC Ingress Connection.
  1805. */
  1806. ServiceArn?: AppRunnerResourceArn;
  1807. }
  1808. export type VpcIngressConnectionSummaryList = VpcIngressConnectionSummary[];
  1809. /**
  1810. * 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.
  1811. */
  1812. export type apiVersion = "2020-05-15"|"latest"|string;
  1813. export interface ClientApiVersions {
  1814. /**
  1815. * 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.
  1816. */
  1817. apiVersion?: apiVersion;
  1818. }
  1819. export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
  1820. /**
  1821. * Contains interfaces for use with the AppRunner client.
  1822. */
  1823. export import Types = AppRunner;
  1824. }
  1825. export = AppRunner;