aws-sdk-proton 1.18.0 → 1.19.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c5faa6070f8952211f87059f5d5edfaacd6d6df9fc8579bd5437ba4c141541b1
4
- data.tar.gz: 12dd6c94e67d40c91c23c41f1c4fe43a66f10d36ecf8b5ec0a297a9a16e77ab8
3
+ metadata.gz: 8a54dcd6810fcef8979772a47975580b51acd528ebc85fbaad40d1b4a6d0f70a
4
+ data.tar.gz: 04e2cae9aca1c0b81eb1a615cacf31f47ce7811bce496e8d12ef1309be92043e
5
5
  SHA512:
6
- metadata.gz: f9345e163ce1c8bc7dfc4cdb12c18132dda6412428d884a29ccc623a1a782c48c786d3580827c9ac576b3b9e12f245b25d4962cee19fd31c3357f1c4be9c606a
7
- data.tar.gz: 313578a18ffa4ee1992fd2396e7f74d66262ad76c1d94f96e2d26c31f96bfc142eff13bc9e92ee5fd1bbfb0b8879eed1711678915ab6e63555c504edb61b8c2d
6
+ metadata.gz: 925fece7859267df592bb07f1682bcc6d24536c64bbe3eb8c021b46b3b30e235be49ef5703b47dd3317ea2cd2efa004a887980a05563765a61b7b8cb45a04cd1
7
+ data.tar.gz: 10be88edde46c9f97550b384cdc7df24fcf91bcc926cfb36a4ae4d5bcde035994913e79abe0935e1264ca77405432b63233bf75fb666cbc32b9a2d3da9e83329
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.19.0 (2022-11-14)
5
+ ------------------
6
+
7
+ * Feature - Add support for CodeBuild Provisioning
8
+
4
9
  1.18.0 (2022-10-25)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.18.0
1
+ 1.19.0
@@ -406,6 +406,7 @@ module Aws::Proton
406
406
  # @example Response structure
407
407
  #
408
408
  # resp.environment_account_connection.arn #=> String
409
+ # resp.environment_account_connection.codebuild_role_arn #=> String
409
410
  # resp.environment_account_connection.component_role_arn #=> String
410
411
  # resp.environment_account_connection.environment_account_id #=> String
411
412
  # resp.environment_account_connection.environment_name #=> String
@@ -509,6 +510,7 @@ module Aws::Proton
509
510
  # @example Response structure
510
511
  #
511
512
  # resp.environment.arn #=> String
513
+ # resp.environment.codebuild_role_arn #=> String
512
514
  # resp.environment.component_role_arn #=> String
513
515
  # resp.environment.created_at #=> Time
514
516
  # resp.environment.deployment_status #=> String, one of "IN_PROGRESS", "FAILED", "SUCCEEDED", "DELETE_IN_PROGRESS", "DELETE_FAILED", "DELETE_COMPLETE", "CANCELLING", "CANCELLED"
@@ -777,13 +779,18 @@ module Aws::Proton
777
779
  #
778
780
  # **You can provision environments using the following methods:**
779
781
  #
780
- # * Amazon Web Services-managed provisioning: Proton makes direct calls
781
- # to provision your resources.
782
+ # * **Amazon Web Services-managed provisioning** Proton makes direct
783
+ # calls to provision your resources.
782
784
  #
783
- # * Self-managed provisioning: Proton makes pull requests on your
785
+ # * **Self-managed provisioning** Proton makes pull requests on your
784
786
  # repository to provide compiled infrastructure as code (IaC) files
785
787
  # that your IaC engine uses to provision resources.
786
788
  #
789
+ # * **CodeBuild-based provisioning** – Proton uses CodeBuild to run
790
+ # shell commands that you provide. Your commands can read inputs that
791
+ # Proton provides, and are responsible for provisioning or
792
+ # deprovisioning infrastructure and generating output values.
793
+ #
787
794
  # For more information, see [Environments][1] and [Provisioning
788
795
  # methods][2] in the *Proton User Guide*.
789
796
  #
@@ -792,6 +799,15 @@ module Aws::Proton
792
799
  # [1]: https://docs.aws.amazon.com/proton/latest/userguide/ag-environments.html
793
800
  # [2]: https://docs.aws.amazon.com/proton/latest/userguide/ag-works-prov-methods.html
794
801
  #
802
+ # @option params [String] :codebuild_role_arn
803
+ # The Amazon Resource Name (ARN) of the IAM service role that allows
804
+ # Proton to provision infrastructure using CodeBuild-based provisioning
805
+ # on your behalf.
806
+ #
807
+ # To use CodeBuild-based provisioning for the environment or for any
808
+ # service instance running in the environment, specify either the
809
+ # `environmentAccountConnectionId` or `codebuildRoleArn` parameter.
810
+ #
795
811
  # @option params [String] :component_role_arn
796
812
  # The Amazon Resource Name (ARN) of the IAM service role that Proton
797
813
  # uses when provisioning directly defined components in this
@@ -812,15 +828,15 @@ module Aws::Proton
812
828
  # A description of the environment that's being created and deployed.
813
829
  #
814
830
  # @option params [String] :environment_account_connection_id
815
- # The ID of the environment account connection that you provide if
816
- # you're provisioning your environment infrastructure resources to an
817
- # environment account. For more information, see [Environment account
831
+ # The ID of the environment account connection that you provide if you
832
+ # want Proton to provision infrastructure resources for your environment
833
+ # or for any of the service instances running in it in an environment
834
+ # account. For more information, see [Environment account
818
835
  # connections][1] in the *Proton User guide*.
819
836
  #
820
- # To use Amazon Web Services-managed provisioning for the environment,
821
- # specify either the `environmentAccountConnectionId` or
822
- # `protonServiceRoleArn` parameter and omit the `provisioningRepository`
823
- # parameter.
837
+ # If you specify the `environmentAccountConnectionId` parameter, don't
838
+ # specify `protonServiceRoleArn`, `codebuildRoleArn`, or
839
+ # `provisioningRepository`.
824
840
  #
825
841
  #
826
842
  #
@@ -830,12 +846,13 @@ module Aws::Proton
830
846
  # The name of the environment.
831
847
  #
832
848
  # @option params [String] :proton_service_role_arn
833
- # The Amazon Resource Name (ARN) of the Proton service role that allows
834
- # Proton to make calls to other services on your behalf.
849
+ # The Amazon Resource Name (ARN) of the IAM service role that allows
850
+ # Proton to provision infrastructure using Amazon Web Services-managed
851
+ # provisioning and CloudFormation on your behalf.
835
852
  #
836
- # To use Amazon Web Services-managed provisioning for the environment,
837
- # specify either the `environmentAccountConnectionId` or
838
- # `protonServiceRoleArn` parameter and omit the `provisioningRepository`
853
+ # To use Amazon Web Services-managed provisioning for the environment or
854
+ # for any service instance running in the environment, specify either
855
+ # the `environmentAccountConnectionId` or `protonServiceRoleArn`
839
856
  # parameter.
840
857
  #
841
858
  # @option params [Types::RepositoryBranchInput] :provisioning_repository
@@ -844,9 +861,8 @@ module Aws::Proton
844
861
  # repository is a repository that has been registered with Proton. For
845
862
  # more information, see CreateRepository.
846
863
  #
847
- # To use self-managed provisioning for the environment, specify this
848
- # parameter and omit the `environmentAccountConnectionId` and
849
- # `protonServiceRoleArn` parameters.
864
+ # To use self-managed provisioning for the environment or for any
865
+ # service instance running in the environment, specify this parameter.
850
866
  #
851
867
  # @option params [required, String] :spec
852
868
  # A YAML formatted string that provides inputs as defined in the
@@ -889,7 +905,8 @@ module Aws::Proton
889
905
  # @example Request syntax with placeholder values
890
906
  #
891
907
  # resp = client.create_environment({
892
- # component_role_arn: "Arn",
908
+ # codebuild_role_arn: "RoleArn",
909
+ # component_role_arn: "RoleArn",
893
910
  # description: "Description",
894
911
  # environment_account_connection_id: "EnvironmentAccountConnectionId",
895
912
  # name: "ResourceName", # required
@@ -914,6 +931,7 @@ module Aws::Proton
914
931
  # @example Response structure
915
932
  #
916
933
  # resp.environment.arn #=> String
934
+ # resp.environment.codebuild_role_arn #=> String
917
935
  # resp.environment.component_role_arn #=> String
918
936
  # resp.environment.created_at #=> Time
919
937
  # resp.environment.deployment_status #=> String, one of "IN_PROGRESS", "FAILED", "SUCCEEDED", "DELETE_IN_PROGRESS", "DELETE_FAILED", "DELETE_COMPLETE", "CANCELLING", "CANCELLED"
@@ -965,11 +983,18 @@ module Aws::Proton
965
983
  # **A suitable default value is auto-generated.** You should normally
966
984
  # not need to pass this option.**
967
985
  #
986
+ # @option params [String] :codebuild_role_arn
987
+ # The Amazon Resource Name (ARN) of an IAM service role in the
988
+ # environment account. Proton uses this role to provision infrastructure
989
+ # resources using CodeBuild-based provisioning in the associated
990
+ # environment account.
991
+ #
968
992
  # @option params [String] :component_role_arn
969
- # The Amazon Resource Name (ARN) of the IAM service role that Proton
970
- # uses when provisioning directly defined components in the associated
971
- # environment account. It determines the scope of infrastructure that a
972
- # component can provision in the account.
993
+ # The Amazon Resource Name (ARN) of an IAM service role in the
994
+ # environment account. Proton uses this role to provision directly
995
+ # defined components in the associated environment account. It
996
+ # determines the scope of infrastructure that a component can provision
997
+ # in the account.
973
998
  #
974
999
  # You must specify `componentRoleArn` to allow directly defined
975
1000
  # components to be associated with any environments running in this
@@ -995,9 +1020,10 @@ module Aws::Proton
995
1020
  # environment account.
996
1021
  #
997
1022
  # @option params [required, String] :role_arn
998
- # The Amazon Resource Name (ARN) of the IAM service role that's created
999
- # in the environment account. Proton uses this role to provision
1000
- # infrastructure resources in the associated environment account.
1023
+ # The Amazon Resource Name (ARN) of an IAM service role in the
1024
+ # environment account. Proton uses this role to provision infrastructure
1025
+ # resources using Amazon Web Services-managed provisioning and
1026
+ # CloudFormation in the associated environment account.
1001
1027
  #
1002
1028
  # @option params [Array<Types::Tag>] :tags
1003
1029
  # An optional list of metadata items that you can associate with the
@@ -1018,10 +1044,11 @@ module Aws::Proton
1018
1044
  #
1019
1045
  # resp = client.create_environment_account_connection({
1020
1046
  # client_token: "ClientToken",
1021
- # component_role_arn: "Arn",
1047
+ # codebuild_role_arn: "RoleArn",
1048
+ # component_role_arn: "RoleArn",
1022
1049
  # environment_name: "ResourceName", # required
1023
1050
  # management_account_id: "AwsAccountId", # required
1024
- # role_arn: "Arn", # required
1051
+ # role_arn: "RoleArn", # required
1025
1052
  # tags: [
1026
1053
  # {
1027
1054
  # key: "TagKey", # required
@@ -1033,6 +1060,7 @@ module Aws::Proton
1033
1060
  # @example Response structure
1034
1061
  #
1035
1062
  # resp.environment_account_connection.arn #=> String
1063
+ # resp.environment_account_connection.codebuild_role_arn #=> String
1036
1064
  # resp.environment_account_connection.component_role_arn #=> String
1037
1065
  # resp.environment_account_connection.environment_account_id #=> String
1038
1066
  # resp.environment_account_connection.environment_name #=> String
@@ -1783,6 +1811,7 @@ module Aws::Proton
1783
1811
  # @example Response structure
1784
1812
  #
1785
1813
  # resp.environment.arn #=> String
1814
+ # resp.environment.codebuild_role_arn #=> String
1786
1815
  # resp.environment.component_role_arn #=> String
1787
1816
  # resp.environment.created_at #=> Time
1788
1817
  # resp.environment.deployment_status #=> String, one of "IN_PROGRESS", "FAILED", "SUCCEEDED", "DELETE_IN_PROGRESS", "DELETE_FAILED", "DELETE_COMPLETE", "CANCELLING", "CANCELLED"
@@ -1845,6 +1874,7 @@ module Aws::Proton
1845
1874
  # @example Response structure
1846
1875
  #
1847
1876
  # resp.environment_account_connection.arn #=> String
1877
+ # resp.environment_account_connection.codebuild_role_arn #=> String
1848
1878
  # resp.environment_account_connection.component_role_arn #=> String
1849
1879
  # resp.environment_account_connection.environment_account_id #=> String
1850
1880
  # resp.environment_account_connection.environment_name #=> String
@@ -2199,6 +2229,7 @@ module Aws::Proton
2199
2229
  #
2200
2230
  # @example Response structure
2201
2231
  #
2232
+ # resp.account_settings.pipeline_codebuild_role_arn #=> String
2202
2233
  # resp.account_settings.pipeline_provisioning_repository.arn #=> String
2203
2234
  # resp.account_settings.pipeline_provisioning_repository.branch #=> String
2204
2235
  # resp.account_settings.pipeline_provisioning_repository.name #=> String
@@ -2286,6 +2317,7 @@ module Aws::Proton
2286
2317
  # @example Response structure
2287
2318
  #
2288
2319
  # resp.environment.arn #=> String
2320
+ # resp.environment.codebuild_role_arn #=> String
2289
2321
  # resp.environment.component_role_arn #=> String
2290
2322
  # resp.environment.created_at #=> Time
2291
2323
  # resp.environment.deployment_status #=> String, one of "IN_PROGRESS", "FAILED", "SUCCEEDED", "DELETE_IN_PROGRESS", "DELETE_FAILED", "DELETE_COMPLETE", "CANCELLING", "CANCELLED"
@@ -2348,6 +2380,7 @@ module Aws::Proton
2348
2380
  # @example Response structure
2349
2381
  #
2350
2382
  # resp.environment_account_connection.arn #=> String
2383
+ # resp.environment_account_connection.codebuild_role_arn #=> String
2351
2384
  # resp.environment_account_connection.component_role_arn #=> String
2352
2385
  # resp.environment_account_connection.environment_account_id #=> String
2353
2386
  # resp.environment_account_connection.environment_name #=> String
@@ -3882,27 +3915,40 @@ module Aws::Proton
3882
3915
  req.send_request(options)
3883
3916
  end
3884
3917
 
3885
- # Notify Proton of status changes to a provisioned resource when you use
3886
- # self-managed provisioning.
3918
+ # Notify Proton of the following information related to a provisioned
3919
+ # resource (environment, service instance, or service pipeline):
3887
3920
  #
3888
- # For more information, see [Self-managed provisioning][1] in the
3889
- # *Proton User Guide*.
3921
+ # * For [CodeBuild-based provisioning][1], provide your provisioned
3922
+ # resource output values to Proton.
3923
+ #
3924
+ # * For [self-managed provisioning][2], notify Proton about the status
3925
+ # of your provisioned resource. To disambiguate between different
3926
+ # deployments of the same resource, set `deploymentId` to a unique
3927
+ # deployment ID of your choice.
3890
3928
  #
3929
+ # </li> </ul>
3891
3930
  #
3892
3931
  #
3893
- # [1]: https://docs.aws.amazon.com/proton/latest/userguide/ag-works-prov-methods.html#ag-works-prov-methods-self
3932
+ #
3933
+ # [1]: https://docs.aws.amazon.com/proton/latest/userguide/ag-works-prov-methods.html#ag-works-prov-methods-codebuild
3934
+ # [2]: https://docs.aws.amazon.com/proton/latest/userguide/ag-works-prov-methods.html#ag-works-prov-methods-self
3894
3935
  #
3895
3936
  # @option params [String] :deployment_id
3896
- # The deployment ID for your provisioned resource.
3937
+ # The deployment ID for your provisioned resource. Proton uses it to
3938
+ # disambiguate different deployments of the resource. Applicable to
3939
+ # [self-managed provisioning][1].
3940
+ #
3941
+ #
3942
+ #
3943
+ # [1]: https://docs.aws.amazon.com/proton/latest/userguide/ag-works-prov-methods.html#ag-works-prov-methods-self
3897
3944
  #
3898
3945
  # @option params [Array<Types::Output>] :outputs
3899
- # The provisioned resource state change detail data that's returned by
3900
- # Proton.
3946
+ # The output values generated by your provisioned resource.
3901
3947
  #
3902
3948
  # @option params [required, String] :resource_arn
3903
- # The provisioned resource Amazon Resource Name (ARN).
3949
+ # The Amazon Resource Name (ARN) of your provisioned resource.
3904
3950
  #
3905
- # @option params [required, String] :status
3951
+ # @option params [String] :status
3906
3952
  # The status of your provisioned resource.
3907
3953
  #
3908
3954
  # @option params [String] :status_message
@@ -3921,7 +3967,7 @@ module Aws::Proton
3921
3967
  # },
3922
3968
  # ],
3923
3969
  # resource_arn: "Arn", # required
3924
- # status: "IN_PROGRESS", # required, accepts IN_PROGRESS, FAILED, SUCCEEDED
3970
+ # status: "IN_PROGRESS", # accepts IN_PROGRESS, FAILED, SUCCEEDED
3925
3971
  # status_message: "NotifyResourceDeploymentStatusChangeInputStatusMessageString",
3926
3972
  # })
3927
3973
  #
@@ -3966,6 +4012,7 @@ module Aws::Proton
3966
4012
  # @example Response structure
3967
4013
  #
3968
4014
  # resp.environment_account_connection.arn #=> String
4015
+ # resp.environment_account_connection.codebuild_role_arn #=> String
3969
4016
  # resp.environment_account_connection.component_role_arn #=> String
3970
4017
  # resp.environment_account_connection.environment_account_id #=> String
3971
4018
  # resp.environment_account_connection.environment_name #=> String
@@ -4069,6 +4116,11 @@ module Aws::Proton
4069
4116
  # account settings. Don't set this field if you are updating the
4070
4117
  # configured pipeline repository.
4071
4118
  #
4119
+ # @option params [String] :pipeline_codebuild_role_arn
4120
+ # The Amazon Resource Name (ARN) of the service role you want to use for
4121
+ # provisioning pipelines. Proton assumes this role for CodeBuild-based
4122
+ # provisioning.
4123
+ #
4072
4124
  # @option params [Types::RepositoryBranchInput] :pipeline_provisioning_repository
4073
4125
  # A linked repository for pipeline provisioning. Specify it if you have
4074
4126
  # environments configured for self-managed provisioning with services
@@ -4096,16 +4148,18 @@ module Aws::Proton
4096
4148
  #
4097
4149
  # resp = client.update_account_settings({
4098
4150
  # delete_pipeline_provisioning_repository: false,
4151
+ # pipeline_codebuild_role_arn: "RoleArnOrEmptyString",
4099
4152
  # pipeline_provisioning_repository: {
4100
4153
  # branch: "GitBranchName", # required
4101
4154
  # name: "RepositoryName", # required
4102
4155
  # provider: "GITHUB", # required, accepts GITHUB, GITHUB_ENTERPRISE, BITBUCKET
4103
4156
  # },
4104
- # pipeline_service_role_arn: "PipelineRoleArn",
4157
+ # pipeline_service_role_arn: "RoleArnOrEmptyString",
4105
4158
  # })
4106
4159
  #
4107
4160
  # @example Response structure
4108
4161
  #
4162
+ # resp.account_settings.pipeline_codebuild_role_arn #=> String
4109
4163
  # resp.account_settings.pipeline_provisioning_repository.arn #=> String
4110
4164
  # resp.account_settings.pipeline_provisioning_repository.branch #=> String
4111
4165
  # resp.account_settings.pipeline_provisioning_repository.name #=> String
@@ -4238,9 +4292,8 @@ module Aws::Proton
4238
4292
  # Update an environment.
4239
4293
  #
4240
4294
  # If the environment is associated with an environment account
4241
- # connection, *don't* update or include the `protonServiceRoleArn` and
4242
- # `provisioningRepository` parameter to update or connect to an
4243
- # environment account connection.
4295
+ # connection, *don't* update or include the `protonServiceRoleArn`,
4296
+ # `codebuildRoleArn`, and `provisioningRepository` parameters.
4244
4297
  #
4245
4298
  # You can only update to a new environment account connection if that
4246
4299
  # connection was created in the same environment account that the
@@ -4253,16 +4306,18 @@ module Aws::Proton
4253
4306
  # connect the environment to an environment account connection if it
4254
4307
  # *isn't* already associated with an environment connection.
4255
4308
  #
4256
- # You can update either the `environmentAccountConnectionId` or
4257
- # `protonServiceRoleArn` parameter and value. You can’t update both.
4309
+ # You can update either `environmentAccountConnectionId` or one or more
4310
+ # of `protonServiceRoleArn`, `codebuildRoleArn`, and
4311
+ # `provisioningRepository`.
4258
4312
  #
4259
- # If the environment was configured for Amazon Web Services-managed
4260
- # provisioning, omit the `provisioningRepository` parameter.
4313
+ # If the environment was configured for Amazon Web Services-managed or
4314
+ # CodeBuild-based provisioning, omit the `provisioningRepository`
4315
+ # parameter.
4261
4316
  #
4262
4317
  # If the environment was configured for self-managed provisioning,
4263
4318
  # specify the `provisioningRepository` parameter and omit the
4264
- # `protonServiceRoleArn` and `environmentAccountConnectionId`
4265
- # parameters.
4319
+ # `protonServiceRoleArn`, `codebuildRoleArn`, and
4320
+ # `provisioningRepository` parameters.
4266
4321
  #
4267
4322
  # For more information, see [Environments][1] and [Provisioning
4268
4323
  # methods][2] in the *Proton User Guide*.
@@ -4310,6 +4365,11 @@ module Aws::Proton
4310
4365
  # [1]: https://docs.aws.amazon.com/proton/latest/userguide/ag-environments.html
4311
4366
  # [2]: https://docs.aws.amazon.com/proton/latest/userguide/ag-works-prov-methods.html
4312
4367
  #
4368
+ # @option params [String] :codebuild_role_arn
4369
+ # The Amazon Resource Name (ARN) of the IAM service role that allows
4370
+ # Proton to provision infrastructure using CodeBuild-based provisioning
4371
+ # on your behalf.
4372
+ #
4313
4373
  # @option params [String] :component_role_arn
4314
4374
  # The Amazon Resource Name (ARN) of the IAM service role that Proton
4315
4375
  # uses when provisioning directly defined components in this
@@ -4369,19 +4429,28 @@ module Aws::Proton
4369
4429
  # A description of the environment update.
4370
4430
  #
4371
4431
  # @option params [String] :environment_account_connection_id
4372
- # The ID of the environment account connection.
4432
+ # The ID of the environment account connection that you provide if you
4433
+ # want Proton to provision infrastructure resources for your environment
4434
+ # or for any of the service instances running in it in an environment
4435
+ # account. For more information, see [Environment account
4436
+ # connections][1] in the *Proton User guide*.
4373
4437
  #
4374
4438
  # You can only update to a new environment account connection if it was
4375
4439
  # created in the same environment account that the current environment
4376
4440
  # account connection was created in and is associated with the current
4377
4441
  # environment.
4378
4442
  #
4443
+ #
4444
+ #
4445
+ # [1]: https://docs.aws.amazon.com/proton/latest/userguide/ag-env-account-connections.html
4446
+ #
4379
4447
  # @option params [required, String] :name
4380
4448
  # The name of the environment to update.
4381
4449
  #
4382
4450
  # @option params [String] :proton_service_role_arn
4383
- # The Amazon Resource Name (ARN) of the Proton service role that allows
4384
- # Proton to make API calls to other services your behalf.
4451
+ # The Amazon Resource Name (ARN) of the IAM service role that allows
4452
+ # Proton to provision infrastructure using Amazon Web Services-managed
4453
+ # provisioning and CloudFormation on your behalf.
4385
4454
  #
4386
4455
  # @option params [Types::RepositoryBranchInput] :provisioning_repository
4387
4456
  # The linked repository that you use to host your rendered
@@ -4405,7 +4474,8 @@ module Aws::Proton
4405
4474
  # @example Request syntax with placeholder values
4406
4475
  #
4407
4476
  # resp = client.update_environment({
4408
- # component_role_arn: "Arn",
4477
+ # codebuild_role_arn: "RoleArn",
4478
+ # component_role_arn: "RoleArn",
4409
4479
  # deployment_type: "NONE", # required, accepts NONE, CURRENT_VERSION, MINOR_VERSION, MAJOR_VERSION
4410
4480
  # description: "Description",
4411
4481
  # environment_account_connection_id: "EnvironmentAccountConnectionId",
@@ -4424,6 +4494,7 @@ module Aws::Proton
4424
4494
  # @example Response structure
4425
4495
  #
4426
4496
  # resp.environment.arn #=> String
4497
+ # resp.environment.codebuild_role_arn #=> String
4427
4498
  # resp.environment.component_role_arn #=> String
4428
4499
  # resp.environment.created_at #=> Time
4429
4500
  # resp.environment.deployment_status #=> String, one of "IN_PROGRESS", "FAILED", "SUCCEEDED", "DELETE_IN_PROGRESS", "DELETE_FAILED", "DELETE_COMPLETE", "CANCELLING", "CANCELLED"
@@ -4464,6 +4535,12 @@ module Aws::Proton
4464
4535
  #
4465
4536
  # [1]: https://docs.aws.amazon.com/proton/latest/userguide/ag-env-account-connections.html
4466
4537
  #
4538
+ # @option params [String] :codebuild_role_arn
4539
+ # The Amazon Resource Name (ARN) of an IAM service role in the
4540
+ # environment account. Proton uses this role to provision infrastructure
4541
+ # resources using CodeBuild-based provisioning in the associated
4542
+ # environment account.
4543
+ #
4467
4544
  # @option params [String] :component_role_arn
4468
4545
  # The Amazon Resource Name (ARN) of the IAM service role that Proton
4469
4546
  # uses when provisioning directly defined components in the associated
@@ -4485,8 +4562,10 @@ module Aws::Proton
4485
4562
  # The ID of the environment account connection to update.
4486
4563
  #
4487
4564
  # @option params [String] :role_arn
4488
- # The Amazon Resource Name (ARN) of the IAM service role that's
4489
- # associated with the environment account connection to update.
4565
+ # The Amazon Resource Name (ARN) of an IAM service role in the
4566
+ # environment account. Proton uses this role to provision infrastructure
4567
+ # resources using Amazon Web Services-managed provisioning and
4568
+ # CloudFormation in the associated environment account.
4490
4569
  #
4491
4570
  # @return [Types::UpdateEnvironmentAccountConnectionOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4492
4571
  #
@@ -4495,14 +4574,16 @@ module Aws::Proton
4495
4574
  # @example Request syntax with placeholder values
4496
4575
  #
4497
4576
  # resp = client.update_environment_account_connection({
4498
- # component_role_arn: "Arn",
4577
+ # codebuild_role_arn: "RoleArn",
4578
+ # component_role_arn: "RoleArn",
4499
4579
  # id: "EnvironmentAccountConnectionId", # required
4500
- # role_arn: "Arn",
4580
+ # role_arn: "RoleArn",
4501
4581
  # })
4502
4582
  #
4503
4583
  # @example Response structure
4504
4584
  #
4505
4585
  # resp.environment_account_connection.arn #=> String
4586
+ # resp.environment_account_connection.codebuild_role_arn #=> String
4506
4587
  # resp.environment_account_connection.component_role_arn #=> String
4507
4588
  # resp.environment_account_connection.environment_account_id #=> String
4508
4589
  # resp.environment_account_connection.environment_name #=> String
@@ -5160,7 +5241,7 @@ module Aws::Proton
5160
5241
  params: params,
5161
5242
  config: config)
5162
5243
  context[:gem_name] = 'aws-sdk-proton'
5163
- context[:gem_version] = '1.18.0'
5244
+ context[:gem_version] = '1.19.0'
5164
5245
  Seahorse::Client::Request.new(handlers, context)
5165
5246
  end
5166
5247
 
@@ -189,7 +189,6 @@ module Aws::Proton
189
189
  OutputKey = Shapes::StringShape.new(name: 'OutputKey')
190
190
  OutputValueString = Shapes::StringShape.new(name: 'OutputValueString')
191
191
  OutputsList = Shapes::ListShape.new(name: 'OutputsList')
192
- PipelineRoleArn = Shapes::StringShape.new(name: 'PipelineRoleArn')
193
192
  ProvisionedResource = Shapes::StructureShape.new(name: 'ProvisionedResource')
194
193
  ProvisionedResourceEngine = Shapes::StringShape.new(name: 'ProvisionedResourceEngine')
195
194
  ProvisionedResourceIdentifier = Shapes::StringShape.new(name: 'ProvisionedResourceIdentifier')
@@ -222,6 +221,8 @@ module Aws::Proton
222
221
  ResourceSyncEvents = Shapes::ListShape.new(name: 'ResourceSyncEvents')
223
222
  ResourceSyncStatus = Shapes::StringShape.new(name: 'ResourceSyncStatus')
224
223
  Revision = Shapes::StructureShape.new(name: 'Revision')
224
+ RoleArn = Shapes::StringShape.new(name: 'RoleArn')
225
+ RoleArnOrEmptyString = Shapes::StringShape.new(name: 'RoleArnOrEmptyString')
225
226
  S3Bucket = Shapes::StringShape.new(name: 'S3Bucket')
226
227
  S3Key = Shapes::StringShape.new(name: 'S3Key')
227
228
  S3ObjectSource = Shapes::StructureShape.new(name: 'S3ObjectSource')
@@ -306,8 +307,9 @@ module Aws::Proton
306
307
  AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "message"))
307
308
  AccessDeniedException.struct_class = Types::AccessDeniedException
308
309
 
310
+ AccountSettings.add_member(:pipeline_codebuild_role_arn, Shapes::ShapeRef.new(shape: RoleArnOrEmptyString, location_name: "pipelineCodebuildRoleArn"))
309
311
  AccountSettings.add_member(:pipeline_provisioning_repository, Shapes::ShapeRef.new(shape: RepositoryBranch, location_name: "pipelineProvisioningRepository"))
310
- AccountSettings.add_member(:pipeline_service_role_arn, Shapes::ShapeRef.new(shape: PipelineRoleArn, location_name: "pipelineServiceRoleArn"))
312
+ AccountSettings.add_member(:pipeline_service_role_arn, Shapes::ShapeRef.new(shape: RoleArnOrEmptyString, location_name: "pipelineServiceRoleArn"))
311
313
  AccountSettings.struct_class = Types::AccountSettings
312
314
 
313
315
  CancelComponentDeploymentInput.add_member(:component_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "componentName"))
@@ -395,17 +397,19 @@ module Aws::Proton
395
397
  CreateComponentOutput.struct_class = Types::CreateComponentOutput
396
398
 
397
399
  CreateEnvironmentAccountConnectionInput.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
398
- CreateEnvironmentAccountConnectionInput.add_member(:component_role_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "componentRoleArn"))
400
+ CreateEnvironmentAccountConnectionInput.add_member(:codebuild_role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "codebuildRoleArn"))
401
+ CreateEnvironmentAccountConnectionInput.add_member(:component_role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "componentRoleArn"))
399
402
  CreateEnvironmentAccountConnectionInput.add_member(:environment_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "environmentName"))
400
403
  CreateEnvironmentAccountConnectionInput.add_member(:management_account_id, Shapes::ShapeRef.new(shape: AwsAccountId, required: true, location_name: "managementAccountId"))
401
- CreateEnvironmentAccountConnectionInput.add_member(:role_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "roleArn"))
404
+ CreateEnvironmentAccountConnectionInput.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "roleArn"))
402
405
  CreateEnvironmentAccountConnectionInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
403
406
  CreateEnvironmentAccountConnectionInput.struct_class = Types::CreateEnvironmentAccountConnectionInput
404
407
 
405
408
  CreateEnvironmentAccountConnectionOutput.add_member(:environment_account_connection, Shapes::ShapeRef.new(shape: EnvironmentAccountConnection, required: true, location_name: "environmentAccountConnection"))
406
409
  CreateEnvironmentAccountConnectionOutput.struct_class = Types::CreateEnvironmentAccountConnectionOutput
407
410
 
408
- CreateEnvironmentInput.add_member(:component_role_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "componentRoleArn"))
411
+ CreateEnvironmentInput.add_member(:codebuild_role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "codebuildRoleArn"))
412
+ CreateEnvironmentInput.add_member(:component_role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "componentRoleArn"))
409
413
  CreateEnvironmentInput.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
410
414
  CreateEnvironmentInput.add_member(:environment_account_connection_id, Shapes::ShapeRef.new(shape: EnvironmentAccountConnectionId, location_name: "environmentAccountConnectionId"))
411
415
  CreateEnvironmentInput.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "name"))
@@ -570,7 +574,8 @@ module Aws::Proton
570
574
  DeleteTemplateSyncConfigOutput.struct_class = Types::DeleteTemplateSyncConfigOutput
571
575
 
572
576
  Environment.add_member(:arn, Shapes::ShapeRef.new(shape: EnvironmentArn, required: true, location_name: "arn"))
573
- Environment.add_member(:component_role_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "componentRoleArn"))
577
+ Environment.add_member(:codebuild_role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "codebuildRoleArn"))
578
+ Environment.add_member(:component_role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "componentRoleArn"))
574
579
  Environment.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "createdAt"))
575
580
  Environment.add_member(:deployment_status, Shapes::ShapeRef.new(shape: DeploymentStatus, required: true, location_name: "deploymentStatus"))
576
581
  Environment.add_member(:deployment_status_message, Shapes::ShapeRef.new(shape: StatusMessage, location_name: "deploymentStatusMessage"))
@@ -590,7 +595,8 @@ module Aws::Proton
590
595
  Environment.struct_class = Types::Environment
591
596
 
592
597
  EnvironmentAccountConnection.add_member(:arn, Shapes::ShapeRef.new(shape: EnvironmentAccountConnectionArn, required: true, location_name: "arn"))
593
- EnvironmentAccountConnection.add_member(:component_role_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "componentRoleArn"))
598
+ EnvironmentAccountConnection.add_member(:codebuild_role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "codebuildRoleArn"))
599
+ EnvironmentAccountConnection.add_member(:component_role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "componentRoleArn"))
594
600
  EnvironmentAccountConnection.add_member(:environment_account_id, Shapes::ShapeRef.new(shape: AwsAccountId, required: true, location_name: "environmentAccountId"))
595
601
  EnvironmentAccountConnection.add_member(:environment_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "environmentName"))
596
602
  EnvironmentAccountConnection.add_member(:id, Shapes::ShapeRef.new(shape: EnvironmentAccountConnectionId, required: true, location_name: "id"))
@@ -973,7 +979,7 @@ module Aws::Proton
973
979
  NotifyResourceDeploymentStatusChangeInput.add_member(:deployment_id, Shapes::ShapeRef.new(shape: DeploymentId, location_name: "deploymentId"))
974
980
  NotifyResourceDeploymentStatusChangeInput.add_member(:outputs, Shapes::ShapeRef.new(shape: NotifyResourceDeploymentStatusChangeInputOutputsList, location_name: "outputs"))
975
981
  NotifyResourceDeploymentStatusChangeInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "resourceArn"))
976
- NotifyResourceDeploymentStatusChangeInput.add_member(:status, Shapes::ShapeRef.new(shape: ResourceDeploymentStatus, required: true, location_name: "status"))
982
+ NotifyResourceDeploymentStatusChangeInput.add_member(:status, Shapes::ShapeRef.new(shape: ResourceDeploymentStatus, location_name: "status"))
977
983
  NotifyResourceDeploymentStatusChangeInput.add_member(:status_message, Shapes::ShapeRef.new(shape: NotifyResourceDeploymentStatusChangeInputStatusMessageString, location_name: "statusMessage"))
978
984
  NotifyResourceDeploymentStatusChangeInput.struct_class = Types::NotifyResourceDeploymentStatusChangeInput
979
985
 
@@ -1241,8 +1247,9 @@ module Aws::Proton
1241
1247
  UntagResourceOutput.struct_class = Types::UntagResourceOutput
1242
1248
 
1243
1249
  UpdateAccountSettingsInput.add_member(:delete_pipeline_provisioning_repository, Shapes::ShapeRef.new(shape: Boolean, location_name: "deletePipelineProvisioningRepository"))
1250
+ UpdateAccountSettingsInput.add_member(:pipeline_codebuild_role_arn, Shapes::ShapeRef.new(shape: RoleArnOrEmptyString, location_name: "pipelineCodebuildRoleArn"))
1244
1251
  UpdateAccountSettingsInput.add_member(:pipeline_provisioning_repository, Shapes::ShapeRef.new(shape: RepositoryBranchInput, location_name: "pipelineProvisioningRepository"))
1245
- UpdateAccountSettingsInput.add_member(:pipeline_service_role_arn, Shapes::ShapeRef.new(shape: PipelineRoleArn, location_name: "pipelineServiceRoleArn"))
1252
+ UpdateAccountSettingsInput.add_member(:pipeline_service_role_arn, Shapes::ShapeRef.new(shape: RoleArnOrEmptyString, location_name: "pipelineServiceRoleArn"))
1246
1253
  UpdateAccountSettingsInput.struct_class = Types::UpdateAccountSettingsInput
1247
1254
 
1248
1255
  UpdateAccountSettingsOutput.add_member(:account_settings, Shapes::ShapeRef.new(shape: AccountSettings, required: true, location_name: "accountSettings"))
@@ -1260,15 +1267,17 @@ module Aws::Proton
1260
1267
  UpdateComponentOutput.add_member(:component, Shapes::ShapeRef.new(shape: Component, required: true, location_name: "component"))
1261
1268
  UpdateComponentOutput.struct_class = Types::UpdateComponentOutput
1262
1269
 
1263
- UpdateEnvironmentAccountConnectionInput.add_member(:component_role_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "componentRoleArn"))
1270
+ UpdateEnvironmentAccountConnectionInput.add_member(:codebuild_role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "codebuildRoleArn"))
1271
+ UpdateEnvironmentAccountConnectionInput.add_member(:component_role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "componentRoleArn"))
1264
1272
  UpdateEnvironmentAccountConnectionInput.add_member(:id, Shapes::ShapeRef.new(shape: EnvironmentAccountConnectionId, required: true, location_name: "id"))
1265
- UpdateEnvironmentAccountConnectionInput.add_member(:role_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "roleArn"))
1273
+ UpdateEnvironmentAccountConnectionInput.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "roleArn"))
1266
1274
  UpdateEnvironmentAccountConnectionInput.struct_class = Types::UpdateEnvironmentAccountConnectionInput
1267
1275
 
1268
1276
  UpdateEnvironmentAccountConnectionOutput.add_member(:environment_account_connection, Shapes::ShapeRef.new(shape: EnvironmentAccountConnection, required: true, location_name: "environmentAccountConnection"))
1269
1277
  UpdateEnvironmentAccountConnectionOutput.struct_class = Types::UpdateEnvironmentAccountConnectionOutput
1270
1278
 
1271
- UpdateEnvironmentInput.add_member(:component_role_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "componentRoleArn"))
1279
+ UpdateEnvironmentInput.add_member(:codebuild_role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "codebuildRoleArn"))
1280
+ UpdateEnvironmentInput.add_member(:component_role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "componentRoleArn"))
1272
1281
  UpdateEnvironmentInput.add_member(:deployment_type, Shapes::ShapeRef.new(shape: DeploymentUpdateType, required: true, location_name: "deploymentType"))
1273
1282
  UpdateEnvironmentInput.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
1274
1283
  UpdateEnvironmentInput.add_member(:environment_account_connection_id, Shapes::ShapeRef.new(shape: EnvironmentAccountConnectionId, location_name: "environmentAccountConnectionId"))
@@ -57,6 +57,12 @@ module Aws::Proton
57
57
  # Proton settings that are used for multiple services in the Amazon Web
58
58
  # Services account.
59
59
  #
60
+ # @!attribute [rw] pipeline_codebuild_role_arn
61
+ # The Amazon Resource Name (ARN) of the service role that Proton uses
62
+ # for provisioning pipelines. Proton assumes this role for
63
+ # CodeBuild-based provisioning.
64
+ # @return [String]
65
+ #
60
66
  # @!attribute [rw] pipeline_provisioning_repository
61
67
  # The linked repository for pipeline provisioning. Required if you
62
68
  # have environments configured for self-managed provisioning with
@@ -66,15 +72,15 @@ module Aws::Proton
66
72
  # @return [Types::RepositoryBranch]
67
73
  #
68
74
  # @!attribute [rw] pipeline_service_role_arn
69
- # The Amazon Resource Name (ARN) of the service role you want to use
70
- # for provisioning pipelines. Assumed by Proton for Amazon Web
71
- # Services-managed provisioning, and by customer-owned automation for
72
- # self-managed provisioning.
75
+ # The Amazon Resource Name (ARN) of the service role that Proton uses
76
+ # for provisioning pipelines. Proton assumes this role for Amazon Web
77
+ # Services-managed provisioning.
73
78
  # @return [String]
74
79
  #
75
80
  # @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/AccountSettings AWS API Documentation
76
81
  #
77
82
  class AccountSettings < Struct.new(
83
+ :pipeline_codebuild_role_arn,
78
84
  :pipeline_provisioning_repository,
79
85
  :pipeline_service_role_arn)
80
86
  SENSITIVE = []
@@ -548,10 +554,11 @@ module Aws::Proton
548
554
  #
549
555
  # {
550
556
  # client_token: "ClientToken",
551
- # component_role_arn: "Arn",
557
+ # codebuild_role_arn: "RoleArn",
558
+ # component_role_arn: "RoleArn",
552
559
  # environment_name: "ResourceName", # required
553
560
  # management_account_id: "AwsAccountId", # required
554
- # role_arn: "Arn", # required
561
+ # role_arn: "RoleArn", # required
555
562
  # tags: [
556
563
  # {
557
564
  # key: "TagKey", # required
@@ -569,11 +576,19 @@ module Aws::Proton
569
576
  # not need to pass this option.
570
577
  # @return [String]
571
578
  #
579
+ # @!attribute [rw] codebuild_role_arn
580
+ # The Amazon Resource Name (ARN) of an IAM service role in the
581
+ # environment account. Proton uses this role to provision
582
+ # infrastructure resources using CodeBuild-based provisioning in the
583
+ # associated environment account.
584
+ # @return [String]
585
+ #
572
586
  # @!attribute [rw] component_role_arn
573
- # The Amazon Resource Name (ARN) of the IAM service role that Proton
574
- # uses when provisioning directly defined components in the associated
575
- # environment account. It determines the scope of infrastructure that
576
- # a component can provision in the account.
587
+ # The Amazon Resource Name (ARN) of an IAM service role in the
588
+ # environment account. Proton uses this role to provision directly
589
+ # defined components in the associated environment account. It
590
+ # determines the scope of infrastructure that a component can
591
+ # provision in the account.
577
592
  #
578
593
  # You must specify `componentRoleArn` to allow directly defined
579
594
  # components to be associated with any environments running in this
@@ -602,9 +617,10 @@ module Aws::Proton
602
617
  # @return [String]
603
618
  #
604
619
  # @!attribute [rw] role_arn
605
- # The Amazon Resource Name (ARN) of the IAM service role that's
606
- # created in the environment account. Proton uses this role to
607
- # provision infrastructure resources in the associated environment
620
+ # The Amazon Resource Name (ARN) of an IAM service role in the
621
+ # environment account. Proton uses this role to provision
622
+ # infrastructure resources using Amazon Web Services-managed
623
+ # provisioning and CloudFormation in the associated environment
608
624
  # account.
609
625
  # @return [String]
610
626
  #
@@ -624,6 +640,7 @@ module Aws::Proton
624
640
  #
625
641
  class CreateEnvironmentAccountConnectionInput < Struct.new(
626
642
  :client_token,
643
+ :codebuild_role_arn,
627
644
  :component_role_arn,
628
645
  :environment_name,
629
646
  :management_account_id,
@@ -650,7 +667,8 @@ module Aws::Proton
650
667
  # data as a hash:
651
668
  #
652
669
  # {
653
- # component_role_arn: "Arn",
670
+ # codebuild_role_arn: "RoleArn",
671
+ # component_role_arn: "RoleArn",
654
672
  # description: "Description",
655
673
  # environment_account_connection_id: "EnvironmentAccountConnectionId",
656
674
  # name: "ResourceName", # required
@@ -672,6 +690,16 @@ module Aws::Proton
672
690
  # template_name: "ResourceName", # required
673
691
  # }
674
692
  #
693
+ # @!attribute [rw] codebuild_role_arn
694
+ # The Amazon Resource Name (ARN) of the IAM service role that allows
695
+ # Proton to provision infrastructure using CodeBuild-based
696
+ # provisioning on your behalf.
697
+ #
698
+ # To use CodeBuild-based provisioning for the environment or for any
699
+ # service instance running in the environment, specify either the
700
+ # `environmentAccountConnectionId` or `codebuildRoleArn` parameter.
701
+ # @return [String]
702
+ #
675
703
  # @!attribute [rw] component_role_arn
676
704
  # The Amazon Resource Name (ARN) of the IAM service role that Proton
677
705
  # uses when provisioning directly defined components in this
@@ -694,15 +722,15 @@ module Aws::Proton
694
722
  # @return [String]
695
723
  #
696
724
  # @!attribute [rw] environment_account_connection_id
697
- # The ID of the environment account connection that you provide if
698
- # you're provisioning your environment infrastructure resources to an
725
+ # The ID of the environment account connection that you provide if you
726
+ # want Proton to provision infrastructure resources for your
727
+ # environment or for any of the service instances running in it in an
699
728
  # environment account. For more information, see [Environment account
700
729
  # connections][1] in the *Proton User guide*.
701
730
  #
702
- # To use Amazon Web Services-managed provisioning for the environment,
703
- # specify either the `environmentAccountConnectionId` or
704
- # `protonServiceRoleArn` parameter and omit the
705
- # `provisioningRepository` parameter.
731
+ # If you specify the `environmentAccountConnectionId` parameter,
732
+ # don't specify `protonServiceRoleArn`, `codebuildRoleArn`, or
733
+ # `provisioningRepository`.
706
734
  #
707
735
  #
708
736
  #
@@ -714,13 +742,14 @@ module Aws::Proton
714
742
  # @return [String]
715
743
  #
716
744
  # @!attribute [rw] proton_service_role_arn
717
- # The Amazon Resource Name (ARN) of the Proton service role that
718
- # allows Proton to make calls to other services on your behalf.
745
+ # The Amazon Resource Name (ARN) of the IAM service role that allows
746
+ # Proton to provision infrastructure using Amazon Web Services-managed
747
+ # provisioning and CloudFormation on your behalf.
719
748
  #
720
- # To use Amazon Web Services-managed provisioning for the environment,
721
- # specify either the `environmentAccountConnectionId` or
722
- # `protonServiceRoleArn` parameter and omit the
723
- # `provisioningRepository` parameter.
749
+ # To use Amazon Web Services-managed provisioning for the environment
750
+ # or for any service instance running in the environment, specify
751
+ # either the `environmentAccountConnectionId` or
752
+ # `protonServiceRoleArn` parameter.
724
753
  # @return [String]
725
754
  #
726
755
  # @!attribute [rw] provisioning_repository
@@ -729,9 +758,8 @@ module Aws::Proton
729
758
  # repository is a repository that has been registered with Proton. For
730
759
  # more information, see CreateRepository.
731
760
  #
732
- # To use self-managed provisioning for the environment, specify this
733
- # parameter and omit the `environmentAccountConnectionId` and
734
- # `protonServiceRoleArn` parameters.
761
+ # To use self-managed provisioning for the environment or for any
762
+ # service instance running in the environment, specify this parameter.
735
763
  # @return [Types::RepositoryBranchInput]
736
764
  #
737
765
  # @!attribute [rw] spec
@@ -776,6 +804,7 @@ module Aws::Proton
776
804
  # @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/CreateEnvironmentInput AWS API Documentation
777
805
  #
778
806
  class CreateEnvironmentInput < Struct.new(
807
+ :codebuild_role_arn,
779
808
  :component_role_arn,
780
809
  :description,
781
810
  :environment_account_connection_id,
@@ -1784,6 +1813,12 @@ module Aws::Proton
1784
1813
  # The Amazon Resource Name (ARN) of the environment.
1785
1814
  # @return [String]
1786
1815
  #
1816
+ # @!attribute [rw] codebuild_role_arn
1817
+ # The Amazon Resource Name (ARN) of the IAM service role that allows
1818
+ # Proton to provision infrastructure using CodeBuild-based
1819
+ # provisioning on your behalf.
1820
+ # @return [String]
1821
+ #
1787
1822
  # @!attribute [rw] component_role_arn
1788
1823
  # The Amazon Resource Name (ARN) of the IAM service role that Proton
1789
1824
  # uses when provisioning directly defined components in this
@@ -1818,7 +1853,7 @@ module Aws::Proton
1818
1853
  # @return [String]
1819
1854
  #
1820
1855
  # @!attribute [rw] environment_account_connection_id
1821
- # The ID of the environment account connection that's used to
1856
+ # The ID of the environment account connection that Proton uses to
1822
1857
  # provision infrastructure resources in an environment account.
1823
1858
  # @return [String]
1824
1859
  #
@@ -1840,8 +1875,9 @@ module Aws::Proton
1840
1875
  # @return [String]
1841
1876
  #
1842
1877
  # @!attribute [rw] proton_service_role_arn
1843
- # The Amazon Resource Name (ARN) of the Proton service role that
1844
- # allows Proton to make calls to other services on your behalf.
1878
+ # The Amazon Resource Name (ARN) of the IAM service role that allows
1879
+ # Proton to provision infrastructure using Amazon Web Services-managed
1880
+ # provisioning and CloudFormation on your behalf.
1845
1881
  # @return [String]
1846
1882
  #
1847
1883
  # @!attribute [rw] provisioning
@@ -1876,6 +1912,7 @@ module Aws::Proton
1876
1912
  #
1877
1913
  class Environment < Struct.new(
1878
1914
  :arn,
1915
+ :codebuild_role_arn,
1879
1916
  :component_role_arn,
1880
1917
  :created_at,
1881
1918
  :deployment_status,
@@ -1904,6 +1941,13 @@ module Aws::Proton
1904
1941
  # connection.
1905
1942
  # @return [String]
1906
1943
  #
1944
+ # @!attribute [rw] codebuild_role_arn
1945
+ # The Amazon Resource Name (ARN) of an IAM service role in the
1946
+ # environment account. Proton uses this role to provision
1947
+ # infrastructure resources using CodeBuild-based provisioning in the
1948
+ # associated environment account.
1949
+ # @return [String]
1950
+ #
1907
1951
  # @!attribute [rw] component_role_arn
1908
1952
  # The Amazon Resource Name (ARN) of the IAM service role that Proton
1909
1953
  # uses when provisioning directly defined components in the associated
@@ -1950,8 +1994,11 @@ module Aws::Proton
1950
1994
  # @return [Time]
1951
1995
  #
1952
1996
  # @!attribute [rw] role_arn
1953
- # The IAM service role that's associated with the environment account
1954
- # connection.
1997
+ # The Amazon Resource Name (ARN) of an IAM service role in the
1998
+ # environment account. Proton uses this role to provision
1999
+ # infrastructure resources using Amazon Web Services-managed
2000
+ # provisioning and CloudFormation in the associated environment
2001
+ # account.
1955
2002
  # @return [String]
1956
2003
  #
1957
2004
  # @!attribute [rw] status
@@ -1962,6 +2009,7 @@ module Aws::Proton
1962
2009
  #
1963
2010
  class EnvironmentAccountConnection < Struct.new(
1964
2011
  :arn,
2012
+ :codebuild_role_arn,
1965
2013
  :component_role_arn,
1966
2014
  :environment_account_id,
1967
2015
  :environment_name,
@@ -4011,21 +4059,26 @@ module Aws::Proton
4011
4059
  # },
4012
4060
  # ],
4013
4061
  # resource_arn: "Arn", # required
4014
- # status: "IN_PROGRESS", # required, accepts IN_PROGRESS, FAILED, SUCCEEDED
4062
+ # status: "IN_PROGRESS", # accepts IN_PROGRESS, FAILED, SUCCEEDED
4015
4063
  # status_message: "NotifyResourceDeploymentStatusChangeInputStatusMessageString",
4016
4064
  # }
4017
4065
  #
4018
4066
  # @!attribute [rw] deployment_id
4019
- # The deployment ID for your provisioned resource.
4067
+ # The deployment ID for your provisioned resource. Proton uses it to
4068
+ # disambiguate different deployments of the resource. Applicable to
4069
+ # [self-managed provisioning][1].
4070
+ #
4071
+ #
4072
+ #
4073
+ # [1]: https://docs.aws.amazon.com/proton/latest/userguide/ag-works-prov-methods.html#ag-works-prov-methods-self
4020
4074
  # @return [String]
4021
4075
  #
4022
4076
  # @!attribute [rw] outputs
4023
- # The provisioned resource state change detail data that's returned
4024
- # by Proton.
4077
+ # The output values generated by your provisioned resource.
4025
4078
  # @return [Array<Types::Output>]
4026
4079
  #
4027
4080
  # @!attribute [rw] resource_arn
4028
- # The provisioned resource Amazon Resource Name (ARN).
4081
+ # The Amazon Resource Name (ARN) of your provisioned resource.
4029
4082
  # @return [String]
4030
4083
  #
4031
4084
  # @!attribute [rw] status
@@ -5280,12 +5333,13 @@ module Aws::Proton
5280
5333
  #
5281
5334
  # {
5282
5335
  # delete_pipeline_provisioning_repository: false,
5336
+ # pipeline_codebuild_role_arn: "RoleArnOrEmptyString",
5283
5337
  # pipeline_provisioning_repository: {
5284
5338
  # branch: "GitBranchName", # required
5285
5339
  # name: "RepositoryName", # required
5286
5340
  # provider: "GITHUB", # required, accepts GITHUB, GITHUB_ENTERPRISE, BITBUCKET
5287
5341
  # },
5288
- # pipeline_service_role_arn: "PipelineRoleArn",
5342
+ # pipeline_service_role_arn: "RoleArnOrEmptyString",
5289
5343
  # }
5290
5344
  #
5291
5345
  # @!attribute [rw] delete_pipeline_provisioning_repository
@@ -5294,6 +5348,12 @@ module Aws::Proton
5294
5348
  # configured pipeline repository.
5295
5349
  # @return [Boolean]
5296
5350
  #
5351
+ # @!attribute [rw] pipeline_codebuild_role_arn
5352
+ # The Amazon Resource Name (ARN) of the service role you want to use
5353
+ # for provisioning pipelines. Proton assumes this role for
5354
+ # CodeBuild-based provisioning.
5355
+ # @return [String]
5356
+ #
5297
5357
  # @!attribute [rw] pipeline_provisioning_repository
5298
5358
  # A linked repository for pipeline provisioning. Specify it if you
5299
5359
  # have environments configured for self-managed provisioning with
@@ -5319,6 +5379,7 @@ module Aws::Proton
5319
5379
  #
5320
5380
  class UpdateAccountSettingsInput < Struct.new(
5321
5381
  :delete_pipeline_provisioning_repository,
5382
+ :pipeline_codebuild_role_arn,
5322
5383
  :pipeline_provisioning_repository,
5323
5384
  :pipeline_service_role_arn)
5324
5385
  SENSITIVE = []
@@ -5444,11 +5505,19 @@ module Aws::Proton
5444
5505
  # data as a hash:
5445
5506
  #
5446
5507
  # {
5447
- # component_role_arn: "Arn",
5508
+ # codebuild_role_arn: "RoleArn",
5509
+ # component_role_arn: "RoleArn",
5448
5510
  # id: "EnvironmentAccountConnectionId", # required
5449
- # role_arn: "Arn",
5511
+ # role_arn: "RoleArn",
5450
5512
  # }
5451
5513
  #
5514
+ # @!attribute [rw] codebuild_role_arn
5515
+ # The Amazon Resource Name (ARN) of an IAM service role in the
5516
+ # environment account. Proton uses this role to provision
5517
+ # infrastructure resources using CodeBuild-based provisioning in the
5518
+ # associated environment account.
5519
+ # @return [String]
5520
+ #
5452
5521
  # @!attribute [rw] component_role_arn
5453
5522
  # The Amazon Resource Name (ARN) of the IAM service role that Proton
5454
5523
  # uses when provisioning directly defined components in the associated
@@ -5472,13 +5541,17 @@ module Aws::Proton
5472
5541
  # @return [String]
5473
5542
  #
5474
5543
  # @!attribute [rw] role_arn
5475
- # The Amazon Resource Name (ARN) of the IAM service role that's
5476
- # associated with the environment account connection to update.
5544
+ # The Amazon Resource Name (ARN) of an IAM service role in the
5545
+ # environment account. Proton uses this role to provision
5546
+ # infrastructure resources using Amazon Web Services-managed
5547
+ # provisioning and CloudFormation in the associated environment
5548
+ # account.
5477
5549
  # @return [String]
5478
5550
  #
5479
5551
  # @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/UpdateEnvironmentAccountConnectionInput AWS API Documentation
5480
5552
  #
5481
5553
  class UpdateEnvironmentAccountConnectionInput < Struct.new(
5554
+ :codebuild_role_arn,
5482
5555
  :component_role_arn,
5483
5556
  :id,
5484
5557
  :role_arn)
@@ -5503,7 +5576,8 @@ module Aws::Proton
5503
5576
  # data as a hash:
5504
5577
  #
5505
5578
  # {
5506
- # component_role_arn: "Arn",
5579
+ # codebuild_role_arn: "RoleArn",
5580
+ # component_role_arn: "RoleArn",
5507
5581
  # deployment_type: "NONE", # required, accepts NONE, CURRENT_VERSION, MINOR_VERSION, MAJOR_VERSION
5508
5582
  # description: "Description",
5509
5583
  # environment_account_connection_id: "EnvironmentAccountConnectionId",
@@ -5519,6 +5593,12 @@ module Aws::Proton
5519
5593
  # template_minor_version: "TemplateVersionPart",
5520
5594
  # }
5521
5595
  #
5596
+ # @!attribute [rw] codebuild_role_arn
5597
+ # The Amazon Resource Name (ARN) of the IAM service role that allows
5598
+ # Proton to provision infrastructure using CodeBuild-based
5599
+ # provisioning on your behalf.
5600
+ # @return [String]
5601
+ #
5522
5602
  # @!attribute [rw] component_role_arn
5523
5603
  # The Amazon Resource Name (ARN) of the IAM service role that Proton
5524
5604
  # uses when provisioning directly defined components in this
@@ -5581,12 +5661,20 @@ module Aws::Proton
5581
5661
  # @return [String]
5582
5662
  #
5583
5663
  # @!attribute [rw] environment_account_connection_id
5584
- # The ID of the environment account connection.
5664
+ # The ID of the environment account connection that you provide if you
5665
+ # want Proton to provision infrastructure resources for your
5666
+ # environment or for any of the service instances running in it in an
5667
+ # environment account. For more information, see [Environment account
5668
+ # connections][1] in the *Proton User guide*.
5585
5669
  #
5586
5670
  # You can only update to a new environment account connection if it
5587
5671
  # was created in the same environment account that the current
5588
5672
  # environment account connection was created in and is associated with
5589
5673
  # the current environment.
5674
+ #
5675
+ #
5676
+ #
5677
+ # [1]: https://docs.aws.amazon.com/proton/latest/userguide/ag-env-account-connections.html
5590
5678
  # @return [String]
5591
5679
  #
5592
5680
  # @!attribute [rw] name
@@ -5594,8 +5682,9 @@ module Aws::Proton
5594
5682
  # @return [String]
5595
5683
  #
5596
5684
  # @!attribute [rw] proton_service_role_arn
5597
- # The Amazon Resource Name (ARN) of the Proton service role that
5598
- # allows Proton to make API calls to other services your behalf.
5685
+ # The Amazon Resource Name (ARN) of the IAM service role that allows
5686
+ # Proton to provision infrastructure using Amazon Web Services-managed
5687
+ # provisioning and CloudFormation on your behalf.
5599
5688
  # @return [String]
5600
5689
  #
5601
5690
  # @!attribute [rw] provisioning_repository
@@ -5620,6 +5709,7 @@ module Aws::Proton
5620
5709
  # @see http://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/UpdateEnvironmentInput AWS API Documentation
5621
5710
  #
5622
5711
  class UpdateEnvironmentInput < Struct.new(
5712
+ :codebuild_role_arn,
5623
5713
  :component_role_arn,
5624
5714
  :deployment_type,
5625
5715
  :description,
@@ -53,6 +53,6 @@ require_relative 'aws-sdk-proton/customizations'
53
53
  # @!group service
54
54
  module Aws::Proton
55
55
 
56
- GEM_VERSION = '1.18.0'
56
+ GEM_VERSION = '1.19.0'
57
57
 
58
58
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-proton
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.18.0
4
+ version: 1.19.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: 2022-10-25 00:00:00.000000000 Z
11
+ date: 2022-11-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core