aws-sdk-apprunner 1.8.0 → 1.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +15 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-apprunner/client.rb +275 -28
- data/lib/aws-sdk-apprunner/client_api.rb +119 -1
- data/lib/aws-sdk-apprunner/types.rb +395 -31
- data/lib/aws-sdk-apprunner.rb +1 -1
- metadata +4 -4
@@ -106,9 +106,6 @@ module Aws::AppRunner
|
|
106
106
|
end
|
107
107
|
|
108
108
|
# 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
109
|
#
|
113
110
|
# A higher `MinSize` increases the spread of your App Runner service
|
114
111
|
# over more Availability Zones in the Amazon Web Services Region. The
|
@@ -117,6 +114,10 @@ module Aws::AppRunner
|
|
117
114
|
# A lower `MaxSize` controls your cost. The tradeoff is lower
|
118
115
|
# responsiveness during peak demand.
|
119
116
|
#
|
117
|
+
# Multiple revisions of a configuration might have the same
|
118
|
+
# `AutoScalingConfigurationName` and different
|
119
|
+
# `AutoScalingConfigurationRevision` values.
|
120
|
+
#
|
120
121
|
# @!attribute [rw] auto_scaling_configuration_arn
|
121
122
|
# The Amazon Resource Name (ARN) of this auto scaling configuration.
|
122
123
|
# @return [String]
|
@@ -278,7 +279,7 @@ module Aws::AppRunner
|
|
278
279
|
# {
|
279
280
|
# configuration_source: "REPOSITORY", # required, accepts REPOSITORY, API
|
280
281
|
# code_configuration_values: {
|
281
|
-
# runtime: "PYTHON_3", # required, accepts PYTHON_3, NODEJS_12
|
282
|
+
# runtime: "PYTHON_3", # required, accepts PYTHON_3, NODEJS_12, NODEJS_14, CORRETTO_8, CORRETTO_11
|
282
283
|
# build_command: "BuildCommand",
|
283
284
|
# start_command: "StartCommand",
|
284
285
|
# port: "String",
|
@@ -326,7 +327,7 @@ module Aws::AppRunner
|
|
326
327
|
# data as a hash:
|
327
328
|
#
|
328
329
|
# {
|
329
|
-
# runtime: "PYTHON_3", # required, accepts PYTHON_3, NODEJS_12
|
330
|
+
# runtime: "PYTHON_3", # required, accepts PYTHON_3, NODEJS_12, NODEJS_14, CORRETTO_8, CORRETTO_11
|
330
331
|
# build_command: "BuildCommand",
|
331
332
|
# start_command: "StartCommand",
|
332
333
|
# port: "String",
|
@@ -386,7 +387,7 @@ module Aws::AppRunner
|
|
386
387
|
# code_configuration: {
|
387
388
|
# configuration_source: "REPOSITORY", # required, accepts REPOSITORY, API
|
388
389
|
# code_configuration_values: {
|
389
|
-
# runtime: "PYTHON_3", # required, accepts PYTHON_3, NODEJS_12
|
390
|
+
# runtime: "PYTHON_3", # required, accepts PYTHON_3, NODEJS_12, NODEJS_14, CORRETTO_8, CORRETTO_11
|
390
391
|
# build_command: "BuildCommand",
|
391
392
|
# start_command: "StartCommand",
|
392
393
|
# port: "String",
|
@@ -516,6 +517,17 @@ module Aws::AppRunner
|
|
516
517
|
# revision number `1` of this name. When you use the same name in
|
517
518
|
# subsequent calls, App Runner creates incremental revisions of the
|
518
519
|
# configuration.
|
520
|
+
#
|
521
|
+
# <note markdown="1"> The name `DefaultConfiguration` is reserved (it's the configuration
|
522
|
+
# that App Runner uses if you don't provide a custome one). You
|
523
|
+
# can't use it to create a new auto scaling configuration, and you
|
524
|
+
# can't create a revision of it.
|
525
|
+
#
|
526
|
+
# When you want to use your own auto scaling configuration for your
|
527
|
+
# App Runner service, *create a configuration with a different name*,
|
528
|
+
# and then provide it when you create or update your service.
|
529
|
+
#
|
530
|
+
# </note>
|
519
531
|
# @return [String]
|
520
532
|
#
|
521
533
|
# @!attribute [rw] max_concurrency
|
@@ -646,7 +658,7 @@ module Aws::AppRunner
|
|
646
658
|
# code_configuration: {
|
647
659
|
# configuration_source: "REPOSITORY", # required, accepts REPOSITORY, API
|
648
660
|
# code_configuration_values: {
|
649
|
-
# runtime: "PYTHON_3", # required, accepts PYTHON_3, NODEJS_12
|
661
|
+
# runtime: "PYTHON_3", # required, accepts PYTHON_3, NODEJS_12, NODEJS_14, CORRETTO_8, CORRETTO_11
|
650
662
|
# build_command: "BuildCommand",
|
651
663
|
# start_command: "StartCommand",
|
652
664
|
# port: "String",
|
@@ -662,7 +674,7 @@ module Aws::AppRunner
|
|
662
674
|
# runtime_environment_variables: {
|
663
675
|
# "RuntimeEnvironmentVariablesKey" => "RuntimeEnvironmentVariablesValue",
|
664
676
|
# },
|
665
|
-
# start_command: "
|
677
|
+
# start_command: "StartCommand",
|
666
678
|
# port: "String",
|
667
679
|
# },
|
668
680
|
# image_repository_type: "ECR", # required, accepts ECR, ECR_PUBLIC
|
@@ -696,12 +708,18 @@ module Aws::AppRunner
|
|
696
708
|
# unhealthy_threshold: 1,
|
697
709
|
# },
|
698
710
|
# auto_scaling_configuration_arn: "AppRunnerResourceArn",
|
711
|
+
# network_configuration: {
|
712
|
+
# egress_configuration: {
|
713
|
+
# egress_type: "DEFAULT", # accepts DEFAULT, VPC
|
714
|
+
# vpc_connector_arn: "AppRunnerResourceArn",
|
715
|
+
# },
|
716
|
+
# },
|
699
717
|
# }
|
700
718
|
#
|
701
719
|
# @!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.
|
720
|
+
# A name for the App Runner service. It must be unique across all the
|
721
|
+
# running App Runner services in your Amazon Web Services account in
|
722
|
+
# the Amazon Web Services Region.
|
705
723
|
# @return [String]
|
706
724
|
#
|
707
725
|
# @!attribute [rw] source_configuration
|
@@ -715,29 +733,34 @@ module Aws::AppRunner
|
|
715
733
|
# @return [Types::InstanceConfiguration]
|
716
734
|
#
|
717
735
|
# @!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.
|
736
|
+
# An optional list of metadata items that you can associate with the
|
737
|
+
# App Runner service resource. A tag is a key-value pair.
|
720
738
|
# @return [Array<Types::Tag>]
|
721
739
|
#
|
722
740
|
# @!attribute [rw] encryption_configuration
|
723
741
|
# An optional custom encryption key that App Runner uses to encrypt
|
724
742
|
# the copy of your source repository that it maintains and your
|
725
743
|
# service logs. By default, App Runner uses an Amazon Web Services
|
726
|
-
# managed
|
744
|
+
# managed key.
|
727
745
|
# @return [Types::EncryptionConfiguration]
|
728
746
|
#
|
729
747
|
# @!attribute [rw] health_check_configuration
|
730
748
|
# The settings for the health check that App Runner performs to
|
731
|
-
# monitor the health of
|
749
|
+
# monitor the health of the App Runner service.
|
732
750
|
# @return [Types::HealthCheckConfiguration]
|
733
751
|
#
|
734
752
|
# @!attribute [rw] auto_scaling_configuration_arn
|
735
753
|
# The Amazon Resource Name (ARN) of an App Runner automatic scaling
|
736
|
-
# configuration resource that you want to associate with
|
737
|
-
# If not provided, App Runner associates the latest
|
738
|
-
# default auto scaling configuration.
|
754
|
+
# configuration resource that you want to associate with the App
|
755
|
+
# Runner service. If not provided, App Runner associates the latest
|
756
|
+
# revision of a default auto scaling configuration.
|
739
757
|
# @return [String]
|
740
758
|
#
|
759
|
+
# @!attribute [rw] network_configuration
|
760
|
+
# Configuration settings related to network traffic of the web
|
761
|
+
# application that the App Runner service runs.
|
762
|
+
# @return [Types::NetworkConfiguration]
|
763
|
+
#
|
741
764
|
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/CreateServiceRequest AWS API Documentation
|
742
765
|
#
|
743
766
|
class CreateServiceRequest < Struct.new(
|
@@ -747,7 +770,8 @@ module Aws::AppRunner
|
|
747
770
|
:tags,
|
748
771
|
:encryption_configuration,
|
749
772
|
:health_check_configuration,
|
750
|
-
:auto_scaling_configuration_arn
|
773
|
+
:auto_scaling_configuration_arn,
|
774
|
+
:network_configuration)
|
751
775
|
SENSITIVE = []
|
752
776
|
include Aws::Structure
|
753
777
|
end
|
@@ -776,6 +800,68 @@ module Aws::AppRunner
|
|
776
800
|
include Aws::Structure
|
777
801
|
end
|
778
802
|
|
803
|
+
# @note When making an API call, you may pass CreateVpcConnectorRequest
|
804
|
+
# data as a hash:
|
805
|
+
#
|
806
|
+
# {
|
807
|
+
# vpc_connector_name: "VpcConnectorName", # required
|
808
|
+
# subnets: ["String"], # required
|
809
|
+
# security_groups: ["String"],
|
810
|
+
# tags: [
|
811
|
+
# {
|
812
|
+
# key: "TagKey",
|
813
|
+
# value: "TagValue",
|
814
|
+
# },
|
815
|
+
# ],
|
816
|
+
# }
|
817
|
+
#
|
818
|
+
# @!attribute [rw] vpc_connector_name
|
819
|
+
# A name for the VPC connector.
|
820
|
+
# @return [String]
|
821
|
+
#
|
822
|
+
# @!attribute [rw] subnets
|
823
|
+
# A list of IDs of subnets that App Runner should use when it
|
824
|
+
# associates your service with a custom Amazon VPC. Specify IDs of
|
825
|
+
# subnets of a single Amazon VPC. App Runner determines the Amazon VPC
|
826
|
+
# from the subnets you specify.
|
827
|
+
# @return [Array<String>]
|
828
|
+
#
|
829
|
+
# @!attribute [rw] security_groups
|
830
|
+
# A list of IDs of security groups that App Runner should use for
|
831
|
+
# access to Amazon Web Services resources under the specified subnets.
|
832
|
+
# If not specified, App Runner uses the default security group of the
|
833
|
+
# Amazon VPC. The default security group allows all outbound traffic.
|
834
|
+
# @return [Array<String>]
|
835
|
+
#
|
836
|
+
# @!attribute [rw] tags
|
837
|
+
# A list of metadata items that you can associate with your VPC
|
838
|
+
# connector resource. A tag is a key-value pair.
|
839
|
+
# @return [Array<Types::Tag>]
|
840
|
+
#
|
841
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/CreateVpcConnectorRequest AWS API Documentation
|
842
|
+
#
|
843
|
+
class CreateVpcConnectorRequest < Struct.new(
|
844
|
+
:vpc_connector_name,
|
845
|
+
:subnets,
|
846
|
+
:security_groups,
|
847
|
+
:tags)
|
848
|
+
SENSITIVE = []
|
849
|
+
include Aws::Structure
|
850
|
+
end
|
851
|
+
|
852
|
+
# @!attribute [rw] vpc_connector
|
853
|
+
# A description of the App Runner VPC connector that's created by
|
854
|
+
# this request.
|
855
|
+
# @return [Types::VpcConnector]
|
856
|
+
#
|
857
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/CreateVpcConnectorResponse AWS API Documentation
|
858
|
+
#
|
859
|
+
class CreateVpcConnectorResponse < Struct.new(
|
860
|
+
:vpc_connector)
|
861
|
+
SENSITIVE = []
|
862
|
+
include Aws::Structure
|
863
|
+
end
|
864
|
+
|
779
865
|
# Describes a custom domain that's associated with an App Runner
|
780
866
|
# service.
|
781
867
|
#
|
@@ -921,6 +1007,41 @@ module Aws::AppRunner
|
|
921
1007
|
include Aws::Structure
|
922
1008
|
end
|
923
1009
|
|
1010
|
+
# @note When making an API call, you may pass DeleteVpcConnectorRequest
|
1011
|
+
# data as a hash:
|
1012
|
+
#
|
1013
|
+
# {
|
1014
|
+
# vpc_connector_arn: "AppRunnerResourceArn", # required
|
1015
|
+
# }
|
1016
|
+
#
|
1017
|
+
# @!attribute [rw] vpc_connector_arn
|
1018
|
+
# The Amazon Resource Name (ARN) of the App Runner VPC connector that
|
1019
|
+
# you want to delete.
|
1020
|
+
#
|
1021
|
+
# The ARN must be a full VPC connector ARN.
|
1022
|
+
# @return [String]
|
1023
|
+
#
|
1024
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/DeleteVpcConnectorRequest AWS API Documentation
|
1025
|
+
#
|
1026
|
+
class DeleteVpcConnectorRequest < Struct.new(
|
1027
|
+
:vpc_connector_arn)
|
1028
|
+
SENSITIVE = []
|
1029
|
+
include Aws::Structure
|
1030
|
+
end
|
1031
|
+
|
1032
|
+
# @!attribute [rw] vpc_connector
|
1033
|
+
# A description of the App Runner VPC connector that this request just
|
1034
|
+
# deleted.
|
1035
|
+
# @return [Types::VpcConnector]
|
1036
|
+
#
|
1037
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/DeleteVpcConnectorResponse AWS API Documentation
|
1038
|
+
#
|
1039
|
+
class DeleteVpcConnectorResponse < Struct.new(
|
1040
|
+
:vpc_connector)
|
1041
|
+
SENSITIVE = []
|
1042
|
+
include Aws::Structure
|
1043
|
+
end
|
1044
|
+
|
924
1045
|
# @note When making an API call, you may pass DescribeAutoScalingConfigurationRequest
|
925
1046
|
# data as a hash:
|
926
1047
|
#
|
@@ -1065,6 +1186,41 @@ module Aws::AppRunner
|
|
1065
1186
|
include Aws::Structure
|
1066
1187
|
end
|
1067
1188
|
|
1189
|
+
# @note When making an API call, you may pass DescribeVpcConnectorRequest
|
1190
|
+
# data as a hash:
|
1191
|
+
#
|
1192
|
+
# {
|
1193
|
+
# vpc_connector_arn: "AppRunnerResourceArn", # required
|
1194
|
+
# }
|
1195
|
+
#
|
1196
|
+
# @!attribute [rw] vpc_connector_arn
|
1197
|
+
# The Amazon Resource Name (ARN) of the App Runner VPC connector that
|
1198
|
+
# you want a description for.
|
1199
|
+
#
|
1200
|
+
# The ARN must be a full VPC connector ARN.
|
1201
|
+
# @return [String]
|
1202
|
+
#
|
1203
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/DescribeVpcConnectorRequest AWS API Documentation
|
1204
|
+
#
|
1205
|
+
class DescribeVpcConnectorRequest < Struct.new(
|
1206
|
+
:vpc_connector_arn)
|
1207
|
+
SENSITIVE = []
|
1208
|
+
include Aws::Structure
|
1209
|
+
end
|
1210
|
+
|
1211
|
+
# @!attribute [rw] vpc_connector
|
1212
|
+
# A description of the App Runner VPC connector that you specified in
|
1213
|
+
# this request.
|
1214
|
+
# @return [Types::VpcConnector]
|
1215
|
+
#
|
1216
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/DescribeVpcConnectorResponse AWS API Documentation
|
1217
|
+
#
|
1218
|
+
class DescribeVpcConnectorResponse < Struct.new(
|
1219
|
+
:vpc_connector)
|
1220
|
+
SENSITIVE = []
|
1221
|
+
include Aws::Structure
|
1222
|
+
end
|
1223
|
+
|
1068
1224
|
# @note When making an API call, you may pass DisassociateCustomDomainRequest
|
1069
1225
|
# data as a hash:
|
1070
1226
|
#
|
@@ -1116,6 +1272,41 @@ module Aws::AppRunner
|
|
1116
1272
|
include Aws::Structure
|
1117
1273
|
end
|
1118
1274
|
|
1275
|
+
# Describes configuration settings related to outbound network traffic
|
1276
|
+
# of an App Runner service.
|
1277
|
+
#
|
1278
|
+
# @note When making an API call, you may pass EgressConfiguration
|
1279
|
+
# data as a hash:
|
1280
|
+
#
|
1281
|
+
# {
|
1282
|
+
# egress_type: "DEFAULT", # accepts DEFAULT, VPC
|
1283
|
+
# vpc_connector_arn: "AppRunnerResourceArn",
|
1284
|
+
# }
|
1285
|
+
#
|
1286
|
+
# @!attribute [rw] egress_type
|
1287
|
+
# The type of egress configuration.
|
1288
|
+
#
|
1289
|
+
# Set to `DEFAULT` for access to resources hosted on public networks.
|
1290
|
+
#
|
1291
|
+
# Set to `VPC` to associate your service to a custom VPC specified by
|
1292
|
+
# `VpcConnectorArn`.
|
1293
|
+
# @return [String]
|
1294
|
+
#
|
1295
|
+
# @!attribute [rw] vpc_connector_arn
|
1296
|
+
# The Amazon Resource Name (ARN) of the App Runner VPC connector that
|
1297
|
+
# you want to associate with your App Runner service. Only valid when
|
1298
|
+
# `EgressType = VPC`.
|
1299
|
+
# @return [String]
|
1300
|
+
#
|
1301
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/EgressConfiguration AWS API Documentation
|
1302
|
+
#
|
1303
|
+
class EgressConfiguration < Struct.new(
|
1304
|
+
:egress_type,
|
1305
|
+
:vpc_connector_arn)
|
1306
|
+
SENSITIVE = []
|
1307
|
+
include Aws::Structure
|
1308
|
+
end
|
1309
|
+
|
1119
1310
|
# Describes a custom encryption key that App Runner uses to encrypt
|
1120
1311
|
# copies of the source repository and service logs.
|
1121
1312
|
#
|
@@ -1221,7 +1412,7 @@ module Aws::AppRunner
|
|
1221
1412
|
# runtime_environment_variables: {
|
1222
1413
|
# "RuntimeEnvironmentVariablesKey" => "RuntimeEnvironmentVariablesValue",
|
1223
1414
|
# },
|
1224
|
-
# start_command: "
|
1415
|
+
# start_command: "StartCommand",
|
1225
1416
|
# port: "String",
|
1226
1417
|
# }
|
1227
1418
|
#
|
@@ -1249,7 +1440,7 @@ module Aws::AppRunner
|
|
1249
1440
|
:runtime_environment_variables,
|
1250
1441
|
:start_command,
|
1251
1442
|
:port)
|
1252
|
-
SENSITIVE = []
|
1443
|
+
SENSITIVE = [:start_command]
|
1253
1444
|
include Aws::Structure
|
1254
1445
|
end
|
1255
1446
|
|
@@ -1264,7 +1455,7 @@ module Aws::AppRunner
|
|
1264
1455
|
# runtime_environment_variables: {
|
1265
1456
|
# "RuntimeEnvironmentVariablesKey" => "RuntimeEnvironmentVariablesValue",
|
1266
1457
|
# },
|
1267
|
-
# start_command: "
|
1458
|
+
# start_command: "StartCommand",
|
1268
1459
|
# port: "String",
|
1269
1460
|
# },
|
1270
1461
|
# image_repository_type: "ECR", # required, accepts ECR, ECR_PUBLIC
|
@@ -1674,6 +1865,87 @@ module Aws::AppRunner
|
|
1674
1865
|
include Aws::Structure
|
1675
1866
|
end
|
1676
1867
|
|
1868
|
+
# @note When making an API call, you may pass ListVpcConnectorsRequest
|
1869
|
+
# data as a hash:
|
1870
|
+
#
|
1871
|
+
# {
|
1872
|
+
# max_results: 1,
|
1873
|
+
# next_token: "NextToken",
|
1874
|
+
# }
|
1875
|
+
#
|
1876
|
+
# @!attribute [rw] max_results
|
1877
|
+
# The maximum number of results to include in each response (result
|
1878
|
+
# page). It's used for a paginated request.
|
1879
|
+
#
|
1880
|
+
# If you don't specify `MaxResults`, the request retrieves all
|
1881
|
+
# available results in a single response.
|
1882
|
+
# @return [Integer]
|
1883
|
+
#
|
1884
|
+
# @!attribute [rw] next_token
|
1885
|
+
# A token from a previous result page. It's used for a paginated
|
1886
|
+
# request. The request retrieves the next result page. All other
|
1887
|
+
# parameter values must be identical to the ones that are specified in
|
1888
|
+
# the initial request.
|
1889
|
+
#
|
1890
|
+
# If you don't specify `NextToken`, the request retrieves the first
|
1891
|
+
# result page.
|
1892
|
+
# @return [String]
|
1893
|
+
#
|
1894
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/ListVpcConnectorsRequest AWS API Documentation
|
1895
|
+
#
|
1896
|
+
class ListVpcConnectorsRequest < Struct.new(
|
1897
|
+
:max_results,
|
1898
|
+
:next_token)
|
1899
|
+
SENSITIVE = []
|
1900
|
+
include Aws::Structure
|
1901
|
+
end
|
1902
|
+
|
1903
|
+
# @!attribute [rw] vpc_connectors
|
1904
|
+
# A list of information records for VPC connectors. In a paginated
|
1905
|
+
# request, the request returns up to `MaxResults` records for each
|
1906
|
+
# call.
|
1907
|
+
# @return [Array<Types::VpcConnector>]
|
1908
|
+
#
|
1909
|
+
# @!attribute [rw] next_token
|
1910
|
+
# The token that you can pass in a subsequent request to get the next
|
1911
|
+
# result page. It's returned in a paginated request.
|
1912
|
+
# @return [String]
|
1913
|
+
#
|
1914
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/ListVpcConnectorsResponse AWS API Documentation
|
1915
|
+
#
|
1916
|
+
class ListVpcConnectorsResponse < Struct.new(
|
1917
|
+
:vpc_connectors,
|
1918
|
+
:next_token)
|
1919
|
+
SENSITIVE = []
|
1920
|
+
include Aws::Structure
|
1921
|
+
end
|
1922
|
+
|
1923
|
+
# Describes configuration settings related to network traffic of an App
|
1924
|
+
# Runner service. Consists of embedded objects for each configurable
|
1925
|
+
# network feature.
|
1926
|
+
#
|
1927
|
+
# @note When making an API call, you may pass NetworkConfiguration
|
1928
|
+
# data as a hash:
|
1929
|
+
#
|
1930
|
+
# {
|
1931
|
+
# egress_configuration: {
|
1932
|
+
# egress_type: "DEFAULT", # accepts DEFAULT, VPC
|
1933
|
+
# vpc_connector_arn: "AppRunnerResourceArn",
|
1934
|
+
# },
|
1935
|
+
# }
|
1936
|
+
#
|
1937
|
+
# @!attribute [rw] egress_configuration
|
1938
|
+
# Network configuration settings for outbound message traffic.
|
1939
|
+
# @return [Types::EgressConfiguration]
|
1940
|
+
#
|
1941
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/NetworkConfiguration AWS API Documentation
|
1942
|
+
#
|
1943
|
+
class NetworkConfiguration < Struct.new(
|
1944
|
+
:egress_configuration)
|
1945
|
+
SENSITIVE = []
|
1946
|
+
include Aws::Structure
|
1947
|
+
end
|
1948
|
+
|
1677
1949
|
# Provides summary information for an operation that occurred on an App
|
1678
1950
|
# Runner service.
|
1679
1951
|
#
|
@@ -1900,7 +2172,7 @@ module Aws::AppRunner
|
|
1900
2172
|
# The encryption key that App Runner uses to encrypt the service logs
|
1901
2173
|
# and the copy of the source repository that App Runner maintains for
|
1902
2174
|
# the service. It can be either a customer-provided encryption key or
|
1903
|
-
# an Amazon Web Services managed
|
2175
|
+
# an Amazon Web Services managed key.
|
1904
2176
|
# @return [Types::EncryptionConfiguration]
|
1905
2177
|
#
|
1906
2178
|
# @!attribute [rw] health_check_configuration
|
@@ -1913,6 +2185,11 @@ module Aws::AppRunner
|
|
1913
2185
|
# configuration resource that's associated with this service.
|
1914
2186
|
# @return [Types::AutoScalingConfigurationSummary]
|
1915
2187
|
#
|
2188
|
+
# @!attribute [rw] network_configuration
|
2189
|
+
# Configuration settings related to network traffic of the web
|
2190
|
+
# application that this service runs.
|
2191
|
+
# @return [Types::NetworkConfiguration]
|
2192
|
+
#
|
1916
2193
|
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/Service AWS API Documentation
|
1917
2194
|
#
|
1918
2195
|
class Service < Struct.new(
|
@@ -1928,7 +2205,8 @@ module Aws::AppRunner
|
|
1928
2205
|
:instance_configuration,
|
1929
2206
|
:encryption_configuration,
|
1930
2207
|
:health_check_configuration,
|
1931
|
-
:auto_scaling_configuration_summary
|
2208
|
+
:auto_scaling_configuration_summary,
|
2209
|
+
:network_configuration)
|
1932
2210
|
SENSITIVE = []
|
1933
2211
|
include Aws::Structure
|
1934
2212
|
end
|
@@ -2078,7 +2356,7 @@ module Aws::AppRunner
|
|
2078
2356
|
# code_configuration: {
|
2079
2357
|
# configuration_source: "REPOSITORY", # required, accepts REPOSITORY, API
|
2080
2358
|
# code_configuration_values: {
|
2081
|
-
# runtime: "PYTHON_3", # required, accepts PYTHON_3, NODEJS_12
|
2359
|
+
# runtime: "PYTHON_3", # required, accepts PYTHON_3, NODEJS_12, NODEJS_14, CORRETTO_8, CORRETTO_11
|
2082
2360
|
# build_command: "BuildCommand",
|
2083
2361
|
# start_command: "StartCommand",
|
2084
2362
|
# port: "String",
|
@@ -2094,7 +2372,7 @@ module Aws::AppRunner
|
|
2094
2372
|
# runtime_environment_variables: {
|
2095
2373
|
# "RuntimeEnvironmentVariablesKey" => "RuntimeEnvironmentVariablesValue",
|
2096
2374
|
# },
|
2097
|
-
# start_command: "
|
2375
|
+
# start_command: "StartCommand",
|
2098
2376
|
# port: "String",
|
2099
2377
|
# },
|
2100
2378
|
# image_repository_type: "ECR", # required, accepts ECR, ECR_PUBLIC
|
@@ -2299,7 +2577,7 @@ module Aws::AppRunner
|
|
2299
2577
|
# code_configuration: {
|
2300
2578
|
# configuration_source: "REPOSITORY", # required, accepts REPOSITORY, API
|
2301
2579
|
# code_configuration_values: {
|
2302
|
-
# runtime: "PYTHON_3", # required, accepts PYTHON_3, NODEJS_12
|
2580
|
+
# runtime: "PYTHON_3", # required, accepts PYTHON_3, NODEJS_12, NODEJS_14, CORRETTO_8, CORRETTO_11
|
2303
2581
|
# build_command: "BuildCommand",
|
2304
2582
|
# start_command: "StartCommand",
|
2305
2583
|
# port: "String",
|
@@ -2315,7 +2593,7 @@ module Aws::AppRunner
|
|
2315
2593
|
# runtime_environment_variables: {
|
2316
2594
|
# "RuntimeEnvironmentVariablesKey" => "RuntimeEnvironmentVariablesValue",
|
2317
2595
|
# },
|
2318
|
-
# start_command: "
|
2596
|
+
# start_command: "StartCommand",
|
2319
2597
|
# port: "String",
|
2320
2598
|
# },
|
2321
2599
|
# image_repository_type: "ECR", # required, accepts ECR, ECR_PUBLIC
|
@@ -2340,6 +2618,12 @@ module Aws::AppRunner
|
|
2340
2618
|
# healthy_threshold: 1,
|
2341
2619
|
# unhealthy_threshold: 1,
|
2342
2620
|
# },
|
2621
|
+
# network_configuration: {
|
2622
|
+
# egress_configuration: {
|
2623
|
+
# egress_type: "DEFAULT", # accepts DEFAULT, VPC
|
2624
|
+
# vpc_connector_arn: "AppRunnerResourceArn",
|
2625
|
+
# },
|
2626
|
+
# },
|
2343
2627
|
# }
|
2344
2628
|
#
|
2345
2629
|
# @!attribute [rw] service_arn
|
@@ -2367,14 +2651,20 @@ module Aws::AppRunner
|
|
2367
2651
|
#
|
2368
2652
|
# @!attribute [rw] auto_scaling_configuration_arn
|
2369
2653
|
# The Amazon Resource Name (ARN) of an App Runner automatic scaling
|
2370
|
-
# configuration resource that you want to associate with
|
2654
|
+
# configuration resource that you want to associate with the App
|
2655
|
+
# Runner service.
|
2371
2656
|
# @return [String]
|
2372
2657
|
#
|
2373
2658
|
# @!attribute [rw] health_check_configuration
|
2374
2659
|
# The settings for the health check that App Runner performs to
|
2375
|
-
# monitor the health of
|
2660
|
+
# monitor the health of the App Runner service.
|
2376
2661
|
# @return [Types::HealthCheckConfiguration]
|
2377
2662
|
#
|
2663
|
+
# @!attribute [rw] network_configuration
|
2664
|
+
# Configuration settings related to network traffic of the web
|
2665
|
+
# application that the App Runner service runs.
|
2666
|
+
# @return [Types::NetworkConfiguration]
|
2667
|
+
#
|
2378
2668
|
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/UpdateServiceRequest AWS API Documentation
|
2379
2669
|
#
|
2380
2670
|
class UpdateServiceRequest < Struct.new(
|
@@ -2382,7 +2672,8 @@ module Aws::AppRunner
|
|
2382
2672
|
:source_configuration,
|
2383
2673
|
:instance_configuration,
|
2384
2674
|
:auto_scaling_configuration_arn,
|
2385
|
-
:health_check_configuration
|
2675
|
+
:health_check_configuration,
|
2676
|
+
:network_configuration)
|
2386
2677
|
SENSITIVE = []
|
2387
2678
|
include Aws::Structure
|
2388
2679
|
end
|
@@ -2408,5 +2699,78 @@ module Aws::AppRunner
|
|
2408
2699
|
include Aws::Structure
|
2409
2700
|
end
|
2410
2701
|
|
2702
|
+
# Describes an App Runner VPC connector resource. A VPC connector
|
2703
|
+
# describes the Amazon Virtual Private Cloud (Amazon VPC) that an App
|
2704
|
+
# Runner service is associated with, and the subnets and security group
|
2705
|
+
# that are used.
|
2706
|
+
#
|
2707
|
+
# Multiple revisions of a connector might have the same `Name` and
|
2708
|
+
# different `Revision` values.
|
2709
|
+
#
|
2710
|
+
# <note markdown="1"> At this time, App Runner supports only one revision per name.
|
2711
|
+
#
|
2712
|
+
# </note>
|
2713
|
+
#
|
2714
|
+
# @!attribute [rw] vpc_connector_name
|
2715
|
+
# The customer-provided VPC connector name.
|
2716
|
+
# @return [String]
|
2717
|
+
#
|
2718
|
+
# @!attribute [rw] vpc_connector_arn
|
2719
|
+
# The Amazon Resource Name (ARN) of this VPC connector.
|
2720
|
+
# @return [String]
|
2721
|
+
#
|
2722
|
+
# @!attribute [rw] vpc_connector_revision
|
2723
|
+
# The revision of this VPC connector. It's unique among all the
|
2724
|
+
# active connectors (`"Status": "ACTIVE"`) that share the same `Name`.
|
2725
|
+
#
|
2726
|
+
# <note markdown="1"> At this time, App Runner supports only one revision per name.
|
2727
|
+
#
|
2728
|
+
# </note>
|
2729
|
+
# @return [Integer]
|
2730
|
+
#
|
2731
|
+
# @!attribute [rw] subnets
|
2732
|
+
# A list of IDs of subnets that App Runner uses for your service. All
|
2733
|
+
# IDs are of subnets of a single Amazon VPC.
|
2734
|
+
# @return [Array<String>]
|
2735
|
+
#
|
2736
|
+
# @!attribute [rw] security_groups
|
2737
|
+
# A list of IDs of security groups that App Runner uses for access to
|
2738
|
+
# Amazon Web Services resources under the specified subnets. If not
|
2739
|
+
# specified, App Runner uses the default security group of the Amazon
|
2740
|
+
# VPC. The default security group allows all outbound traffic.
|
2741
|
+
# @return [Array<String>]
|
2742
|
+
#
|
2743
|
+
# @!attribute [rw] status
|
2744
|
+
# The current state of the VPC connector. If the status of a connector
|
2745
|
+
# revision is `INACTIVE`, it was deleted and can't be used. Inactive
|
2746
|
+
# connector revisions are permanently removed some time after they are
|
2747
|
+
# deleted.
|
2748
|
+
# @return [String]
|
2749
|
+
#
|
2750
|
+
# @!attribute [rw] created_at
|
2751
|
+
# The time when the VPC connector was created. It's in Unix time
|
2752
|
+
# stamp format.
|
2753
|
+
# @return [Time]
|
2754
|
+
#
|
2755
|
+
# @!attribute [rw] deleted_at
|
2756
|
+
# The time when the VPC connector was deleted. It's in Unix time
|
2757
|
+
# stamp format.
|
2758
|
+
# @return [Time]
|
2759
|
+
#
|
2760
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/VpcConnector AWS API Documentation
|
2761
|
+
#
|
2762
|
+
class VpcConnector < Struct.new(
|
2763
|
+
:vpc_connector_name,
|
2764
|
+
:vpc_connector_arn,
|
2765
|
+
:vpc_connector_revision,
|
2766
|
+
:subnets,
|
2767
|
+
:security_groups,
|
2768
|
+
:status,
|
2769
|
+
:created_at,
|
2770
|
+
:deleted_at)
|
2771
|
+
SENSITIVE = []
|
2772
|
+
include Aws::Structure
|
2773
|
+
end
|
2774
|
+
|
2411
2775
|
end
|
2412
2776
|
end
|
data/lib/aws-sdk-apprunner.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-apprunner
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.11.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-02-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.126.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.126.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|