aws-sdk-apprunner 1.7.0 → 1.32.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +127 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-apprunner/client.rb +1147 -55
- data/lib/aws-sdk-apprunner/client_api.rb +483 -7
- data/lib/aws-sdk-apprunner/endpoint_parameters.rb +66 -0
- data/lib/aws-sdk-apprunner/endpoint_provider.rb +54 -0
- data/lib/aws-sdk-apprunner/endpoints.rb +534 -0
- data/lib/aws-sdk-apprunner/plugins/endpoints.rb +142 -0
- data/lib/aws-sdk-apprunner/types.rb +1303 -508
- data/lib/aws-sdk-apprunner.rb +5 -1
- metadata +8 -4
@@ -10,15 +10,6 @@
|
|
10
10
|
module Aws::AppRunner
|
11
11
|
module Types
|
12
12
|
|
13
|
-
# @note When making an API call, you may pass AssociateCustomDomainRequest
|
14
|
-
# data as a hash:
|
15
|
-
#
|
16
|
-
# {
|
17
|
-
# service_arn: "AppRunnerResourceArn", # required
|
18
|
-
# domain_name: "DomainName", # required
|
19
|
-
# enable_www_subdomain: false,
|
20
|
-
# }
|
21
|
-
#
|
22
13
|
# @!attribute [rw] service_arn
|
23
14
|
# The Amazon Resource Name (ARN) of the App Runner service that you
|
24
15
|
# want to associate a custom domain name with.
|
@@ -62,12 +53,17 @@ module Aws::AppRunner
|
|
62
53
|
# A description of the domain name that's being associated.
|
63
54
|
# @return [Types::CustomDomain]
|
64
55
|
#
|
56
|
+
# @!attribute [rw] vpc_dns_targets
|
57
|
+
# DNS Target records for the custom domains of this Amazon VPC.
|
58
|
+
# @return [Array<Types::VpcDNSTarget>]
|
59
|
+
#
|
65
60
|
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/AssociateCustomDomainResponse AWS API Documentation
|
66
61
|
#
|
67
62
|
class AssociateCustomDomainResponse < Struct.new(
|
68
63
|
:dns_target,
|
69
64
|
:service_arn,
|
70
|
-
:custom_domain
|
65
|
+
:custom_domain,
|
66
|
+
:vpc_dns_targets)
|
71
67
|
SENSITIVE = []
|
72
68
|
include Aws::Structure
|
73
69
|
end
|
@@ -76,14 +72,6 @@ module Aws::AppRunner
|
|
76
72
|
# repositories. The specific resource depends on the repository
|
77
73
|
# provider.
|
78
74
|
#
|
79
|
-
# @note When making an API call, you may pass AuthenticationConfiguration
|
80
|
-
# data as a hash:
|
81
|
-
#
|
82
|
-
# {
|
83
|
-
# connection_arn: "AppRunnerResourceArn",
|
84
|
-
# access_role_arn: "RoleArn",
|
85
|
-
# }
|
86
|
-
#
|
87
75
|
# @!attribute [rw] connection_arn
|
88
76
|
# The Amazon Resource Name (ARN) of the App Runner connection that
|
89
77
|
# enables the App Runner service to connect to a source repository.
|
@@ -106,9 +94,6 @@ module Aws::AppRunner
|
|
106
94
|
end
|
107
95
|
|
108
96
|
# Describes an App Runner automatic scaling configuration resource.
|
109
|
-
# Multiple revisions of a configuration have the same
|
110
|
-
# `AutoScalingConfigurationName` and different
|
111
|
-
# `AutoScalingConfigurationRevision` values.
|
112
97
|
#
|
113
98
|
# A higher `MinSize` increases the spread of your App Runner service
|
114
99
|
# over more Availability Zones in the Amazon Web Services Region. The
|
@@ -117,6 +102,10 @@ module Aws::AppRunner
|
|
117
102
|
# A lower `MaxSize` controls your cost. The tradeoff is lower
|
118
103
|
# responsiveness during peak demand.
|
119
104
|
#
|
105
|
+
# Multiple revisions of a configuration might have the same
|
106
|
+
# `AutoScalingConfigurationName` and different
|
107
|
+
# `AutoScalingConfigurationRevision` values.
|
108
|
+
#
|
120
109
|
# @!attribute [rw] auto_scaling_configuration_arn
|
121
110
|
# The Amazon Resource Name (ARN) of this auto scaling configuration.
|
122
111
|
# @return [String]
|
@@ -134,8 +123,8 @@ module Aws::AppRunner
|
|
134
123
|
#
|
135
124
|
# @!attribute [rw] latest
|
136
125
|
# It's set to `true` for the configuration with the highest
|
137
|
-
# `Revision` among all configurations that share the same
|
138
|
-
# It's set to `false` otherwise.
|
126
|
+
# `Revision` among all configurations that share the same
|
127
|
+
# `AutoScalingConfigurationName`. It's set to `false` otherwise.
|
139
128
|
# @return [Boolean]
|
140
129
|
#
|
141
130
|
# @!attribute [rw] status
|
@@ -180,6 +169,22 @@ module Aws::AppRunner
|
|
180
169
|
# Unix time stamp format.
|
181
170
|
# @return [Time]
|
182
171
|
#
|
172
|
+
# @!attribute [rw] has_associated_service
|
173
|
+
# Indicates if this auto scaling configuration has an App Runner
|
174
|
+
# service associated with it. A value of `true` indicates one or more
|
175
|
+
# services are associated. A value of `false` indicates no services
|
176
|
+
# are associated.
|
177
|
+
# @return [Boolean]
|
178
|
+
#
|
179
|
+
# @!attribute [rw] is_default
|
180
|
+
# Indicates if this auto scaling configuration should be used as the
|
181
|
+
# default for a new App Runner service that does not have an auto
|
182
|
+
# scaling configuration ARN specified during creation. Each account
|
183
|
+
# can have only one default `AutoScalingConfiguration` per region. The
|
184
|
+
# default `AutoScalingConfiguration` can be any revision under the
|
185
|
+
# same `AutoScalingConfigurationName`.
|
186
|
+
# @return [Boolean]
|
187
|
+
#
|
183
188
|
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/AutoScalingConfiguration AWS API Documentation
|
184
189
|
#
|
185
190
|
class AutoScalingConfiguration < Struct.new(
|
@@ -192,7 +197,9 @@ module Aws::AppRunner
|
|
192
197
|
:min_size,
|
193
198
|
:max_size,
|
194
199
|
:created_at,
|
195
|
-
:deleted_at
|
200
|
+
:deleted_at,
|
201
|
+
:has_associated_service,
|
202
|
+
:is_default)
|
196
203
|
SENSITIVE = []
|
197
204
|
include Aws::Structure
|
198
205
|
end
|
@@ -223,12 +230,44 @@ module Aws::AppRunner
|
|
223
230
|
# `AutoScalingConfigurationName`.
|
224
231
|
# @return [Integer]
|
225
232
|
#
|
233
|
+
# @!attribute [rw] status
|
234
|
+
# The current state of the auto scaling configuration. If the status
|
235
|
+
# of a configuration revision is `INACTIVE`, it was deleted and can't
|
236
|
+
# be used. Inactive configuration revisions are permanently removed
|
237
|
+
# some time after they are deleted.
|
238
|
+
# @return [String]
|
239
|
+
#
|
240
|
+
# @!attribute [rw] created_at
|
241
|
+
# The time when the auto scaling configuration was created. It's in
|
242
|
+
# Unix time stamp format.
|
243
|
+
# @return [Time]
|
244
|
+
#
|
245
|
+
# @!attribute [rw] has_associated_service
|
246
|
+
# Indicates if this auto scaling configuration has an App Runner
|
247
|
+
# service associated with it. A value of `true` indicates one or more
|
248
|
+
# services are associated. A value of `false` indicates no services
|
249
|
+
# are associated.
|
250
|
+
# @return [Boolean]
|
251
|
+
#
|
252
|
+
# @!attribute [rw] is_default
|
253
|
+
# Indicates if this auto scaling configuration should be used as the
|
254
|
+
# default for a new App Runner service that does not have an auto
|
255
|
+
# scaling configuration ARN specified during creation. Each account
|
256
|
+
# can have only one default `AutoScalingConfiguration` per region. The
|
257
|
+
# default `AutoScalingConfiguration` can be any revision under the
|
258
|
+
# same `AutoScalingConfigurationName`.
|
259
|
+
# @return [Boolean]
|
260
|
+
#
|
226
261
|
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/AutoScalingConfigurationSummary AWS API Documentation
|
227
262
|
#
|
228
263
|
class AutoScalingConfigurationSummary < Struct.new(
|
229
264
|
:auto_scaling_configuration_arn,
|
230
265
|
:auto_scaling_configuration_name,
|
231
|
-
:auto_scaling_configuration_revision
|
266
|
+
:auto_scaling_configuration_revision,
|
267
|
+
:status,
|
268
|
+
:created_at,
|
269
|
+
:has_associated_service,
|
270
|
+
:is_default)
|
232
271
|
SENSITIVE = []
|
233
272
|
include Aws::Structure
|
234
273
|
end
|
@@ -272,22 +311,6 @@ module Aws::AppRunner
|
|
272
311
|
# Describes the configuration that App Runner uses to build and run an
|
273
312
|
# App Runner service from a source code repository.
|
274
313
|
#
|
275
|
-
# @note When making an API call, you may pass CodeConfiguration
|
276
|
-
# data as a hash:
|
277
|
-
#
|
278
|
-
# {
|
279
|
-
# configuration_source: "REPOSITORY", # required, accepts REPOSITORY, API
|
280
|
-
# code_configuration_values: {
|
281
|
-
# runtime: "PYTHON_3", # required, accepts PYTHON_3, NODEJS_12
|
282
|
-
# build_command: "BuildCommand",
|
283
|
-
# start_command: "StartCommand",
|
284
|
-
# port: "String",
|
285
|
-
# runtime_environment_variables: {
|
286
|
-
# "RuntimeEnvironmentVariablesKey" => "RuntimeEnvironmentVariablesValue",
|
287
|
-
# },
|
288
|
-
# },
|
289
|
-
# }
|
290
|
-
#
|
291
314
|
# @!attribute [rw] configuration_source
|
292
315
|
# The source of the App Runner configuration. Values are interpreted
|
293
316
|
# as follows:
|
@@ -322,19 +345,6 @@ module Aws::AppRunner
|
|
322
345
|
# possible configuration options. Fur full configuration capabilities,
|
323
346
|
# use a `apprunner.yaml` file in the source code repository.
|
324
347
|
#
|
325
|
-
# @note When making an API call, you may pass CodeConfigurationValues
|
326
|
-
# data as a hash:
|
327
|
-
#
|
328
|
-
# {
|
329
|
-
# runtime: "PYTHON_3", # required, accepts PYTHON_3, NODEJS_12
|
330
|
-
# build_command: "BuildCommand",
|
331
|
-
# start_command: "StartCommand",
|
332
|
-
# port: "String",
|
333
|
-
# runtime_environment_variables: {
|
334
|
-
# "RuntimeEnvironmentVariablesKey" => "RuntimeEnvironmentVariablesValue",
|
335
|
-
# },
|
336
|
-
# }
|
337
|
-
#
|
338
348
|
# @!attribute [rw] runtime
|
339
349
|
# A runtime environment type for building and running an App Runner
|
340
350
|
# service. It represents a programming language runtime.
|
@@ -356,8 +366,26 @@ module Aws::AppRunner
|
|
356
366
|
#
|
357
367
|
# @!attribute [rw] runtime_environment_variables
|
358
368
|
# The environment variables that are available to your running App
|
359
|
-
# Runner service. An array of key-value pairs.
|
360
|
-
#
|
369
|
+
# Runner service. An array of key-value pairs.
|
370
|
+
# @return [Hash<String,String>]
|
371
|
+
#
|
372
|
+
# @!attribute [rw] runtime_environment_secrets
|
373
|
+
# An array of key-value pairs representing the secrets and parameters
|
374
|
+
# that get referenced to your service as an environment variable. The
|
375
|
+
# supported values are either the full Amazon Resource Name (ARN) of
|
376
|
+
# the Secrets Manager secret or the full ARN of the parameter in the
|
377
|
+
# Amazon Web Services Systems Manager Parameter Store.
|
378
|
+
#
|
379
|
+
# <note markdown="1"> * If the Amazon Web Services Systems Manager Parameter Store
|
380
|
+
# parameter exists in the same Amazon Web Services Region as the
|
381
|
+
# service that you're launching, you can use either the full ARN or
|
382
|
+
# name of the secret. If the parameter exists in a different Region,
|
383
|
+
# then the full ARN must be specified.
|
384
|
+
#
|
385
|
+
# * Currently, cross account referencing of Amazon Web Services
|
386
|
+
# Systems Manager Parameter Store parameter is not supported.
|
387
|
+
#
|
388
|
+
# </note>
|
361
389
|
# @return [Hash<String,String>]
|
362
390
|
#
|
363
391
|
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/CodeConfigurationValues AWS API Documentation
|
@@ -367,36 +395,14 @@ module Aws::AppRunner
|
|
367
395
|
:build_command,
|
368
396
|
:start_command,
|
369
397
|
:port,
|
370
|
-
:runtime_environment_variables
|
398
|
+
:runtime_environment_variables,
|
399
|
+
:runtime_environment_secrets)
|
371
400
|
SENSITIVE = [:build_command, :start_command]
|
372
401
|
include Aws::Structure
|
373
402
|
end
|
374
403
|
|
375
404
|
# Describes a source code repository.
|
376
405
|
#
|
377
|
-
# @note When making an API call, you may pass CodeRepository
|
378
|
-
# data as a hash:
|
379
|
-
#
|
380
|
-
# {
|
381
|
-
# repository_url: "String", # required
|
382
|
-
# source_code_version: { # required
|
383
|
-
# type: "BRANCH", # required, accepts BRANCH
|
384
|
-
# value: "String", # required
|
385
|
-
# },
|
386
|
-
# code_configuration: {
|
387
|
-
# configuration_source: "REPOSITORY", # required, accepts REPOSITORY, API
|
388
|
-
# code_configuration_values: {
|
389
|
-
# runtime: "PYTHON_3", # required, accepts PYTHON_3, NODEJS_12
|
390
|
-
# build_command: "BuildCommand",
|
391
|
-
# start_command: "StartCommand",
|
392
|
-
# port: "String",
|
393
|
-
# runtime_environment_variables: {
|
394
|
-
# "RuntimeEnvironmentVariablesKey" => "RuntimeEnvironmentVariablesValue",
|
395
|
-
# },
|
396
|
-
# },
|
397
|
-
# },
|
398
|
-
# }
|
399
|
-
#
|
400
406
|
# @!attribute [rw] repository_url
|
401
407
|
# The location of the repository that contains the source code.
|
402
408
|
# @return [String]
|
@@ -408,14 +414,26 @@ module Aws::AppRunner
|
|
408
414
|
# @!attribute [rw] code_configuration
|
409
415
|
# Configuration for building and running the service from a source
|
410
416
|
# code repository.
|
417
|
+
#
|
418
|
+
# <note markdown="1"> `CodeConfiguration` is required only for `CreateService` request.
|
419
|
+
#
|
420
|
+
# </note>
|
411
421
|
# @return [Types::CodeConfiguration]
|
412
422
|
#
|
423
|
+
# @!attribute [rw] source_directory
|
424
|
+
# The path of the directory that stores source code and configuration
|
425
|
+
# files. The build and start commands also execute from here. The path
|
426
|
+
# is absolute from root and, if not specified, defaults to the
|
427
|
+
# repository root.
|
428
|
+
# @return [String]
|
429
|
+
#
|
413
430
|
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/CodeRepository AWS API Documentation
|
414
431
|
#
|
415
432
|
class CodeRepository < Struct.new(
|
416
433
|
:repository_url,
|
417
434
|
:source_code_version,
|
418
|
-
:code_configuration
|
435
|
+
:code_configuration,
|
436
|
+
:source_directory)
|
419
437
|
SENSITIVE = []
|
420
438
|
include Aws::Structure
|
421
439
|
end
|
@@ -494,28 +512,39 @@ module Aws::AppRunner
|
|
494
512
|
include Aws::Structure
|
495
513
|
end
|
496
514
|
|
497
|
-
# @note When making an API call, you may pass CreateAutoScalingConfigurationRequest
|
498
|
-
# data as a hash:
|
499
|
-
#
|
500
|
-
# {
|
501
|
-
# auto_scaling_configuration_name: "AutoScalingConfigurationName", # required
|
502
|
-
# max_concurrency: 1,
|
503
|
-
# min_size: 1,
|
504
|
-
# max_size: 1,
|
505
|
-
# tags: [
|
506
|
-
# {
|
507
|
-
# key: "TagKey",
|
508
|
-
# value: "TagValue",
|
509
|
-
# },
|
510
|
-
# ],
|
511
|
-
# }
|
512
|
-
#
|
513
515
|
# @!attribute [rw] auto_scaling_configuration_name
|
514
516
|
# A name for the auto scaling configuration. When you use it for the
|
515
517
|
# first time in an Amazon Web Services Region, App Runner creates
|
516
518
|
# revision number `1` of this name. When you use the same name in
|
517
519
|
# subsequent calls, App Runner creates incremental revisions of the
|
518
520
|
# configuration.
|
521
|
+
#
|
522
|
+
# <note markdown="1"> Prior to the release of [Auto scale configuration enhancements][1],
|
523
|
+
# the name `DefaultConfiguration` was reserved.
|
524
|
+
#
|
525
|
+
# This restriction is no longer in place. You can now manage
|
526
|
+
# `DefaultConfiguration` the same way you manage your custom auto
|
527
|
+
# scaling configurations. This means you can do the following with the
|
528
|
+
# `DefaultConfiguration` that App Runner provides:
|
529
|
+
#
|
530
|
+
# * Create new revisions of the `DefaultConfiguration`.
|
531
|
+
#
|
532
|
+
# * Delete the revisions of the `DefaultConfiguration`.
|
533
|
+
#
|
534
|
+
# * Delete the auto scaling configuration for which the App Runner
|
535
|
+
# `DefaultConfiguration` was created.
|
536
|
+
#
|
537
|
+
# * If you delete the auto scaling configuration you can create
|
538
|
+
# another custom auto scaling configuration with the same
|
539
|
+
# `DefaultConfiguration` name. The original `DefaultConfiguration`
|
540
|
+
# resource provided by App Runner remains in your account unless you
|
541
|
+
# make changes to it.
|
542
|
+
#
|
543
|
+
# </note>
|
544
|
+
#
|
545
|
+
#
|
546
|
+
#
|
547
|
+
# [1]: https://docs.aws.amazon.com/apprunner/latest/relnotes/release-2023-09-22-auto-scale-config.html
|
519
548
|
# @return [String]
|
520
549
|
#
|
521
550
|
# @!attribute [rw] max_concurrency
|
@@ -579,20 +608,6 @@ module Aws::AppRunner
|
|
579
608
|
include Aws::Structure
|
580
609
|
end
|
581
610
|
|
582
|
-
# @note When making an API call, you may pass CreateConnectionRequest
|
583
|
-
# data as a hash:
|
584
|
-
#
|
585
|
-
# {
|
586
|
-
# connection_name: "ConnectionName", # required
|
587
|
-
# provider_type: "GITHUB", # required, accepts GITHUB
|
588
|
-
# tags: [
|
589
|
-
# {
|
590
|
-
# key: "TagKey",
|
591
|
-
# value: "TagValue",
|
592
|
-
# },
|
593
|
-
# ],
|
594
|
-
# }
|
595
|
-
#
|
596
611
|
# @!attribute [rw] connection_name
|
597
612
|
# A name for the new connection. It must be unique across all App
|
598
613
|
# Runner connections for the Amazon Web Services account in the Amazon
|
@@ -631,77 +646,62 @@ module Aws::AppRunner
|
|
631
646
|
include Aws::Structure
|
632
647
|
end
|
633
648
|
|
634
|
-
#
|
635
|
-
#
|
636
|
-
#
|
637
|
-
#
|
638
|
-
#
|
639
|
-
#
|
640
|
-
#
|
641
|
-
#
|
642
|
-
#
|
643
|
-
#
|
644
|
-
#
|
645
|
-
#
|
646
|
-
#
|
647
|
-
#
|
648
|
-
#
|
649
|
-
#
|
650
|
-
#
|
651
|
-
#
|
652
|
-
#
|
653
|
-
#
|
654
|
-
#
|
655
|
-
#
|
656
|
-
#
|
657
|
-
#
|
658
|
-
#
|
659
|
-
#
|
660
|
-
#
|
661
|
-
#
|
662
|
-
#
|
663
|
-
#
|
664
|
-
#
|
665
|
-
|
666
|
-
|
667
|
-
|
668
|
-
|
669
|
-
|
670
|
-
|
671
|
-
|
672
|
-
|
673
|
-
#
|
674
|
-
#
|
675
|
-
#
|
676
|
-
#
|
677
|
-
#
|
678
|
-
#
|
679
|
-
# instance_role_arn: "RoleArn",
|
680
|
-
# },
|
681
|
-
# tags: [
|
682
|
-
# {
|
683
|
-
# key: "TagKey",
|
684
|
-
# value: "TagValue",
|
685
|
-
# },
|
686
|
-
# ],
|
687
|
-
# encryption_configuration: {
|
688
|
-
# kms_key: "KmsKeyArn", # required
|
689
|
-
# },
|
690
|
-
# health_check_configuration: {
|
691
|
-
# protocol: "TCP", # accepts TCP, HTTP
|
692
|
-
# path: "HealthCheckPath",
|
693
|
-
# interval: 1,
|
694
|
-
# timeout: 1,
|
695
|
-
# healthy_threshold: 1,
|
696
|
-
# unhealthy_threshold: 1,
|
697
|
-
# },
|
698
|
-
# auto_scaling_configuration_arn: "AppRunnerResourceArn",
|
699
|
-
# }
|
649
|
+
# @!attribute [rw] observability_configuration_name
|
650
|
+
# A name for the observability configuration. When you use it for the
|
651
|
+
# first time in an Amazon Web Services Region, App Runner creates
|
652
|
+
# revision number `1` of this name. When you use the same name in
|
653
|
+
# subsequent calls, App Runner creates incremental revisions of the
|
654
|
+
# configuration.
|
655
|
+
#
|
656
|
+
# <note markdown="1"> The name `DefaultConfiguration` is reserved. You can't use it to
|
657
|
+
# create a new observability configuration, and you can't create a
|
658
|
+
# revision of it.
|
659
|
+
#
|
660
|
+
# When you want to use your own observability configuration for your
|
661
|
+
# App Runner service, *create a configuration with a different name*,
|
662
|
+
# and then provide it when you create or update your service.
|
663
|
+
#
|
664
|
+
# </note>
|
665
|
+
# @return [String]
|
666
|
+
#
|
667
|
+
# @!attribute [rw] trace_configuration
|
668
|
+
# The configuration of the tracing feature within this observability
|
669
|
+
# configuration. If you don't specify it, App Runner doesn't enable
|
670
|
+
# tracing.
|
671
|
+
# @return [Types::TraceConfiguration]
|
672
|
+
#
|
673
|
+
# @!attribute [rw] tags
|
674
|
+
# A list of metadata items that you can associate with your
|
675
|
+
# observability configuration resource. A tag is a key-value pair.
|
676
|
+
# @return [Array<Types::Tag>]
|
677
|
+
#
|
678
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/CreateObservabilityConfigurationRequest AWS API Documentation
|
679
|
+
#
|
680
|
+
class CreateObservabilityConfigurationRequest < Struct.new(
|
681
|
+
:observability_configuration_name,
|
682
|
+
:trace_configuration,
|
683
|
+
:tags)
|
684
|
+
SENSITIVE = []
|
685
|
+
include Aws::Structure
|
686
|
+
end
|
687
|
+
|
688
|
+
# @!attribute [rw] observability_configuration
|
689
|
+
# A description of the App Runner observability configuration that's
|
690
|
+
# created by this request.
|
691
|
+
# @return [Types::ObservabilityConfiguration]
|
692
|
+
#
|
693
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/CreateObservabilityConfigurationResponse AWS API Documentation
|
700
694
|
#
|
695
|
+
class CreateObservabilityConfigurationResponse < Struct.new(
|
696
|
+
:observability_configuration)
|
697
|
+
SENSITIVE = []
|
698
|
+
include Aws::Structure
|
699
|
+
end
|
700
|
+
|
701
701
|
# @!attribute [rw] service_name
|
702
|
-
# A name for the
|
703
|
-
# App Runner services in your Amazon Web Services account in
|
704
|
-
# Amazon Web Services Region.
|
702
|
+
# A name for the App Runner service. It must be unique across all the
|
703
|
+
# running App Runner services in your Amazon Web Services account in
|
704
|
+
# the Amazon Web Services Region.
|
705
705
|
# @return [String]
|
706
706
|
#
|
707
707
|
# @!attribute [rw] source_configuration
|
@@ -710,25 +710,25 @@ module Aws::AppRunner
|
|
710
710
|
# @return [Types::SourceConfiguration]
|
711
711
|
#
|
712
712
|
# @!attribute [rw] instance_configuration
|
713
|
-
# The runtime configuration of instances (scaling units) of
|
714
|
-
#
|
713
|
+
# The runtime configuration of instances (scaling units) of your
|
714
|
+
# service.
|
715
715
|
# @return [Types::InstanceConfiguration]
|
716
716
|
#
|
717
717
|
# @!attribute [rw] tags
|
718
|
-
# An optional list of metadata items that you can associate with
|
719
|
-
# service resource. A tag is a key-value pair.
|
718
|
+
# An optional list of metadata items that you can associate with the
|
719
|
+
# App Runner service resource. A tag is a key-value pair.
|
720
720
|
# @return [Array<Types::Tag>]
|
721
721
|
#
|
722
722
|
# @!attribute [rw] encryption_configuration
|
723
723
|
# An optional custom encryption key that App Runner uses to encrypt
|
724
724
|
# the copy of your source repository that it maintains and your
|
725
725
|
# service logs. By default, App Runner uses an Amazon Web Services
|
726
|
-
# managed
|
726
|
+
# managed key.
|
727
727
|
# @return [Types::EncryptionConfiguration]
|
728
728
|
#
|
729
729
|
# @!attribute [rw] health_check_configuration
|
730
730
|
# The settings for the health check that App Runner performs to
|
731
|
-
# monitor the health of
|
731
|
+
# monitor the health of the App Runner service.
|
732
732
|
# @return [Types::HealthCheckConfiguration]
|
733
733
|
#
|
734
734
|
# @!attribute [rw] auto_scaling_configuration_arn
|
@@ -736,8 +736,24 @@ module Aws::AppRunner
|
|
736
736
|
# configuration resource that you want to associate with your service.
|
737
737
|
# If not provided, App Runner associates the latest revision of a
|
738
738
|
# default auto scaling configuration.
|
739
|
+
#
|
740
|
+
# Specify an ARN with a name and a revision number to associate that
|
741
|
+
# revision. For example:
|
742
|
+
# `arn:aws:apprunner:us-east-1:123456789012:autoscalingconfiguration/high-availability/3`
|
743
|
+
#
|
744
|
+
# Specify just the name to associate the latest revision. For example:
|
745
|
+
# `arn:aws:apprunner:us-east-1:123456789012:autoscalingconfiguration/high-availability`
|
739
746
|
# @return [String]
|
740
747
|
#
|
748
|
+
# @!attribute [rw] network_configuration
|
749
|
+
# Configuration settings related to network traffic of the web
|
750
|
+
# application that the App Runner service runs.
|
751
|
+
# @return [Types::NetworkConfiguration]
|
752
|
+
#
|
753
|
+
# @!attribute [rw] observability_configuration
|
754
|
+
# The observability configuration of your service.
|
755
|
+
# @return [Types::ServiceObservabilityConfiguration]
|
756
|
+
#
|
741
757
|
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/CreateServiceRequest AWS API Documentation
|
742
758
|
#
|
743
759
|
class CreateServiceRequest < Struct.new(
|
@@ -747,7 +763,9 @@ module Aws::AppRunner
|
|
747
763
|
:tags,
|
748
764
|
:encryption_configuration,
|
749
765
|
:health_check_configuration,
|
750
|
-
:auto_scaling_configuration_arn
|
766
|
+
:auto_scaling_configuration_arn,
|
767
|
+
:network_configuration,
|
768
|
+
:observability_configuration)
|
751
769
|
SENSITIVE = []
|
752
770
|
include Aws::Structure
|
753
771
|
end
|
@@ -776,6 +794,103 @@ module Aws::AppRunner
|
|
776
794
|
include Aws::Structure
|
777
795
|
end
|
778
796
|
|
797
|
+
# @!attribute [rw] vpc_connector_name
|
798
|
+
# A name for the VPC connector.
|
799
|
+
# @return [String]
|
800
|
+
#
|
801
|
+
# @!attribute [rw] subnets
|
802
|
+
# A list of IDs of subnets that App Runner should use when it
|
803
|
+
# associates your service with a custom Amazon VPC. Specify IDs of
|
804
|
+
# subnets of a single Amazon VPC. App Runner determines the Amazon VPC
|
805
|
+
# from the subnets you specify.
|
806
|
+
#
|
807
|
+
# <note markdown="1"> App Runner currently only provides support for IPv4.
|
808
|
+
#
|
809
|
+
# </note>
|
810
|
+
# @return [Array<String>]
|
811
|
+
#
|
812
|
+
# @!attribute [rw] security_groups
|
813
|
+
# A list of IDs of security groups that App Runner should use for
|
814
|
+
# access to Amazon Web Services resources under the specified subnets.
|
815
|
+
# If not specified, App Runner uses the default security group of the
|
816
|
+
# Amazon VPC. The default security group allows all outbound traffic.
|
817
|
+
# @return [Array<String>]
|
818
|
+
#
|
819
|
+
# @!attribute [rw] tags
|
820
|
+
# A list of metadata items that you can associate with your VPC
|
821
|
+
# connector resource. A tag is a key-value pair.
|
822
|
+
# @return [Array<Types::Tag>]
|
823
|
+
#
|
824
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/CreateVpcConnectorRequest AWS API Documentation
|
825
|
+
#
|
826
|
+
class CreateVpcConnectorRequest < Struct.new(
|
827
|
+
:vpc_connector_name,
|
828
|
+
:subnets,
|
829
|
+
:security_groups,
|
830
|
+
:tags)
|
831
|
+
SENSITIVE = []
|
832
|
+
include Aws::Structure
|
833
|
+
end
|
834
|
+
|
835
|
+
# @!attribute [rw] vpc_connector
|
836
|
+
# A description of the App Runner VPC connector that's created by
|
837
|
+
# this request.
|
838
|
+
# @return [Types::VpcConnector]
|
839
|
+
#
|
840
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/CreateVpcConnectorResponse AWS API Documentation
|
841
|
+
#
|
842
|
+
class CreateVpcConnectorResponse < Struct.new(
|
843
|
+
:vpc_connector)
|
844
|
+
SENSITIVE = []
|
845
|
+
include Aws::Structure
|
846
|
+
end
|
847
|
+
|
848
|
+
# @!attribute [rw] service_arn
|
849
|
+
# The Amazon Resource Name (ARN) for this App Runner service that is
|
850
|
+
# used to create the VPC Ingress Connection resource.
|
851
|
+
# @return [String]
|
852
|
+
#
|
853
|
+
# @!attribute [rw] vpc_ingress_connection_name
|
854
|
+
# A name for the VPC Ingress Connection resource. It must be unique
|
855
|
+
# across all the active VPC Ingress Connections in your Amazon Web
|
856
|
+
# Services account in the Amazon Web Services Region.
|
857
|
+
# @return [String]
|
858
|
+
#
|
859
|
+
# @!attribute [rw] ingress_vpc_configuration
|
860
|
+
# Specifications for the customer’s Amazon VPC and the related Amazon
|
861
|
+
# Web Services PrivateLink VPC endpoint that are used to create the
|
862
|
+
# VPC Ingress Connection resource.
|
863
|
+
# @return [Types::IngressVpcConfiguration]
|
864
|
+
#
|
865
|
+
# @!attribute [rw] tags
|
866
|
+
# An optional list of metadata items that you can associate with the
|
867
|
+
# VPC Ingress Connection resource. A tag is a key-value pair.
|
868
|
+
# @return [Array<Types::Tag>]
|
869
|
+
#
|
870
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/CreateVpcIngressConnectionRequest AWS API Documentation
|
871
|
+
#
|
872
|
+
class CreateVpcIngressConnectionRequest < Struct.new(
|
873
|
+
:service_arn,
|
874
|
+
:vpc_ingress_connection_name,
|
875
|
+
:ingress_vpc_configuration,
|
876
|
+
:tags)
|
877
|
+
SENSITIVE = []
|
878
|
+
include Aws::Structure
|
879
|
+
end
|
880
|
+
|
881
|
+
# @!attribute [rw] vpc_ingress_connection
|
882
|
+
# A description of the App Runner VPC Ingress Connection resource
|
883
|
+
# that's created by this request.
|
884
|
+
# @return [Types::VpcIngressConnection]
|
885
|
+
#
|
886
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/CreateVpcIngressConnectionResponse AWS API Documentation
|
887
|
+
#
|
888
|
+
class CreateVpcIngressConnectionResponse < Struct.new(
|
889
|
+
:vpc_ingress_connection)
|
890
|
+
SENSITIVE = []
|
891
|
+
include Aws::Structure
|
892
|
+
end
|
893
|
+
|
779
894
|
# Describes a custom domain that's associated with an App Runner
|
780
895
|
# service.
|
781
896
|
#
|
@@ -811,13 +926,6 @@ module Aws::AppRunner
|
|
811
926
|
include Aws::Structure
|
812
927
|
end
|
813
928
|
|
814
|
-
# @note When making an API call, you may pass DeleteAutoScalingConfigurationRequest
|
815
|
-
# data as a hash:
|
816
|
-
#
|
817
|
-
# {
|
818
|
-
# auto_scaling_configuration_arn: "AppRunnerResourceArn", # required
|
819
|
-
# }
|
820
|
-
#
|
821
929
|
# @!attribute [rw] auto_scaling_configuration_arn
|
822
930
|
# The Amazon Resource Name (ARN) of the App Runner auto scaling
|
823
931
|
# configuration that you want to delete.
|
@@ -827,10 +935,20 @@ module Aws::AppRunner
|
|
827
935
|
# revision isn't specified, the latest active revision is deleted.
|
828
936
|
# @return [String]
|
829
937
|
#
|
938
|
+
# @!attribute [rw] delete_all_revisions
|
939
|
+
# Set to `true` to delete all of the revisions associated with the
|
940
|
+
# `AutoScalingConfigurationArn` parameter value.
|
941
|
+
#
|
942
|
+
# When `DeleteAllRevisions` is set to `true`, the only valid value for
|
943
|
+
# the Amazon Resource Name (ARN) is a partial ARN ending with:
|
944
|
+
# `.../name`.
|
945
|
+
# @return [Boolean]
|
946
|
+
#
|
830
947
|
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/DeleteAutoScalingConfigurationRequest AWS API Documentation
|
831
948
|
#
|
832
949
|
class DeleteAutoScalingConfigurationRequest < Struct.new(
|
833
|
-
:auto_scaling_configuration_arn
|
950
|
+
:auto_scaling_configuration_arn,
|
951
|
+
:delete_all_revisions)
|
834
952
|
SENSITIVE = []
|
835
953
|
include Aws::Structure
|
836
954
|
end
|
@@ -848,13 +966,6 @@ module Aws::AppRunner
|
|
848
966
|
include Aws::Structure
|
849
967
|
end
|
850
968
|
|
851
|
-
# @note When making an API call, you may pass DeleteConnectionRequest
|
852
|
-
# data as a hash:
|
853
|
-
#
|
854
|
-
# {
|
855
|
-
# connection_arn: "AppRunnerResourceArn", # required
|
856
|
-
# }
|
857
|
-
#
|
858
969
|
# @!attribute [rw] connection_arn
|
859
970
|
# The Amazon Resource Name (ARN) of the App Runner connection that you
|
860
971
|
# want to delete.
|
@@ -881,13 +992,36 @@ module Aws::AppRunner
|
|
881
992
|
include Aws::Structure
|
882
993
|
end
|
883
994
|
|
884
|
-
#
|
885
|
-
#
|
995
|
+
# @!attribute [rw] observability_configuration_arn
|
996
|
+
# The Amazon Resource Name (ARN) of the App Runner observability
|
997
|
+
# configuration that you want to delete.
|
998
|
+
#
|
999
|
+
# The ARN can be a full observability configuration ARN, or a partial
|
1000
|
+
# ARN ending with either `.../name ` or `.../name/revision `. If a
|
1001
|
+
# revision isn't specified, the latest active revision is deleted.
|
1002
|
+
# @return [String]
|
1003
|
+
#
|
1004
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/DeleteObservabilityConfigurationRequest AWS API Documentation
|
1005
|
+
#
|
1006
|
+
class DeleteObservabilityConfigurationRequest < Struct.new(
|
1007
|
+
:observability_configuration_arn)
|
1008
|
+
SENSITIVE = []
|
1009
|
+
include Aws::Structure
|
1010
|
+
end
|
1011
|
+
|
1012
|
+
# @!attribute [rw] observability_configuration
|
1013
|
+
# A description of the App Runner observability configuration that
|
1014
|
+
# this request just deleted.
|
1015
|
+
# @return [Types::ObservabilityConfiguration]
|
886
1016
|
#
|
887
|
-
#
|
888
|
-
# service_arn: "AppRunnerResourceArn", # required
|
889
|
-
# }
|
1017
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/DeleteObservabilityConfigurationResponse AWS API Documentation
|
890
1018
|
#
|
1019
|
+
class DeleteObservabilityConfigurationResponse < Struct.new(
|
1020
|
+
:observability_configuration)
|
1021
|
+
SENSITIVE = []
|
1022
|
+
include Aws::Structure
|
1023
|
+
end
|
1024
|
+
|
891
1025
|
# @!attribute [rw] service_arn
|
892
1026
|
# The Amazon Resource Name (ARN) of the App Runner service that you
|
893
1027
|
# want to delete.
|
@@ -921,13 +1055,60 @@ module Aws::AppRunner
|
|
921
1055
|
include Aws::Structure
|
922
1056
|
end
|
923
1057
|
|
924
|
-
#
|
925
|
-
#
|
1058
|
+
# @!attribute [rw] vpc_connector_arn
|
1059
|
+
# The Amazon Resource Name (ARN) of the App Runner VPC connector that
|
1060
|
+
# you want to delete.
|
1061
|
+
#
|
1062
|
+
# The ARN must be a full VPC connector ARN.
|
1063
|
+
# @return [String]
|
1064
|
+
#
|
1065
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/DeleteVpcConnectorRequest AWS API Documentation
|
1066
|
+
#
|
1067
|
+
class DeleteVpcConnectorRequest < Struct.new(
|
1068
|
+
:vpc_connector_arn)
|
1069
|
+
SENSITIVE = []
|
1070
|
+
include Aws::Structure
|
1071
|
+
end
|
1072
|
+
|
1073
|
+
# @!attribute [rw] vpc_connector
|
1074
|
+
# A description of the App Runner VPC connector that this request just
|
1075
|
+
# deleted.
|
1076
|
+
# @return [Types::VpcConnector]
|
1077
|
+
#
|
1078
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/DeleteVpcConnectorResponse AWS API Documentation
|
1079
|
+
#
|
1080
|
+
class DeleteVpcConnectorResponse < Struct.new(
|
1081
|
+
:vpc_connector)
|
1082
|
+
SENSITIVE = []
|
1083
|
+
include Aws::Structure
|
1084
|
+
end
|
1085
|
+
|
1086
|
+
# @!attribute [rw] vpc_ingress_connection_arn
|
1087
|
+
# The Amazon Resource Name (ARN) of the App Runner VPC Ingress
|
1088
|
+
# Connection that you want to delete.
|
1089
|
+
# @return [String]
|
926
1090
|
#
|
927
|
-
#
|
928
|
-
# auto_scaling_configuration_arn: "AppRunnerResourceArn", # required
|
929
|
-
# }
|
1091
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/DeleteVpcIngressConnectionRequest AWS API Documentation
|
930
1092
|
#
|
1093
|
+
class DeleteVpcIngressConnectionRequest < Struct.new(
|
1094
|
+
:vpc_ingress_connection_arn)
|
1095
|
+
SENSITIVE = []
|
1096
|
+
include Aws::Structure
|
1097
|
+
end
|
1098
|
+
|
1099
|
+
# @!attribute [rw] vpc_ingress_connection
|
1100
|
+
# A description of the App Runner VPC Ingress Connection that this
|
1101
|
+
# request just deleted.
|
1102
|
+
# @return [Types::VpcIngressConnection]
|
1103
|
+
#
|
1104
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/DeleteVpcIngressConnectionResponse AWS API Documentation
|
1105
|
+
#
|
1106
|
+
class DeleteVpcIngressConnectionResponse < Struct.new(
|
1107
|
+
:vpc_ingress_connection)
|
1108
|
+
SENSITIVE = []
|
1109
|
+
include Aws::Structure
|
1110
|
+
end
|
1111
|
+
|
931
1112
|
# @!attribute [rw] auto_scaling_configuration_arn
|
932
1113
|
# The Amazon Resource Name (ARN) of the App Runner auto scaling
|
933
1114
|
# configuration that you want a description for.
|
@@ -958,15 +1139,6 @@ module Aws::AppRunner
|
|
958
1139
|
include Aws::Structure
|
959
1140
|
end
|
960
1141
|
|
961
|
-
# @note When making an API call, you may pass DescribeCustomDomainsRequest
|
962
|
-
# data as a hash:
|
963
|
-
#
|
964
|
-
# {
|
965
|
-
# service_arn: "AppRunnerResourceArn", # required
|
966
|
-
# next_token: "String",
|
967
|
-
# max_results: 1,
|
968
|
-
# }
|
969
|
-
#
|
970
1142
|
# @!attribute [rw] service_arn
|
971
1143
|
# The Amazon Resource Name (ARN) of the App Runner service that you
|
972
1144
|
# want associated custom domain names to be described for.
|
@@ -1016,6 +1188,10 @@ module Aws::AppRunner
|
|
1016
1188
|
# `MaxResults` records per call.
|
1017
1189
|
# @return [Array<Types::CustomDomain>]
|
1018
1190
|
#
|
1191
|
+
# @!attribute [rw] vpc_dns_targets
|
1192
|
+
# DNS Target records for the custom domains of this Amazon VPC.
|
1193
|
+
# @return [Array<Types::VpcDNSTarget>]
|
1194
|
+
#
|
1019
1195
|
# @!attribute [rw] next_token
|
1020
1196
|
# The token that you can pass in a subsequent request to get the next
|
1021
1197
|
# result page. It's returned in a paginated request.
|
@@ -1027,18 +1203,42 @@ module Aws::AppRunner
|
|
1027
1203
|
:dns_target,
|
1028
1204
|
:service_arn,
|
1029
1205
|
:custom_domains,
|
1206
|
+
:vpc_dns_targets,
|
1030
1207
|
:next_token)
|
1031
1208
|
SENSITIVE = []
|
1032
1209
|
include Aws::Structure
|
1033
1210
|
end
|
1034
1211
|
|
1035
|
-
#
|
1036
|
-
#
|
1212
|
+
# @!attribute [rw] observability_configuration_arn
|
1213
|
+
# The Amazon Resource Name (ARN) of the App Runner observability
|
1214
|
+
# configuration that you want a description for.
|
1215
|
+
#
|
1216
|
+
# The ARN can be a full observability configuration ARN, or a partial
|
1217
|
+
# ARN ending with either `.../name ` or `.../name/revision `. If a
|
1218
|
+
# revision isn't specified, the latest active revision is described.
|
1219
|
+
# @return [String]
|
1220
|
+
#
|
1221
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/DescribeObservabilityConfigurationRequest AWS API Documentation
|
1222
|
+
#
|
1223
|
+
class DescribeObservabilityConfigurationRequest < Struct.new(
|
1224
|
+
:observability_configuration_arn)
|
1225
|
+
SENSITIVE = []
|
1226
|
+
include Aws::Structure
|
1227
|
+
end
|
1228
|
+
|
1229
|
+
# @!attribute [rw] observability_configuration
|
1230
|
+
# A full description of the App Runner observability configuration
|
1231
|
+
# that you specified in this request.
|
1232
|
+
# @return [Types::ObservabilityConfiguration]
|
1037
1233
|
#
|
1038
|
-
#
|
1039
|
-
# service_arn: "AppRunnerResourceArn", # required
|
1040
|
-
# }
|
1234
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/DescribeObservabilityConfigurationResponse AWS API Documentation
|
1041
1235
|
#
|
1236
|
+
class DescribeObservabilityConfigurationResponse < Struct.new(
|
1237
|
+
:observability_configuration)
|
1238
|
+
SENSITIVE = []
|
1239
|
+
include Aws::Structure
|
1240
|
+
end
|
1241
|
+
|
1042
1242
|
# @!attribute [rw] service_arn
|
1043
1243
|
# The Amazon Resource Name (ARN) of the App Runner service that you
|
1044
1244
|
# want a description for.
|
@@ -1065,14 +1265,60 @@ module Aws::AppRunner
|
|
1065
1265
|
include Aws::Structure
|
1066
1266
|
end
|
1067
1267
|
|
1068
|
-
#
|
1069
|
-
#
|
1268
|
+
# @!attribute [rw] vpc_connector_arn
|
1269
|
+
# The Amazon Resource Name (ARN) of the App Runner VPC connector that
|
1270
|
+
# you want a description for.
|
1271
|
+
#
|
1272
|
+
# The ARN must be a full VPC connector ARN.
|
1273
|
+
# @return [String]
|
1274
|
+
#
|
1275
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/DescribeVpcConnectorRequest AWS API Documentation
|
1276
|
+
#
|
1277
|
+
class DescribeVpcConnectorRequest < Struct.new(
|
1278
|
+
:vpc_connector_arn)
|
1279
|
+
SENSITIVE = []
|
1280
|
+
include Aws::Structure
|
1281
|
+
end
|
1282
|
+
|
1283
|
+
# @!attribute [rw] vpc_connector
|
1284
|
+
# A description of the App Runner VPC connector that you specified in
|
1285
|
+
# this request.
|
1286
|
+
# @return [Types::VpcConnector]
|
1287
|
+
#
|
1288
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/DescribeVpcConnectorResponse AWS API Documentation
|
1289
|
+
#
|
1290
|
+
class DescribeVpcConnectorResponse < Struct.new(
|
1291
|
+
:vpc_connector)
|
1292
|
+
SENSITIVE = []
|
1293
|
+
include Aws::Structure
|
1294
|
+
end
|
1295
|
+
|
1296
|
+
# @!attribute [rw] vpc_ingress_connection_arn
|
1297
|
+
# The Amazon Resource Name (ARN) of the App Runner VPC Ingress
|
1298
|
+
# Connection that you want a description for.
|
1299
|
+
# @return [String]
|
1300
|
+
#
|
1301
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/DescribeVpcIngressConnectionRequest AWS API Documentation
|
1302
|
+
#
|
1303
|
+
class DescribeVpcIngressConnectionRequest < Struct.new(
|
1304
|
+
:vpc_ingress_connection_arn)
|
1305
|
+
SENSITIVE = []
|
1306
|
+
include Aws::Structure
|
1307
|
+
end
|
1308
|
+
|
1309
|
+
# @!attribute [rw] vpc_ingress_connection
|
1310
|
+
# A description of the App Runner VPC Ingress Connection that you
|
1311
|
+
# specified in this request.
|
1312
|
+
# @return [Types::VpcIngressConnection]
|
1070
1313
|
#
|
1071
|
-
#
|
1072
|
-
# service_arn: "AppRunnerResourceArn", # required
|
1073
|
-
# domain_name: "DomainName", # required
|
1074
|
-
# }
|
1314
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/DescribeVpcIngressConnectionResponse AWS API Documentation
|
1075
1315
|
#
|
1316
|
+
class DescribeVpcIngressConnectionResponse < Struct.new(
|
1317
|
+
:vpc_ingress_connection)
|
1318
|
+
SENSITIVE = []
|
1319
|
+
include Aws::Structure
|
1320
|
+
end
|
1321
|
+
|
1076
1322
|
# @!attribute [rw] service_arn
|
1077
1323
|
# The Amazon Resource Name (ARN) of the App Runner service that you
|
1078
1324
|
# want to disassociate a custom domain name from.
|
@@ -1106,25 +1352,50 @@ module Aws::AppRunner
|
|
1106
1352
|
# A description of the domain name that's being disassociated.
|
1107
1353
|
# @return [Types::CustomDomain]
|
1108
1354
|
#
|
1355
|
+
# @!attribute [rw] vpc_dns_targets
|
1356
|
+
# DNS Target records for the custom domains of this Amazon VPC.
|
1357
|
+
# @return [Array<Types::VpcDNSTarget>]
|
1358
|
+
#
|
1109
1359
|
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/DisassociateCustomDomainResponse AWS API Documentation
|
1110
1360
|
#
|
1111
1361
|
class DisassociateCustomDomainResponse < Struct.new(
|
1112
1362
|
:dns_target,
|
1113
1363
|
:service_arn,
|
1114
|
-
:custom_domain
|
1364
|
+
:custom_domain,
|
1365
|
+
:vpc_dns_targets)
|
1115
1366
|
SENSITIVE = []
|
1116
1367
|
include Aws::Structure
|
1117
1368
|
end
|
1118
1369
|
|
1119
|
-
# Describes
|
1120
|
-
#
|
1370
|
+
# Describes configuration settings related to outbound network traffic
|
1371
|
+
# of an App Runner service.
|
1372
|
+
#
|
1373
|
+
# @!attribute [rw] egress_type
|
1374
|
+
# The type of egress configuration.
|
1375
|
+
#
|
1376
|
+
# Set to `DEFAULT` for access to resources hosted on public networks.
|
1377
|
+
#
|
1378
|
+
# Set to `VPC` to associate your service to a custom VPC specified by
|
1379
|
+
# `VpcConnectorArn`.
|
1380
|
+
# @return [String]
|
1381
|
+
#
|
1382
|
+
# @!attribute [rw] vpc_connector_arn
|
1383
|
+
# The Amazon Resource Name (ARN) of the App Runner VPC connector that
|
1384
|
+
# you want to associate with your App Runner service. Only valid when
|
1385
|
+
# `EgressType = VPC`.
|
1386
|
+
# @return [String]
|
1121
1387
|
#
|
1122
|
-
# @
|
1123
|
-
# data as a hash:
|
1388
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/EgressConfiguration AWS API Documentation
|
1124
1389
|
#
|
1125
|
-
|
1126
|
-
|
1127
|
-
|
1390
|
+
class EgressConfiguration < Struct.new(
|
1391
|
+
:egress_type,
|
1392
|
+
:vpc_connector_arn)
|
1393
|
+
SENSITIVE = []
|
1394
|
+
include Aws::Structure
|
1395
|
+
end
|
1396
|
+
|
1397
|
+
# Describes a custom encryption key that App Runner uses to encrypt
|
1398
|
+
# copies of the source repository and service logs.
|
1128
1399
|
#
|
1129
1400
|
# @!attribute [rw] kms_key
|
1130
1401
|
# The ARN of the KMS key that's used for encryption.
|
@@ -1141,18 +1412,6 @@ module Aws::AppRunner
|
|
1141
1412
|
# Describes the settings for the health check that App Runner performs
|
1142
1413
|
# to monitor the health of a service.
|
1143
1414
|
#
|
1144
|
-
# @note When making an API call, you may pass HealthCheckConfiguration
|
1145
|
-
# data as a hash:
|
1146
|
-
#
|
1147
|
-
# {
|
1148
|
-
# protocol: "TCP", # accepts TCP, HTTP
|
1149
|
-
# path: "HealthCheckPath",
|
1150
|
-
# interval: 1,
|
1151
|
-
# timeout: 1,
|
1152
|
-
# healthy_threshold: 1,
|
1153
|
-
# unhealthy_threshold: 1,
|
1154
|
-
# }
|
1155
|
-
#
|
1156
1415
|
# @!attribute [rw] protocol
|
1157
1416
|
# The IP protocol that App Runner uses to perform health checks for
|
1158
1417
|
# your service.
|
@@ -1214,21 +1473,9 @@ module Aws::AppRunner
|
|
1214
1473
|
# Describes the configuration that App Runner uses to run an App Runner
|
1215
1474
|
# service using an image pulled from a source image repository.
|
1216
1475
|
#
|
1217
|
-
# @note When making an API call, you may pass ImageConfiguration
|
1218
|
-
# data as a hash:
|
1219
|
-
#
|
1220
|
-
# {
|
1221
|
-
# runtime_environment_variables: {
|
1222
|
-
# "RuntimeEnvironmentVariablesKey" => "RuntimeEnvironmentVariablesValue",
|
1223
|
-
# },
|
1224
|
-
# start_command: "String",
|
1225
|
-
# port: "String",
|
1226
|
-
# }
|
1227
|
-
#
|
1228
1476
|
# @!attribute [rw] runtime_environment_variables
|
1229
1477
|
# Environment variables that are available to your running App Runner
|
1230
|
-
# service. An array of key-value pairs.
|
1231
|
-
# `AWSAPPRUNNER` are reserved for system use and aren't valid.
|
1478
|
+
# service. An array of key-value pairs.
|
1232
1479
|
# @return [Hash<String,String>]
|
1233
1480
|
#
|
1234
1481
|
# @!attribute [rw] start_command
|
@@ -1243,33 +1490,38 @@ module Aws::AppRunner
|
|
1243
1490
|
# Default: `8080`
|
1244
1491
|
# @return [String]
|
1245
1492
|
#
|
1493
|
+
# @!attribute [rw] runtime_environment_secrets
|
1494
|
+
# An array of key-value pairs representing the secrets and parameters
|
1495
|
+
# that get referenced to your service as an environment variable. The
|
1496
|
+
# supported values are either the full Amazon Resource Name (ARN) of
|
1497
|
+
# the Secrets Manager secret or the full ARN of the parameter in the
|
1498
|
+
# Amazon Web Services Systems Manager Parameter Store.
|
1499
|
+
#
|
1500
|
+
# <note markdown="1"> * If the Amazon Web Services Systems Manager Parameter Store
|
1501
|
+
# parameter exists in the same Amazon Web Services Region as the
|
1502
|
+
# service that you're launching, you can use either the full ARN or
|
1503
|
+
# name of the secret. If the parameter exists in a different Region,
|
1504
|
+
# then the full ARN must be specified.
|
1505
|
+
#
|
1506
|
+
# * Currently, cross account referencing of Amazon Web Services
|
1507
|
+
# Systems Manager Parameter Store parameter is not supported.
|
1508
|
+
#
|
1509
|
+
# </note>
|
1510
|
+
# @return [Hash<String,String>]
|
1511
|
+
#
|
1246
1512
|
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/ImageConfiguration AWS API Documentation
|
1247
1513
|
#
|
1248
1514
|
class ImageConfiguration < Struct.new(
|
1249
1515
|
:runtime_environment_variables,
|
1250
1516
|
:start_command,
|
1251
|
-
:port
|
1252
|
-
|
1517
|
+
:port,
|
1518
|
+
:runtime_environment_secrets)
|
1519
|
+
SENSITIVE = [:start_command]
|
1253
1520
|
include Aws::Structure
|
1254
1521
|
end
|
1255
1522
|
|
1256
1523
|
# Describes a source image repository.
|
1257
1524
|
#
|
1258
|
-
# @note When making an API call, you may pass ImageRepository
|
1259
|
-
# data as a hash:
|
1260
|
-
#
|
1261
|
-
# {
|
1262
|
-
# image_identifier: "ImageIdentifier", # required
|
1263
|
-
# image_configuration: {
|
1264
|
-
# runtime_environment_variables: {
|
1265
|
-
# "RuntimeEnvironmentVariablesKey" => "RuntimeEnvironmentVariablesValue",
|
1266
|
-
# },
|
1267
|
-
# start_command: "String",
|
1268
|
-
# port: "String",
|
1269
|
-
# },
|
1270
|
-
# image_repository_type: "ECR", # required, accepts ECR, ECR_PUBLIC
|
1271
|
-
# }
|
1272
|
-
#
|
1273
1525
|
# @!attribute [rw] image_identifier
|
1274
1526
|
# The identifier of an image.
|
1275
1527
|
#
|
@@ -1301,17 +1553,46 @@ module Aws::AppRunner
|
|
1301
1553
|
include Aws::Structure
|
1302
1554
|
end
|
1303
1555
|
|
1304
|
-
#
|
1305
|
-
#
|
1556
|
+
# Network configuration settings for inbound network traffic.
|
1557
|
+
#
|
1558
|
+
# @!attribute [rw] is_publicly_accessible
|
1559
|
+
# Specifies whether your App Runner service is publicly accessible. To
|
1560
|
+
# make the service publicly accessible set it to `True`. To make the
|
1561
|
+
# service privately accessible, from only within an Amazon VPC set it
|
1562
|
+
# to `False`.
|
1563
|
+
# @return [Boolean]
|
1564
|
+
#
|
1565
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/IngressConfiguration AWS API Documentation
|
1306
1566
|
#
|
1307
|
-
|
1308
|
-
|
1567
|
+
class IngressConfiguration < Struct.new(
|
1568
|
+
:is_publicly_accessible)
|
1569
|
+
SENSITIVE = []
|
1570
|
+
include Aws::Structure
|
1571
|
+
end
|
1572
|
+
|
1573
|
+
# The configuration of your VPC and the associated VPC endpoint. The VPC
|
1574
|
+
# endpoint is an Amazon Web Services PrivateLink resource that allows
|
1575
|
+
# access to your App Runner services from within an Amazon VPC.
|
1576
|
+
#
|
1577
|
+
# @!attribute [rw] vpc_id
|
1578
|
+
# The ID of the VPC that is used for the VPC endpoint.
|
1579
|
+
# @return [String]
|
1580
|
+
#
|
1581
|
+
# @!attribute [rw] vpc_endpoint_id
|
1582
|
+
# The ID of the VPC endpoint that your App Runner service connects to.
|
1583
|
+
# @return [String]
|
1309
1584
|
#
|
1310
|
-
#
|
1311
|
-
#
|
1312
|
-
|
1313
|
-
|
1314
|
-
|
1585
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/IngressVpcConfiguration AWS API Documentation
|
1586
|
+
#
|
1587
|
+
class IngressVpcConfiguration < Struct.new(
|
1588
|
+
:vpc_id,
|
1589
|
+
:vpc_endpoint_id)
|
1590
|
+
SENSITIVE = []
|
1591
|
+
include Aws::Structure
|
1592
|
+
end
|
1593
|
+
|
1594
|
+
# Describes the runtime configuration of an App Runner service instance
|
1595
|
+
# (scaling unit).
|
1315
1596
|
#
|
1316
1597
|
# @!attribute [rw] cpu
|
1317
1598
|
# The number of CPU units reserved for each instance of your App
|
@@ -1384,20 +1665,10 @@ module Aws::AppRunner
|
|
1384
1665
|
include Aws::Structure
|
1385
1666
|
end
|
1386
1667
|
|
1387
|
-
# @note When making an API call, you may pass ListAutoScalingConfigurationsRequest
|
1388
|
-
# data as a hash:
|
1389
|
-
#
|
1390
|
-
# {
|
1391
|
-
# auto_scaling_configuration_name: "AutoScalingConfigurationName",
|
1392
|
-
# latest_only: false,
|
1393
|
-
# max_results: 1,
|
1394
|
-
# next_token: "NextToken",
|
1395
|
-
# }
|
1396
|
-
#
|
1397
1668
|
# @!attribute [rw] auto_scaling_configuration_name
|
1398
1669
|
# The name of the App Runner auto scaling configuration that you want
|
1399
1670
|
# to list. If specified, App Runner lists revisions that share this
|
1400
|
-
# name. If not specified, App Runner returns revisions of all
|
1671
|
+
# name. If not specified, App Runner returns revisions of all active
|
1401
1672
|
# configurations.
|
1402
1673
|
# @return [String]
|
1403
1674
|
#
|
@@ -1405,10 +1676,10 @@ module Aws::AppRunner
|
|
1405
1676
|
# Set to `true` to list only the latest revision for each requested
|
1406
1677
|
# configuration name.
|
1407
1678
|
#
|
1408
|
-
#
|
1679
|
+
# Set to `false` to list all revisions for each requested
|
1409
1680
|
# configuration name.
|
1410
1681
|
#
|
1411
|
-
# Default: `
|
1682
|
+
# Default: `true`
|
1412
1683
|
# @return [Boolean]
|
1413
1684
|
#
|
1414
1685
|
# @!attribute [rw] max_results
|
@@ -1460,15 +1731,6 @@ module Aws::AppRunner
|
|
1460
1731
|
include Aws::Structure
|
1461
1732
|
end
|
1462
1733
|
|
1463
|
-
# @note When making an API call, you may pass ListConnectionsRequest
|
1464
|
-
# data as a hash:
|
1465
|
-
#
|
1466
|
-
# {
|
1467
|
-
# connection_name: "ConnectionName",
|
1468
|
-
# max_results: 1,
|
1469
|
-
# next_token: "NextToken",
|
1470
|
-
# }
|
1471
|
-
#
|
1472
1734
|
# @!attribute [rw] connection_name
|
1473
1735
|
# If specified, only this connection is returned. If not specified,
|
1474
1736
|
# the result isn't filtered by name.
|
@@ -1522,15 +1784,72 @@ module Aws::AppRunner
|
|
1522
1784
|
include Aws::Structure
|
1523
1785
|
end
|
1524
1786
|
|
1525
|
-
#
|
1526
|
-
#
|
1787
|
+
# @!attribute [rw] observability_configuration_name
|
1788
|
+
# The name of the App Runner observability configuration that you want
|
1789
|
+
# to list. If specified, App Runner lists revisions that share this
|
1790
|
+
# name. If not specified, App Runner returns revisions of all active
|
1791
|
+
# configurations.
|
1792
|
+
# @return [String]
|
1793
|
+
#
|
1794
|
+
# @!attribute [rw] latest_only
|
1795
|
+
# Set to `true` to list only the latest revision for each requested
|
1796
|
+
# configuration name.
|
1797
|
+
#
|
1798
|
+
# Set to `false` to list all revisions for each requested
|
1799
|
+
# configuration name.
|
1800
|
+
#
|
1801
|
+
# Default: `true`
|
1802
|
+
# @return [Boolean]
|
1803
|
+
#
|
1804
|
+
# @!attribute [rw] max_results
|
1805
|
+
# The maximum number of results to include in each response (result
|
1806
|
+
# page). It's used for a paginated request.
|
1807
|
+
#
|
1808
|
+
# If you don't specify `MaxResults`, the request retrieves all
|
1809
|
+
# available results in a single response.
|
1810
|
+
# @return [Integer]
|
1811
|
+
#
|
1812
|
+
# @!attribute [rw] next_token
|
1813
|
+
# A token from a previous result page. It's used for a paginated
|
1814
|
+
# request. The request retrieves the next result page. All other
|
1815
|
+
# parameter values must be identical to the ones that are specified in
|
1816
|
+
# the initial request.
|
1817
|
+
#
|
1818
|
+
# If you don't specify `NextToken`, the request retrieves the first
|
1819
|
+
# result page.
|
1820
|
+
# @return [String]
|
1821
|
+
#
|
1822
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/ListObservabilityConfigurationsRequest AWS API Documentation
|
1823
|
+
#
|
1824
|
+
class ListObservabilityConfigurationsRequest < Struct.new(
|
1825
|
+
:observability_configuration_name,
|
1826
|
+
:latest_only,
|
1827
|
+
:max_results,
|
1828
|
+
:next_token)
|
1829
|
+
SENSITIVE = []
|
1830
|
+
include Aws::Structure
|
1831
|
+
end
|
1832
|
+
|
1833
|
+
# @!attribute [rw] observability_configuration_summary_list
|
1834
|
+
# A list of summary information records for observability
|
1835
|
+
# configurations. In a paginated request, the request returns up to
|
1836
|
+
# `MaxResults` records for each call.
|
1837
|
+
# @return [Array<Types::ObservabilityConfigurationSummary>]
|
1838
|
+
#
|
1839
|
+
# @!attribute [rw] next_token
|
1840
|
+
# The token that you can pass in a subsequent request to get the next
|
1841
|
+
# result page. It's returned in a paginated request.
|
1842
|
+
# @return [String]
|
1527
1843
|
#
|
1528
|
-
#
|
1529
|
-
# service_arn: "AppRunnerResourceArn", # required
|
1530
|
-
# next_token: "String",
|
1531
|
-
# max_results: 1,
|
1532
|
-
# }
|
1844
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/ListObservabilityConfigurationsResponse AWS API Documentation
|
1533
1845
|
#
|
1846
|
+
class ListObservabilityConfigurationsResponse < Struct.new(
|
1847
|
+
:observability_configuration_summary_list,
|
1848
|
+
:next_token)
|
1849
|
+
SENSITIVE = []
|
1850
|
+
include Aws::Structure
|
1851
|
+
end
|
1852
|
+
|
1534
1853
|
# @!attribute [rw] service_arn
|
1535
1854
|
# The Amazon Resource Name (ARN) of the App Runner service that you
|
1536
1855
|
# want a list of operations for.
|
@@ -1584,14 +1903,62 @@ module Aws::AppRunner
|
|
1584
1903
|
include Aws::Structure
|
1585
1904
|
end
|
1586
1905
|
|
1587
|
-
#
|
1588
|
-
#
|
1906
|
+
# @!attribute [rw] auto_scaling_configuration_arn
|
1907
|
+
# The Amazon Resource Name (ARN) of the App Runner auto scaling
|
1908
|
+
# configuration that you want to list the services for.
|
1589
1909
|
#
|
1590
|
-
#
|
1591
|
-
#
|
1592
|
-
#
|
1593
|
-
#
|
1910
|
+
# The ARN can be a full auto scaling configuration ARN, or a partial
|
1911
|
+
# ARN ending with either `.../name ` or `.../name/revision `. If a
|
1912
|
+
# revision isn't specified, the latest active revision is used.
|
1913
|
+
# @return [String]
|
1914
|
+
#
|
1915
|
+
# @!attribute [rw] max_results
|
1916
|
+
# The maximum number of results to include in each response (result
|
1917
|
+
# page). It's used for a paginated request.
|
1918
|
+
#
|
1919
|
+
# If you don't specify `MaxResults`, the request retrieves all
|
1920
|
+
# available results in a single response.
|
1921
|
+
# @return [Integer]
|
1594
1922
|
#
|
1923
|
+
# @!attribute [rw] next_token
|
1924
|
+
# A token from a previous result page. It's used for a paginated
|
1925
|
+
# request. The request retrieves the next result page. All other
|
1926
|
+
# parameter values must be identical to the ones specified in the
|
1927
|
+
# initial request.
|
1928
|
+
#
|
1929
|
+
# If you don't specify `NextToken`, the request retrieves the first
|
1930
|
+
# result page.
|
1931
|
+
# @return [String]
|
1932
|
+
#
|
1933
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/ListServicesForAutoScalingConfigurationRequest AWS API Documentation
|
1934
|
+
#
|
1935
|
+
class ListServicesForAutoScalingConfigurationRequest < Struct.new(
|
1936
|
+
:auto_scaling_configuration_arn,
|
1937
|
+
:max_results,
|
1938
|
+
:next_token)
|
1939
|
+
SENSITIVE = []
|
1940
|
+
include Aws::Structure
|
1941
|
+
end
|
1942
|
+
|
1943
|
+
# @!attribute [rw] service_arn_list
|
1944
|
+
# A list of service ARN records. In a paginated request, the request
|
1945
|
+
# returns up to `MaxResults` records for each call.
|
1946
|
+
# @return [Array<String>]
|
1947
|
+
#
|
1948
|
+
# @!attribute [rw] next_token
|
1949
|
+
# The token that you can pass in a subsequent request to get the next
|
1950
|
+
# result page. It's returned in a paginated request.
|
1951
|
+
# @return [String]
|
1952
|
+
#
|
1953
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/ListServicesForAutoScalingConfigurationResponse AWS API Documentation
|
1954
|
+
#
|
1955
|
+
class ListServicesForAutoScalingConfigurationResponse < Struct.new(
|
1956
|
+
:service_arn_list,
|
1957
|
+
:next_token)
|
1958
|
+
SENSITIVE = []
|
1959
|
+
include Aws::Structure
|
1960
|
+
end
|
1961
|
+
|
1595
1962
|
# @!attribute [rw] next_token
|
1596
1963
|
# A token from a previous result page. Used for a paginated request.
|
1597
1964
|
# The request retrieves the next result page. All other parameter
|
@@ -1639,13 +2006,6 @@ module Aws::AppRunner
|
|
1639
2006
|
include Aws::Structure
|
1640
2007
|
end
|
1641
2008
|
|
1642
|
-
# @note When making an API call, you may pass ListTagsForResourceRequest
|
1643
|
-
# data as a hash:
|
1644
|
-
#
|
1645
|
-
# {
|
1646
|
-
# resource_arn: "AppRunnerResourceArn", # required
|
1647
|
-
# }
|
1648
|
-
#
|
1649
2009
|
# @!attribute [rw] resource_arn
|
1650
2010
|
# The Amazon Resource Name (ARN) of the resource that a tag list is
|
1651
2011
|
# requested for.
|
@@ -1674,6 +2034,271 @@ module Aws::AppRunner
|
|
1674
2034
|
include Aws::Structure
|
1675
2035
|
end
|
1676
2036
|
|
2037
|
+
# @!attribute [rw] max_results
|
2038
|
+
# The maximum number of results to include in each response (result
|
2039
|
+
# page). It's used for a paginated request.
|
2040
|
+
#
|
2041
|
+
# If you don't specify `MaxResults`, the request retrieves all
|
2042
|
+
# available results in a single response.
|
2043
|
+
# @return [Integer]
|
2044
|
+
#
|
2045
|
+
# @!attribute [rw] next_token
|
2046
|
+
# A token from a previous result page. It's used for a paginated
|
2047
|
+
# request. The request retrieves the next result page. All other
|
2048
|
+
# parameter values must be identical to the ones that are specified in
|
2049
|
+
# the initial request.
|
2050
|
+
#
|
2051
|
+
# If you don't specify `NextToken`, the request retrieves the first
|
2052
|
+
# result page.
|
2053
|
+
# @return [String]
|
2054
|
+
#
|
2055
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/ListVpcConnectorsRequest AWS API Documentation
|
2056
|
+
#
|
2057
|
+
class ListVpcConnectorsRequest < Struct.new(
|
2058
|
+
:max_results,
|
2059
|
+
:next_token)
|
2060
|
+
SENSITIVE = []
|
2061
|
+
include Aws::Structure
|
2062
|
+
end
|
2063
|
+
|
2064
|
+
# @!attribute [rw] vpc_connectors
|
2065
|
+
# A list of information records for VPC connectors. In a paginated
|
2066
|
+
# request, the request returns up to `MaxResults` records for each
|
2067
|
+
# call.
|
2068
|
+
# @return [Array<Types::VpcConnector>]
|
2069
|
+
#
|
2070
|
+
# @!attribute [rw] next_token
|
2071
|
+
# The token that you can pass in a subsequent request to get the next
|
2072
|
+
# result page. It's returned in a paginated request.
|
2073
|
+
# @return [String]
|
2074
|
+
#
|
2075
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/ListVpcConnectorsResponse AWS API Documentation
|
2076
|
+
#
|
2077
|
+
class ListVpcConnectorsResponse < Struct.new(
|
2078
|
+
:vpc_connectors,
|
2079
|
+
:next_token)
|
2080
|
+
SENSITIVE = []
|
2081
|
+
include Aws::Structure
|
2082
|
+
end
|
2083
|
+
|
2084
|
+
# Returns a list of VPC Ingress Connections based on the filter
|
2085
|
+
# provided. It can return either `ServiceArn` or `VpcEndpointId`, or
|
2086
|
+
# both.
|
2087
|
+
#
|
2088
|
+
# @!attribute [rw] service_arn
|
2089
|
+
# The Amazon Resource Name (ARN) of a service to filter by.
|
2090
|
+
# @return [String]
|
2091
|
+
#
|
2092
|
+
# @!attribute [rw] vpc_endpoint_id
|
2093
|
+
# The ID of a VPC Endpoint to filter by.
|
2094
|
+
# @return [String]
|
2095
|
+
#
|
2096
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/ListVpcIngressConnectionsFilter AWS API Documentation
|
2097
|
+
#
|
2098
|
+
class ListVpcIngressConnectionsFilter < Struct.new(
|
2099
|
+
:service_arn,
|
2100
|
+
:vpc_endpoint_id)
|
2101
|
+
SENSITIVE = []
|
2102
|
+
include Aws::Structure
|
2103
|
+
end
|
2104
|
+
|
2105
|
+
# @!attribute [rw] filter
|
2106
|
+
# The VPC Ingress Connections to be listed based on either the Service
|
2107
|
+
# Arn or Vpc Endpoint Id, or both.
|
2108
|
+
# @return [Types::ListVpcIngressConnectionsFilter]
|
2109
|
+
#
|
2110
|
+
# @!attribute [rw] max_results
|
2111
|
+
# The maximum number of results to include in each response (result
|
2112
|
+
# page). It's used for a paginated request.
|
2113
|
+
#
|
2114
|
+
# If you don't specify `MaxResults`, the request retrieves all
|
2115
|
+
# available results in a single response.
|
2116
|
+
# @return [Integer]
|
2117
|
+
#
|
2118
|
+
# @!attribute [rw] next_token
|
2119
|
+
# A token from a previous result page. It's used for a paginated
|
2120
|
+
# request. The request retrieves the next result page. All other
|
2121
|
+
# parameter values must be identical to the ones that are specified in
|
2122
|
+
# the initial request.
|
2123
|
+
#
|
2124
|
+
# If you don't specify `NextToken`, the request retrieves the first
|
2125
|
+
# result page.
|
2126
|
+
# @return [String]
|
2127
|
+
#
|
2128
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/ListVpcIngressConnectionsRequest AWS API Documentation
|
2129
|
+
#
|
2130
|
+
class ListVpcIngressConnectionsRequest < Struct.new(
|
2131
|
+
:filter,
|
2132
|
+
:max_results,
|
2133
|
+
:next_token)
|
2134
|
+
SENSITIVE = []
|
2135
|
+
include Aws::Structure
|
2136
|
+
end
|
2137
|
+
|
2138
|
+
# @!attribute [rw] vpc_ingress_connection_summary_list
|
2139
|
+
# A list of summary information records for VPC Ingress Connections.
|
2140
|
+
# In a paginated request, the request returns up to `MaxResults`
|
2141
|
+
# records for each call.
|
2142
|
+
# @return [Array<Types::VpcIngressConnectionSummary>]
|
2143
|
+
#
|
2144
|
+
# @!attribute [rw] next_token
|
2145
|
+
# The token that you can pass in a subsequent request to get the next
|
2146
|
+
# result page. It's returned in a paginated request.
|
2147
|
+
# @return [String]
|
2148
|
+
#
|
2149
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/ListVpcIngressConnectionsResponse AWS API Documentation
|
2150
|
+
#
|
2151
|
+
class ListVpcIngressConnectionsResponse < Struct.new(
|
2152
|
+
:vpc_ingress_connection_summary_list,
|
2153
|
+
:next_token)
|
2154
|
+
SENSITIVE = []
|
2155
|
+
include Aws::Structure
|
2156
|
+
end
|
2157
|
+
|
2158
|
+
# Describes configuration settings related to network traffic of an App
|
2159
|
+
# Runner service. Consists of embedded objects for each configurable
|
2160
|
+
# network feature.
|
2161
|
+
#
|
2162
|
+
# @!attribute [rw] egress_configuration
|
2163
|
+
# Network configuration settings for outbound message traffic.
|
2164
|
+
# @return [Types::EgressConfiguration]
|
2165
|
+
#
|
2166
|
+
# @!attribute [rw] ingress_configuration
|
2167
|
+
# Network configuration settings for inbound message traffic.
|
2168
|
+
# @return [Types::IngressConfiguration]
|
2169
|
+
#
|
2170
|
+
# @!attribute [rw] ip_address_type
|
2171
|
+
# App Runner provides you with the option to choose between *Internet
|
2172
|
+
# Protocol version 4 (IPv4)* and *dual-stack* (IPv4 and IPv6) for your
|
2173
|
+
# incoming public network configuration. This is an optional
|
2174
|
+
# parameter. If you do not specify an `IpAddressType`, it defaults to
|
2175
|
+
# select IPv4.
|
2176
|
+
#
|
2177
|
+
# <note markdown="1"> Currently, App Runner supports dual-stack for only Public endpoint.
|
2178
|
+
# Only IPv4 is supported for Private endpoint. If you update a service
|
2179
|
+
# that's using dual-stack Public endpoint to a Private endpoint, your
|
2180
|
+
# App Runner service will default to support only IPv4 for Private
|
2181
|
+
# endpoint and fail to receive traffic originating from IPv6 endpoint.
|
2182
|
+
#
|
2183
|
+
# </note>
|
2184
|
+
# @return [String]
|
2185
|
+
#
|
2186
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/NetworkConfiguration AWS API Documentation
|
2187
|
+
#
|
2188
|
+
class NetworkConfiguration < Struct.new(
|
2189
|
+
:egress_configuration,
|
2190
|
+
:ingress_configuration,
|
2191
|
+
:ip_address_type)
|
2192
|
+
SENSITIVE = []
|
2193
|
+
include Aws::Structure
|
2194
|
+
end
|
2195
|
+
|
2196
|
+
# Describes an App Runner observability configuration resource. Multiple
|
2197
|
+
# revisions of a configuration have the same
|
2198
|
+
# `ObservabilityConfigurationName` and different
|
2199
|
+
# `ObservabilityConfigurationRevision` values.
|
2200
|
+
#
|
2201
|
+
# The resource is designed to configure multiple features (currently one
|
2202
|
+
# feature, tracing). This type contains optional members that describe
|
2203
|
+
# the configuration of these features (currently one member,
|
2204
|
+
# `TraceConfiguration`). If a feature member isn't specified, the
|
2205
|
+
# feature isn't enabled.
|
2206
|
+
#
|
2207
|
+
# @!attribute [rw] observability_configuration_arn
|
2208
|
+
# The Amazon Resource Name (ARN) of this observability configuration.
|
2209
|
+
# @return [String]
|
2210
|
+
#
|
2211
|
+
# @!attribute [rw] observability_configuration_name
|
2212
|
+
# The customer-provided observability configuration name. It can be
|
2213
|
+
# used in multiple revisions of a configuration.
|
2214
|
+
# @return [String]
|
2215
|
+
#
|
2216
|
+
# @!attribute [rw] trace_configuration
|
2217
|
+
# The configuration of the tracing feature within this observability
|
2218
|
+
# configuration. If not specified, tracing isn't enabled.
|
2219
|
+
# @return [Types::TraceConfiguration]
|
2220
|
+
#
|
2221
|
+
# @!attribute [rw] observability_configuration_revision
|
2222
|
+
# The revision of this observability configuration. It's unique among
|
2223
|
+
# all the active configurations (`"Status": "ACTIVE"`) that share the
|
2224
|
+
# same `ObservabilityConfigurationName`.
|
2225
|
+
# @return [Integer]
|
2226
|
+
#
|
2227
|
+
# @!attribute [rw] latest
|
2228
|
+
# It's set to `true` for the configuration with the highest
|
2229
|
+
# `Revision` among all configurations that share the same
|
2230
|
+
# `ObservabilityConfigurationName`. It's set to `false` otherwise.
|
2231
|
+
# @return [Boolean]
|
2232
|
+
#
|
2233
|
+
# @!attribute [rw] status
|
2234
|
+
# The current state of the observability configuration. If the status
|
2235
|
+
# of a configuration revision is `INACTIVE`, it was deleted and can't
|
2236
|
+
# be used. Inactive configuration revisions are permanently removed
|
2237
|
+
# some time after they are deleted.
|
2238
|
+
# @return [String]
|
2239
|
+
#
|
2240
|
+
# @!attribute [rw] created_at
|
2241
|
+
# The time when the observability configuration was created. It's in
|
2242
|
+
# Unix time stamp format.
|
2243
|
+
# @return [Time]
|
2244
|
+
#
|
2245
|
+
# @!attribute [rw] deleted_at
|
2246
|
+
# The time when the observability configuration was deleted. It's in
|
2247
|
+
# Unix time stamp format.
|
2248
|
+
# @return [Time]
|
2249
|
+
#
|
2250
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/ObservabilityConfiguration AWS API Documentation
|
2251
|
+
#
|
2252
|
+
class ObservabilityConfiguration < Struct.new(
|
2253
|
+
:observability_configuration_arn,
|
2254
|
+
:observability_configuration_name,
|
2255
|
+
:trace_configuration,
|
2256
|
+
:observability_configuration_revision,
|
2257
|
+
:latest,
|
2258
|
+
:status,
|
2259
|
+
:created_at,
|
2260
|
+
:deleted_at)
|
2261
|
+
SENSITIVE = []
|
2262
|
+
include Aws::Structure
|
2263
|
+
end
|
2264
|
+
|
2265
|
+
# Provides summary information about an App Runner observability
|
2266
|
+
# configuration resource.
|
2267
|
+
#
|
2268
|
+
# This type contains limited information about an observability
|
2269
|
+
# configuration. It includes only identification information, without
|
2270
|
+
# configuration details. It's returned by the
|
2271
|
+
# ListObservabilityConfigurations action. Complete configuration
|
2272
|
+
# information is returned by the CreateObservabilityConfiguration,
|
2273
|
+
# DescribeObservabilityConfiguration, and
|
2274
|
+
# DeleteObservabilityConfiguration actions using the
|
2275
|
+
# ObservabilityConfiguration type.
|
2276
|
+
#
|
2277
|
+
# @!attribute [rw] observability_configuration_arn
|
2278
|
+
# The Amazon Resource Name (ARN) of this observability configuration.
|
2279
|
+
# @return [String]
|
2280
|
+
#
|
2281
|
+
# @!attribute [rw] observability_configuration_name
|
2282
|
+
# The customer-provided observability configuration name. It can be
|
2283
|
+
# used in multiple revisions of a configuration.
|
2284
|
+
# @return [String]
|
2285
|
+
#
|
2286
|
+
# @!attribute [rw] observability_configuration_revision
|
2287
|
+
# The revision of this observability configuration. It's unique among
|
2288
|
+
# all the active configurations (`"Status": "ACTIVE"`) that share the
|
2289
|
+
# same `ObservabilityConfigurationName`.
|
2290
|
+
# @return [Integer]
|
2291
|
+
#
|
2292
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/ObservabilityConfigurationSummary AWS API Documentation
|
2293
|
+
#
|
2294
|
+
class ObservabilityConfigurationSummary < Struct.new(
|
2295
|
+
:observability_configuration_arn,
|
2296
|
+
:observability_configuration_name,
|
2297
|
+
:observability_configuration_revision)
|
2298
|
+
SENSITIVE = []
|
2299
|
+
include Aws::Structure
|
2300
|
+
end
|
2301
|
+
|
1677
2302
|
# Provides summary information for an operation that occurred on an App
|
1678
2303
|
# Runner service.
|
1679
2304
|
#
|
@@ -1724,13 +2349,6 @@ module Aws::AppRunner
|
|
1724
2349
|
include Aws::Structure
|
1725
2350
|
end
|
1726
2351
|
|
1727
|
-
# @note When making an API call, you may pass PauseServiceRequest
|
1728
|
-
# data as a hash:
|
1729
|
-
#
|
1730
|
-
# {
|
1731
|
-
# service_arn: "AppRunnerResourceArn", # required
|
1732
|
-
# }
|
1733
|
-
#
|
1734
2352
|
# @!attribute [rw] service_arn
|
1735
2353
|
# The Amazon Resource Name (ARN) of the App Runner service that you
|
1736
2354
|
# want to pause.
|
@@ -1778,13 +2396,6 @@ module Aws::AppRunner
|
|
1778
2396
|
include Aws::Structure
|
1779
2397
|
end
|
1780
2398
|
|
1781
|
-
# @note When making an API call, you may pass ResumeServiceRequest
|
1782
|
-
# data as a hash:
|
1783
|
-
#
|
1784
|
-
# {
|
1785
|
-
# service_arn: "AppRunnerResourceArn", # required
|
1786
|
-
# }
|
1787
|
-
#
|
1788
2399
|
# @!attribute [rw] service_arn
|
1789
2400
|
# The Amazon Resource Name (ARN) of the App Runner service that you
|
1790
2401
|
# want to resume.
|
@@ -1872,14 +2483,11 @@ module Aws::AppRunner
|
|
1872
2483
|
# The current state of the App Runner service. These particular values
|
1873
2484
|
# mean the following.
|
1874
2485
|
#
|
1875
|
-
# * `CREATE_FAILED` – The service failed to create.
|
1876
|
-
#
|
1877
|
-
#
|
1878
|
-
#
|
1879
|
-
#
|
1880
|
-
# The failed service isn't usable, and still counts towards your
|
1881
|
-
# service quota. When you're done analyzing the failure, delete the
|
1882
|
-
# service.
|
2486
|
+
# * `CREATE_FAILED` – The service failed to create. The failed service
|
2487
|
+
# isn't usable, and still counts towards your service quota. To
|
2488
|
+
# troubleshoot this failure, read the failure events and logs,
|
2489
|
+
# change any parameters that need to be fixed, and rebuild your
|
2490
|
+
# service using `UpdateService`.
|
1883
2491
|
#
|
1884
2492
|
# * `DELETE_FAILED` – The service failed to delete and can't be
|
1885
2493
|
# successfully recovered. Retry the service deletion call to ensure
|
@@ -1900,7 +2508,7 @@ module Aws::AppRunner
|
|
1900
2508
|
# The encryption key that App Runner uses to encrypt the service logs
|
1901
2509
|
# and the copy of the source repository that App Runner maintains for
|
1902
2510
|
# the service. It can be either a customer-provided encryption key or
|
1903
|
-
# an Amazon Web Services managed
|
2511
|
+
# an Amazon Web Services managed key.
|
1904
2512
|
# @return [Types::EncryptionConfiguration]
|
1905
2513
|
#
|
1906
2514
|
# @!attribute [rw] health_check_configuration
|
@@ -1913,6 +2521,15 @@ module Aws::AppRunner
|
|
1913
2521
|
# configuration resource that's associated with this service.
|
1914
2522
|
# @return [Types::AutoScalingConfigurationSummary]
|
1915
2523
|
#
|
2524
|
+
# @!attribute [rw] network_configuration
|
2525
|
+
# Configuration settings related to network traffic of the web
|
2526
|
+
# application that this service runs.
|
2527
|
+
# @return [Types::NetworkConfiguration]
|
2528
|
+
#
|
2529
|
+
# @!attribute [rw] observability_configuration
|
2530
|
+
# The observability configuration of this service.
|
2531
|
+
# @return [Types::ServiceObservabilityConfiguration]
|
2532
|
+
#
|
1916
2533
|
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/Service AWS API Documentation
|
1917
2534
|
#
|
1918
2535
|
class Service < Struct.new(
|
@@ -1928,7 +2545,42 @@ module Aws::AppRunner
|
|
1928
2545
|
:instance_configuration,
|
1929
2546
|
:encryption_configuration,
|
1930
2547
|
:health_check_configuration,
|
1931
|
-
:auto_scaling_configuration_summary
|
2548
|
+
:auto_scaling_configuration_summary,
|
2549
|
+
:network_configuration,
|
2550
|
+
:observability_configuration)
|
2551
|
+
SENSITIVE = []
|
2552
|
+
include Aws::Structure
|
2553
|
+
end
|
2554
|
+
|
2555
|
+
# Describes the observability configuration of an App Runner service.
|
2556
|
+
# These are additional observability features, like tracing, that you
|
2557
|
+
# choose to enable. They're configured in a separate resource that you
|
2558
|
+
# associate with your service.
|
2559
|
+
#
|
2560
|
+
# @!attribute [rw] observability_enabled
|
2561
|
+
# When `true`, an observability configuration resource is associated
|
2562
|
+
# with the service, and an `ObservabilityConfigurationArn` is
|
2563
|
+
# specified.
|
2564
|
+
# @return [Boolean]
|
2565
|
+
#
|
2566
|
+
# @!attribute [rw] observability_configuration_arn
|
2567
|
+
# The Amazon Resource Name (ARN) of the observability configuration
|
2568
|
+
# that is associated with the service. Specified only when
|
2569
|
+
# `ObservabilityEnabled` is `true`.
|
2570
|
+
#
|
2571
|
+
# Specify an ARN with a name and a revision number to associate that
|
2572
|
+
# revision. For example:
|
2573
|
+
# `arn:aws:apprunner:us-east-1:123456789012:observabilityconfiguration/xray-tracing/3`
|
2574
|
+
#
|
2575
|
+
# Specify just the name to associate the latest revision. For example:
|
2576
|
+
# `arn:aws:apprunner:us-east-1:123456789012:observabilityconfiguration/xray-tracing`
|
2577
|
+
# @return [String]
|
2578
|
+
#
|
2579
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/ServiceObservabilityConfiguration AWS API Documentation
|
2580
|
+
#
|
2581
|
+
class ServiceObservabilityConfiguration < Struct.new(
|
2582
|
+
:observability_enabled,
|
2583
|
+
:observability_configuration_arn)
|
1932
2584
|
SENSITIVE = []
|
1933
2585
|
include Aws::Structure
|
1934
2586
|
end
|
@@ -2002,13 +2654,11 @@ module Aws::AppRunner
|
|
2002
2654
|
# The current state of the App Runner service. These particular values
|
2003
2655
|
# mean the following.
|
2004
2656
|
#
|
2005
|
-
# * `CREATE_FAILED` – The service failed to create.
|
2006
|
-
#
|
2007
|
-
#
|
2008
|
-
#
|
2009
|
-
#
|
2010
|
-
# service quota. When you're done analyzing the failure, delete the
|
2011
|
-
# service.
|
2657
|
+
# * `CREATE_FAILED` – The service failed to create. The failed service
|
2658
|
+
# isn't usable, and still counts towards your service quota. To
|
2659
|
+
# troubleshoot this failure, read the failure events and logs,
|
2660
|
+
# change any parameters that need to be fixed, and rebuild your
|
2661
|
+
# service using `UpdateService`.
|
2012
2662
|
#
|
2013
2663
|
# * `DELETE_FAILED` – The service failed to delete and can't be
|
2014
2664
|
# successfully recovered. Retry the service deletion call to ensure
|
@@ -2032,14 +2682,6 @@ module Aws::AppRunner
|
|
2032
2682
|
# Identifies a version of code that App Runner refers to within a source
|
2033
2683
|
# code repository.
|
2034
2684
|
#
|
2035
|
-
# @note When making an API call, you may pass SourceCodeVersion
|
2036
|
-
# data as a hash:
|
2037
|
-
#
|
2038
|
-
# {
|
2039
|
-
# type: "BRANCH", # required, accepts BRANCH
|
2040
|
-
# value: "String", # required
|
2041
|
-
# }
|
2042
|
-
#
|
2043
2685
|
# @!attribute [rw] type
|
2044
2686
|
# The type of version identifier.
|
2045
2687
|
#
|
@@ -2065,47 +2707,6 @@ module Aws::AppRunner
|
|
2065
2707
|
# Describes the source deployed to an App Runner service. It can be a
|
2066
2708
|
# code or an image repository.
|
2067
2709
|
#
|
2068
|
-
# @note When making an API call, you may pass SourceConfiguration
|
2069
|
-
# data as a hash:
|
2070
|
-
#
|
2071
|
-
# {
|
2072
|
-
# code_repository: {
|
2073
|
-
# repository_url: "String", # required
|
2074
|
-
# source_code_version: { # required
|
2075
|
-
# type: "BRANCH", # required, accepts BRANCH
|
2076
|
-
# value: "String", # required
|
2077
|
-
# },
|
2078
|
-
# code_configuration: {
|
2079
|
-
# configuration_source: "REPOSITORY", # required, accepts REPOSITORY, API
|
2080
|
-
# code_configuration_values: {
|
2081
|
-
# runtime: "PYTHON_3", # required, accepts PYTHON_3, NODEJS_12
|
2082
|
-
# build_command: "BuildCommand",
|
2083
|
-
# start_command: "StartCommand",
|
2084
|
-
# port: "String",
|
2085
|
-
# runtime_environment_variables: {
|
2086
|
-
# "RuntimeEnvironmentVariablesKey" => "RuntimeEnvironmentVariablesValue",
|
2087
|
-
# },
|
2088
|
-
# },
|
2089
|
-
# },
|
2090
|
-
# },
|
2091
|
-
# image_repository: {
|
2092
|
-
# image_identifier: "ImageIdentifier", # required
|
2093
|
-
# image_configuration: {
|
2094
|
-
# runtime_environment_variables: {
|
2095
|
-
# "RuntimeEnvironmentVariablesKey" => "RuntimeEnvironmentVariablesValue",
|
2096
|
-
# },
|
2097
|
-
# start_command: "String",
|
2098
|
-
# port: "String",
|
2099
|
-
# },
|
2100
|
-
# image_repository_type: "ECR", # required, accepts ECR, ECR_PUBLIC
|
2101
|
-
# },
|
2102
|
-
# auto_deployments_enabled: false,
|
2103
|
-
# authentication_configuration: {
|
2104
|
-
# connection_arn: "AppRunnerResourceArn",
|
2105
|
-
# access_role_arn: "RoleArn",
|
2106
|
-
# },
|
2107
|
-
# }
|
2108
|
-
#
|
2109
2710
|
# @!attribute [rw] code_repository
|
2110
2711
|
# The description of a source code repository.
|
2111
2712
|
#
|
@@ -2150,13 +2751,6 @@ module Aws::AppRunner
|
|
2150
2751
|
include Aws::Structure
|
2151
2752
|
end
|
2152
2753
|
|
2153
|
-
# @note When making an API call, you may pass StartDeploymentRequest
|
2154
|
-
# data as a hash:
|
2155
|
-
#
|
2156
|
-
# {
|
2157
|
-
# service_arn: "AppRunnerResourceArn", # required
|
2158
|
-
# }
|
2159
|
-
#
|
2160
2754
|
# @!attribute [rw] service_arn
|
2161
2755
|
# The Amazon Resource Name (ARN) of the App Runner service that you
|
2162
2756
|
# want to manually deploy to.
|
@@ -2187,14 +2781,6 @@ module Aws::AppRunner
|
|
2187
2781
|
# Describes a tag that is applied to an App Runner resource. A tag is a
|
2188
2782
|
# metadata item consisting of a key-value pair.
|
2189
2783
|
#
|
2190
|
-
# @note When making an API call, you may pass Tag
|
2191
|
-
# data as a hash:
|
2192
|
-
#
|
2193
|
-
# {
|
2194
|
-
# key: "TagKey",
|
2195
|
-
# value: "TagValue",
|
2196
|
-
# }
|
2197
|
-
#
|
2198
2784
|
# @!attribute [rw] key
|
2199
2785
|
# The key of the tag.
|
2200
2786
|
# @return [String]
|
@@ -2212,19 +2798,6 @@ module Aws::AppRunner
|
|
2212
2798
|
include Aws::Structure
|
2213
2799
|
end
|
2214
2800
|
|
2215
|
-
# @note When making an API call, you may pass TagResourceRequest
|
2216
|
-
# data as a hash:
|
2217
|
-
#
|
2218
|
-
# {
|
2219
|
-
# resource_arn: "AppRunnerResourceArn", # required
|
2220
|
-
# tags: [ # required
|
2221
|
-
# {
|
2222
|
-
# key: "TagKey",
|
2223
|
-
# value: "TagValue",
|
2224
|
-
# },
|
2225
|
-
# ],
|
2226
|
-
# }
|
2227
|
-
#
|
2228
2801
|
# @!attribute [rw] resource_arn
|
2229
2802
|
# The Amazon Resource Name (ARN) of the resource that you want to
|
2230
2803
|
# update tags for.
|
@@ -2252,14 +2825,21 @@ module Aws::AppRunner
|
|
2252
2825
|
#
|
2253
2826
|
class TagResourceResponse < Aws::EmptyStructure; end
|
2254
2827
|
|
2255
|
-
#
|
2256
|
-
#
|
2828
|
+
# Describes the configuration of the tracing feature within an App
|
2829
|
+
# Runner observability configuration.
|
2830
|
+
#
|
2831
|
+
# @!attribute [rw] vendor
|
2832
|
+
# The implementation provider chosen for tracing App Runner services.
|
2833
|
+
# @return [String]
|
2257
2834
|
#
|
2258
|
-
#
|
2259
|
-
# resource_arn: "AppRunnerResourceArn", # required
|
2260
|
-
# tag_keys: ["TagKey"], # required
|
2261
|
-
# }
|
2835
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/TraceConfiguration AWS API Documentation
|
2262
2836
|
#
|
2837
|
+
class TraceConfiguration < Struct.new(
|
2838
|
+
:vendor)
|
2839
|
+
SENSITIVE = []
|
2840
|
+
include Aws::Structure
|
2841
|
+
end
|
2842
|
+
|
2263
2843
|
# @!attribute [rw] resource_arn
|
2264
2844
|
# The Amazon Resource Name (ARN) of the resource that you want to
|
2265
2845
|
# remove tags from.
|
@@ -2284,64 +2864,37 @@ module Aws::AppRunner
|
|
2284
2864
|
#
|
2285
2865
|
class UntagResourceResponse < Aws::EmptyStructure; end
|
2286
2866
|
|
2287
|
-
#
|
2288
|
-
#
|
2289
|
-
#
|
2290
|
-
#
|
2291
|
-
#
|
2292
|
-
#
|
2293
|
-
#
|
2294
|
-
#
|
2295
|
-
#
|
2296
|
-
#
|
2297
|
-
#
|
2298
|
-
# },
|
2299
|
-
# code_configuration: {
|
2300
|
-
# configuration_source: "REPOSITORY", # required, accepts REPOSITORY, API
|
2301
|
-
# code_configuration_values: {
|
2302
|
-
# runtime: "PYTHON_3", # required, accepts PYTHON_3, NODEJS_12
|
2303
|
-
# build_command: "BuildCommand",
|
2304
|
-
# start_command: "StartCommand",
|
2305
|
-
# port: "String",
|
2306
|
-
# runtime_environment_variables: {
|
2307
|
-
# "RuntimeEnvironmentVariablesKey" => "RuntimeEnvironmentVariablesValue",
|
2308
|
-
# },
|
2309
|
-
# },
|
2310
|
-
# },
|
2311
|
-
# },
|
2312
|
-
# image_repository: {
|
2313
|
-
# image_identifier: "ImageIdentifier", # required
|
2314
|
-
# image_configuration: {
|
2315
|
-
# runtime_environment_variables: {
|
2316
|
-
# "RuntimeEnvironmentVariablesKey" => "RuntimeEnvironmentVariablesValue",
|
2317
|
-
# },
|
2318
|
-
# start_command: "String",
|
2319
|
-
# port: "String",
|
2320
|
-
# },
|
2321
|
-
# image_repository_type: "ECR", # required, accepts ECR, ECR_PUBLIC
|
2322
|
-
# },
|
2323
|
-
# auto_deployments_enabled: false,
|
2324
|
-
# authentication_configuration: {
|
2325
|
-
# connection_arn: "AppRunnerResourceArn",
|
2326
|
-
# access_role_arn: "RoleArn",
|
2327
|
-
# },
|
2328
|
-
# },
|
2329
|
-
# instance_configuration: {
|
2330
|
-
# cpu: "Cpu",
|
2331
|
-
# memory: "Memory",
|
2332
|
-
# instance_role_arn: "RoleArn",
|
2333
|
-
# },
|
2334
|
-
# auto_scaling_configuration_arn: "AppRunnerResourceArn",
|
2335
|
-
# health_check_configuration: {
|
2336
|
-
# protocol: "TCP", # accepts TCP, HTTP
|
2337
|
-
# path: "HealthCheckPath",
|
2338
|
-
# interval: 1,
|
2339
|
-
# timeout: 1,
|
2340
|
-
# healthy_threshold: 1,
|
2341
|
-
# unhealthy_threshold: 1,
|
2342
|
-
# },
|
2343
|
-
# }
|
2867
|
+
# @!attribute [rw] auto_scaling_configuration_arn
|
2868
|
+
# The Amazon Resource Name (ARN) of the App Runner auto scaling
|
2869
|
+
# configuration that you want to set as the default.
|
2870
|
+
#
|
2871
|
+
# The ARN can be a full auto scaling configuration ARN, or a partial
|
2872
|
+
# ARN ending with either `.../name ` or `.../name/revision `. If a
|
2873
|
+
# revision isn't specified, the latest active revision is set as the
|
2874
|
+
# default.
|
2875
|
+
# @return [String]
|
2876
|
+
#
|
2877
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/UpdateDefaultAutoScalingConfigurationRequest AWS API Documentation
|
2344
2878
|
#
|
2879
|
+
class UpdateDefaultAutoScalingConfigurationRequest < Struct.new(
|
2880
|
+
:auto_scaling_configuration_arn)
|
2881
|
+
SENSITIVE = []
|
2882
|
+
include Aws::Structure
|
2883
|
+
end
|
2884
|
+
|
2885
|
+
# @!attribute [rw] auto_scaling_configuration
|
2886
|
+
# A description of the App Runner auto scaling configuration that was
|
2887
|
+
# set as default.
|
2888
|
+
# @return [Types::AutoScalingConfiguration]
|
2889
|
+
#
|
2890
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/UpdateDefaultAutoScalingConfigurationResponse AWS API Documentation
|
2891
|
+
#
|
2892
|
+
class UpdateDefaultAutoScalingConfigurationResponse < Struct.new(
|
2893
|
+
:auto_scaling_configuration)
|
2894
|
+
SENSITIVE = []
|
2895
|
+
include Aws::Structure
|
2896
|
+
end
|
2897
|
+
|
2345
2898
|
# @!attribute [rw] service_arn
|
2346
2899
|
# The Amazon Resource Name (ARN) of the App Runner service that you
|
2347
2900
|
# want to update.
|
@@ -2362,19 +2915,29 @@ module Aws::AppRunner
|
|
2362
2915
|
#
|
2363
2916
|
# @!attribute [rw] instance_configuration
|
2364
2917
|
# The runtime configuration to apply to instances (scaling units) of
|
2365
|
-
#
|
2918
|
+
# your service.
|
2366
2919
|
# @return [Types::InstanceConfiguration]
|
2367
2920
|
#
|
2368
2921
|
# @!attribute [rw] auto_scaling_configuration_arn
|
2369
2922
|
# The Amazon Resource Name (ARN) of an App Runner automatic scaling
|
2370
|
-
# configuration resource that you want to associate with
|
2923
|
+
# configuration resource that you want to associate with the App
|
2924
|
+
# Runner service.
|
2371
2925
|
# @return [String]
|
2372
2926
|
#
|
2373
2927
|
# @!attribute [rw] health_check_configuration
|
2374
2928
|
# The settings for the health check that App Runner performs to
|
2375
|
-
# monitor the health of
|
2929
|
+
# monitor the health of the App Runner service.
|
2376
2930
|
# @return [Types::HealthCheckConfiguration]
|
2377
2931
|
#
|
2932
|
+
# @!attribute [rw] network_configuration
|
2933
|
+
# Configuration settings related to network traffic of the web
|
2934
|
+
# application that the App Runner service runs.
|
2935
|
+
# @return [Types::NetworkConfiguration]
|
2936
|
+
#
|
2937
|
+
# @!attribute [rw] observability_configuration
|
2938
|
+
# The observability configuration of your service.
|
2939
|
+
# @return [Types::ServiceObservabilityConfiguration]
|
2940
|
+
#
|
2378
2941
|
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/UpdateServiceRequest AWS API Documentation
|
2379
2942
|
#
|
2380
2943
|
class UpdateServiceRequest < Struct.new(
|
@@ -2382,7 +2945,9 @@ module Aws::AppRunner
|
|
2382
2945
|
:source_configuration,
|
2383
2946
|
:instance_configuration,
|
2384
2947
|
:auto_scaling_configuration_arn,
|
2385
|
-
:health_check_configuration
|
2948
|
+
:health_check_configuration,
|
2949
|
+
:network_configuration,
|
2950
|
+
:observability_configuration)
|
2386
2951
|
SENSITIVE = []
|
2387
2952
|
include Aws::Structure
|
2388
2953
|
end
|
@@ -2408,5 +2973,235 @@ module Aws::AppRunner
|
|
2408
2973
|
include Aws::Structure
|
2409
2974
|
end
|
2410
2975
|
|
2976
|
+
# @!attribute [rw] vpc_ingress_connection_arn
|
2977
|
+
# The Amazon Resource Name (Arn) for the App Runner VPC Ingress
|
2978
|
+
# Connection resource that you want to update.
|
2979
|
+
# @return [String]
|
2980
|
+
#
|
2981
|
+
# @!attribute [rw] ingress_vpc_configuration
|
2982
|
+
# Specifications for the customer’s Amazon VPC and the related Amazon
|
2983
|
+
# Web Services PrivateLink VPC endpoint that are used to update the
|
2984
|
+
# VPC Ingress Connection resource.
|
2985
|
+
# @return [Types::IngressVpcConfiguration]
|
2986
|
+
#
|
2987
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/UpdateVpcIngressConnectionRequest AWS API Documentation
|
2988
|
+
#
|
2989
|
+
class UpdateVpcIngressConnectionRequest < Struct.new(
|
2990
|
+
:vpc_ingress_connection_arn,
|
2991
|
+
:ingress_vpc_configuration)
|
2992
|
+
SENSITIVE = []
|
2993
|
+
include Aws::Structure
|
2994
|
+
end
|
2995
|
+
|
2996
|
+
# @!attribute [rw] vpc_ingress_connection
|
2997
|
+
# A description of the App Runner VPC Ingress Connection resource
|
2998
|
+
# that's updated by this request.
|
2999
|
+
# @return [Types::VpcIngressConnection]
|
3000
|
+
#
|
3001
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/UpdateVpcIngressConnectionResponse AWS API Documentation
|
3002
|
+
#
|
3003
|
+
class UpdateVpcIngressConnectionResponse < Struct.new(
|
3004
|
+
:vpc_ingress_connection)
|
3005
|
+
SENSITIVE = []
|
3006
|
+
include Aws::Structure
|
3007
|
+
end
|
3008
|
+
|
3009
|
+
# Describes an App Runner VPC connector resource. A VPC connector
|
3010
|
+
# describes the Amazon Virtual Private Cloud (Amazon VPC) that an App
|
3011
|
+
# Runner service is associated with, and the subnets and security group
|
3012
|
+
# that are used.
|
3013
|
+
#
|
3014
|
+
# Multiple revisions of a connector might have the same `Name` and
|
3015
|
+
# different `Revision` values.
|
3016
|
+
#
|
3017
|
+
# <note markdown="1"> At this time, App Runner supports only one revision per name.
|
3018
|
+
#
|
3019
|
+
# </note>
|
3020
|
+
#
|
3021
|
+
# @!attribute [rw] vpc_connector_name
|
3022
|
+
# The customer-provided VPC connector name.
|
3023
|
+
# @return [String]
|
3024
|
+
#
|
3025
|
+
# @!attribute [rw] vpc_connector_arn
|
3026
|
+
# The Amazon Resource Name (ARN) of this VPC connector.
|
3027
|
+
# @return [String]
|
3028
|
+
#
|
3029
|
+
# @!attribute [rw] vpc_connector_revision
|
3030
|
+
# The revision of this VPC connector. It's unique among all the
|
3031
|
+
# active connectors (`"Status": "ACTIVE"`) that share the same `Name`.
|
3032
|
+
#
|
3033
|
+
# <note markdown="1"> At this time, App Runner supports only one revision per name.
|
3034
|
+
#
|
3035
|
+
# </note>
|
3036
|
+
# @return [Integer]
|
3037
|
+
#
|
3038
|
+
# @!attribute [rw] subnets
|
3039
|
+
# A list of IDs of subnets that App Runner uses for your service. All
|
3040
|
+
# IDs are of subnets of a single Amazon VPC.
|
3041
|
+
# @return [Array<String>]
|
3042
|
+
#
|
3043
|
+
# @!attribute [rw] security_groups
|
3044
|
+
# A list of IDs of security groups that App Runner uses for access to
|
3045
|
+
# Amazon Web Services resources under the specified subnets. If not
|
3046
|
+
# specified, App Runner uses the default security group of the Amazon
|
3047
|
+
# VPC. The default security group allows all outbound traffic.
|
3048
|
+
# @return [Array<String>]
|
3049
|
+
#
|
3050
|
+
# @!attribute [rw] status
|
3051
|
+
# The current state of the VPC connector. If the status of a connector
|
3052
|
+
# revision is `INACTIVE`, it was deleted and can't be used. Inactive
|
3053
|
+
# connector revisions are permanently removed some time after they are
|
3054
|
+
# deleted.
|
3055
|
+
# @return [String]
|
3056
|
+
#
|
3057
|
+
# @!attribute [rw] created_at
|
3058
|
+
# The time when the VPC connector was created. It's in Unix time
|
3059
|
+
# stamp format.
|
3060
|
+
# @return [Time]
|
3061
|
+
#
|
3062
|
+
# @!attribute [rw] deleted_at
|
3063
|
+
# The time when the VPC connector was deleted. It's in Unix time
|
3064
|
+
# stamp format.
|
3065
|
+
# @return [Time]
|
3066
|
+
#
|
3067
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/VpcConnector AWS API Documentation
|
3068
|
+
#
|
3069
|
+
class VpcConnector < Struct.new(
|
3070
|
+
:vpc_connector_name,
|
3071
|
+
:vpc_connector_arn,
|
3072
|
+
:vpc_connector_revision,
|
3073
|
+
:subnets,
|
3074
|
+
:security_groups,
|
3075
|
+
:status,
|
3076
|
+
:created_at,
|
3077
|
+
:deleted_at)
|
3078
|
+
SENSITIVE = []
|
3079
|
+
include Aws::Structure
|
3080
|
+
end
|
3081
|
+
|
3082
|
+
# DNS Target record for a custom domain of this Amazon VPC.
|
3083
|
+
#
|
3084
|
+
# @!attribute [rw] vpc_ingress_connection_arn
|
3085
|
+
# The Amazon Resource Name (ARN) of the VPC Ingress Connection that is
|
3086
|
+
# associated with your service.
|
3087
|
+
# @return [String]
|
3088
|
+
#
|
3089
|
+
# @!attribute [rw] vpc_id
|
3090
|
+
# The ID of the Amazon VPC that is associated with the custom domain
|
3091
|
+
# name of the target DNS.
|
3092
|
+
# @return [String]
|
3093
|
+
#
|
3094
|
+
# @!attribute [rw] domain_name
|
3095
|
+
# The domain name of your target DNS that is associated with the
|
3096
|
+
# Amazon VPC.
|
3097
|
+
# @return [String]
|
3098
|
+
#
|
3099
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/VpcDNSTarget AWS API Documentation
|
3100
|
+
#
|
3101
|
+
class VpcDNSTarget < Struct.new(
|
3102
|
+
:vpc_ingress_connection_arn,
|
3103
|
+
:vpc_id,
|
3104
|
+
:domain_name)
|
3105
|
+
SENSITIVE = []
|
3106
|
+
include Aws::Structure
|
3107
|
+
end
|
3108
|
+
|
3109
|
+
# The App Runner resource that specifies an App Runner endpoint for
|
3110
|
+
# incoming traffic. It establishes a connection between a VPC interface
|
3111
|
+
# endpoint and a App Runner service, to make your App Runner service
|
3112
|
+
# accessible from only within an Amazon VPC.
|
3113
|
+
#
|
3114
|
+
# @!attribute [rw] vpc_ingress_connection_arn
|
3115
|
+
# The Amazon Resource Name (ARN) of the VPC Ingress Connection.
|
3116
|
+
# @return [String]
|
3117
|
+
#
|
3118
|
+
# @!attribute [rw] vpc_ingress_connection_name
|
3119
|
+
# The customer-provided VPC Ingress Connection name.
|
3120
|
+
# @return [String]
|
3121
|
+
#
|
3122
|
+
# @!attribute [rw] service_arn
|
3123
|
+
# The Amazon Resource Name (ARN) of the service associated with the
|
3124
|
+
# VPC Ingress Connection.
|
3125
|
+
# @return [String]
|
3126
|
+
#
|
3127
|
+
# @!attribute [rw] status
|
3128
|
+
# The current status of the VPC Ingress Connection. The VPC Ingress
|
3129
|
+
# Connection displays one of the following statuses: `AVAILABLE`,
|
3130
|
+
# `PENDING_CREATION`, `PENDING_UPDATE`,
|
3131
|
+
# `PENDING_DELETION`,`FAILED_CREATION`, `FAILED_UPDATE`,
|
3132
|
+
# `FAILED_DELETION`, and `DELETED`..
|
3133
|
+
# @return [String]
|
3134
|
+
#
|
3135
|
+
# @!attribute [rw] account_id
|
3136
|
+
# The Account Id you use to create the VPC Ingress Connection
|
3137
|
+
# resource.
|
3138
|
+
# @return [String]
|
3139
|
+
#
|
3140
|
+
# @!attribute [rw] domain_name
|
3141
|
+
# The domain name associated with the VPC Ingress Connection resource.
|
3142
|
+
# @return [String]
|
3143
|
+
#
|
3144
|
+
# @!attribute [rw] ingress_vpc_configuration
|
3145
|
+
# Specifications for the customer’s VPC and related PrivateLink VPC
|
3146
|
+
# endpoint that are used to associate with the VPC Ingress Connection
|
3147
|
+
# resource.
|
3148
|
+
# @return [Types::IngressVpcConfiguration]
|
3149
|
+
#
|
3150
|
+
# @!attribute [rw] created_at
|
3151
|
+
# The time when the VPC Ingress Connection was created. It's in the
|
3152
|
+
# Unix time stamp format.
|
3153
|
+
#
|
3154
|
+
# * Type: Timestamp
|
3155
|
+
#
|
3156
|
+
# * Required: Yes
|
3157
|
+
# @return [Time]
|
3158
|
+
#
|
3159
|
+
# @!attribute [rw] deleted_at
|
3160
|
+
# The time when the App Runner service was deleted. It's in the Unix
|
3161
|
+
# time stamp format.
|
3162
|
+
#
|
3163
|
+
# * Type: Timestamp
|
3164
|
+
#
|
3165
|
+
# * Required: No
|
3166
|
+
# @return [Time]
|
3167
|
+
#
|
3168
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/VpcIngressConnection AWS API Documentation
|
3169
|
+
#
|
3170
|
+
class VpcIngressConnection < Struct.new(
|
3171
|
+
:vpc_ingress_connection_arn,
|
3172
|
+
:vpc_ingress_connection_name,
|
3173
|
+
:service_arn,
|
3174
|
+
:status,
|
3175
|
+
:account_id,
|
3176
|
+
:domain_name,
|
3177
|
+
:ingress_vpc_configuration,
|
3178
|
+
:created_at,
|
3179
|
+
:deleted_at)
|
3180
|
+
SENSITIVE = []
|
3181
|
+
include Aws::Structure
|
3182
|
+
end
|
3183
|
+
|
3184
|
+
# Provides summary information about an VPC Ingress Connection, which
|
3185
|
+
# includes its VPC Ingress Connection ARN and its associated Service
|
3186
|
+
# ARN.
|
3187
|
+
#
|
3188
|
+
# @!attribute [rw] vpc_ingress_connection_arn
|
3189
|
+
# The Amazon Resource Name (ARN) of the VPC Ingress Connection.
|
3190
|
+
# @return [String]
|
3191
|
+
#
|
3192
|
+
# @!attribute [rw] service_arn
|
3193
|
+
# The Amazon Resource Name (ARN) of the service associated with the
|
3194
|
+
# VPC Ingress Connection.
|
3195
|
+
# @return [String]
|
3196
|
+
#
|
3197
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/VpcIngressConnectionSummary AWS API Documentation
|
3198
|
+
#
|
3199
|
+
class VpcIngressConnectionSummary < Struct.new(
|
3200
|
+
:vpc_ingress_connection_arn,
|
3201
|
+
:service_arn)
|
3202
|
+
SENSITIVE = []
|
3203
|
+
include Aws::Structure
|
3204
|
+
end
|
3205
|
+
|
2411
3206
|
end
|
2412
3207
|
end
|