aws-sdk-codebuild 1.47.0 → 1.48.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-codebuild.rb +1 -1
- data/lib/aws-sdk-codebuild/client.rb +82 -2
- data/lib/aws-sdk-codebuild/client_api.rb +16 -0
- data/lib/aws-sdk-codebuild/types.rb +183 -32
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: db756852e4d9a60db8be2e7b86d84fb2213730a2
|
4
|
+
data.tar.gz: 68221261c708327f7b10af7b9e047afdf352e49c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d881473ca0250df7ee0f17729ca838128e08e8c50ee971b832751a19021c0a7913c179e1743b2d2c5d39ebc1284d45203fbe415a5099258ae6edc4200605a948
|
7
|
+
data.tar.gz: 6c9ee443a597d4f44803c733683d3787e8de10894e8ca4626860c46b07834d80f588a3609158d9e2c0dd11a35afb65f631f4df6f27d1bc5244dfc8ac4f9d050b
|
data/lib/aws-sdk-codebuild.rb
CHANGED
@@ -671,6 +671,12 @@ module Aws::CodeBuild
|
|
671
671
|
# resp.builds[0].exported_environment_variables[0].value #=> String
|
672
672
|
# resp.builds[0].report_arns #=> Array
|
673
673
|
# resp.builds[0].report_arns[0] #=> String
|
674
|
+
# resp.builds[0].file_system_locations #=> Array
|
675
|
+
# resp.builds[0].file_system_locations[0].type #=> String, one of "EFS"
|
676
|
+
# resp.builds[0].file_system_locations[0].location #=> String
|
677
|
+
# resp.builds[0].file_system_locations[0].mount_point #=> String
|
678
|
+
# resp.builds[0].file_system_locations[0].identifier #=> String
|
679
|
+
# resp.builds[0].file_system_locations[0].mount_options #=> String
|
674
680
|
# resp.builds_not_found #=> Array
|
675
681
|
# resp.builds_not_found[0] #=> String
|
676
682
|
#
|
@@ -799,6 +805,12 @@ module Aws::CodeBuild
|
|
799
805
|
# resp.projects[0].logs_config.s3_logs.status #=> String, one of "ENABLED", "DISABLED"
|
800
806
|
# resp.projects[0].logs_config.s3_logs.location #=> String
|
801
807
|
# resp.projects[0].logs_config.s3_logs.encryption_disabled #=> Boolean
|
808
|
+
# resp.projects[0].file_system_locations #=> Array
|
809
|
+
# resp.projects[0].file_system_locations[0].type #=> String, one of "EFS"
|
810
|
+
# resp.projects[0].file_system_locations[0].location #=> String
|
811
|
+
# resp.projects[0].file_system_locations[0].mount_point #=> String
|
812
|
+
# resp.projects[0].file_system_locations[0].identifier #=> String
|
813
|
+
# resp.projects[0].file_system_locations[0].mount_options #=> String
|
802
814
|
# resp.projects_not_found #=> Array
|
803
815
|
# resp.projects_not_found[0] #=> String
|
804
816
|
#
|
@@ -1013,6 +1025,12 @@ module Aws::CodeBuild
|
|
1013
1025
|
# Amazon CloudWatch Logs, logs uploaded to a specified S3 bucket, or
|
1014
1026
|
# both.
|
1015
1027
|
#
|
1028
|
+
# @option params [Array<Types::ProjectFileSystemLocation>] :file_system_locations
|
1029
|
+
# An array of `ProjectFileSystemLocation` objects for a CodeBuild build
|
1030
|
+
# project. A `ProjectFileSystemLocation` object specifies the
|
1031
|
+
# `identifier`, `location`, `mountOptions`, `mountPoint`, and `type` of
|
1032
|
+
# a file system created using Amazon Elastic File System.
|
1033
|
+
#
|
1016
1034
|
# @return [Types::CreateProjectOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1017
1035
|
#
|
1018
1036
|
# * {Types::CreateProjectOutput#project #project} => Types::Project
|
@@ -1139,6 +1157,15 @@ module Aws::CodeBuild
|
|
1139
1157
|
# encryption_disabled: false,
|
1140
1158
|
# },
|
1141
1159
|
# },
|
1160
|
+
# file_system_locations: [
|
1161
|
+
# {
|
1162
|
+
# type: "EFS", # accepts EFS
|
1163
|
+
# location: "String",
|
1164
|
+
# mount_point: "String",
|
1165
|
+
# identifier: "String",
|
1166
|
+
# mount_options: "String",
|
1167
|
+
# },
|
1168
|
+
# ],
|
1142
1169
|
# })
|
1143
1170
|
#
|
1144
1171
|
# @example Response structure
|
@@ -1238,6 +1265,12 @@ module Aws::CodeBuild
|
|
1238
1265
|
# resp.project.logs_config.s3_logs.status #=> String, one of "ENABLED", "DISABLED"
|
1239
1266
|
# resp.project.logs_config.s3_logs.location #=> String
|
1240
1267
|
# resp.project.logs_config.s3_logs.encryption_disabled #=> Boolean
|
1268
|
+
# resp.project.file_system_locations #=> Array
|
1269
|
+
# resp.project.file_system_locations[0].type #=> String, one of "EFS"
|
1270
|
+
# resp.project.file_system_locations[0].location #=> String
|
1271
|
+
# resp.project.file_system_locations[0].mount_point #=> String
|
1272
|
+
# resp.project.file_system_locations[0].identifier #=> String
|
1273
|
+
# resp.project.file_system_locations[0].mount_options #=> String
|
1241
1274
|
#
|
1242
1275
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/CreateProject AWS API Documentation
|
1243
1276
|
#
|
@@ -2338,9 +2371,23 @@ module Aws::CodeBuild
|
|
2338
2371
|
# an AWS CodeBuild build project.
|
2339
2372
|
#
|
2340
2373
|
# @option params [String] :buildspec_override
|
2341
|
-
# A
|
2374
|
+
# A buildspec file declaration that overrides, for this build only, the
|
2342
2375
|
# latest one already defined in the build project.
|
2343
2376
|
#
|
2377
|
+
# If this value is set, it can be either an inline buildspec definition,
|
2378
|
+
# the path to an alternate buildspec file relative to the value of the
|
2379
|
+
# built-in `CODEBUILD_SRC_DIR` environment variable, or the path to an
|
2380
|
+
# S3 bucket. The bucket must be in the same AWS Region as the build
|
2381
|
+
# project. Specify the buildspec file using its ARN (for example,
|
2382
|
+
# `arn:aws:s3:::my-codebuild-sample2/buildspec.yml`). If this value is
|
2383
|
+
# not provided or is set to an empty string, the source code must
|
2384
|
+
# contain a buildspec file in its root directory. For more information,
|
2385
|
+
# see [Buildspec File Name and Storage Location][1].
|
2386
|
+
#
|
2387
|
+
#
|
2388
|
+
#
|
2389
|
+
# [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/build-spec-ref.html#build-spec-ref-name-storage
|
2390
|
+
#
|
2344
2391
|
# @option params [Boolean] :insecure_ssl_override
|
2345
2392
|
# Enable this flag to override the insecure SSL setting that is
|
2346
2393
|
# specified in the build project. The insecure SSL setting determines
|
@@ -2652,6 +2699,12 @@ module Aws::CodeBuild
|
|
2652
2699
|
# resp.build.exported_environment_variables[0].value #=> String
|
2653
2700
|
# resp.build.report_arns #=> Array
|
2654
2701
|
# resp.build.report_arns[0] #=> String
|
2702
|
+
# resp.build.file_system_locations #=> Array
|
2703
|
+
# resp.build.file_system_locations[0].type #=> String, one of "EFS"
|
2704
|
+
# resp.build.file_system_locations[0].location #=> String
|
2705
|
+
# resp.build.file_system_locations[0].mount_point #=> String
|
2706
|
+
# resp.build.file_system_locations[0].identifier #=> String
|
2707
|
+
# resp.build.file_system_locations[0].mount_options #=> String
|
2655
2708
|
#
|
2656
2709
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StartBuild AWS API Documentation
|
2657
2710
|
#
|
@@ -2781,6 +2834,12 @@ module Aws::CodeBuild
|
|
2781
2834
|
# resp.build.exported_environment_variables[0].value #=> String
|
2782
2835
|
# resp.build.report_arns #=> Array
|
2783
2836
|
# resp.build.report_arns[0] #=> String
|
2837
|
+
# resp.build.file_system_locations #=> Array
|
2838
|
+
# resp.build.file_system_locations[0].type #=> String, one of "EFS"
|
2839
|
+
# resp.build.file_system_locations[0].location #=> String
|
2840
|
+
# resp.build.file_system_locations[0].mount_point #=> String
|
2841
|
+
# resp.build.file_system_locations[0].identifier #=> String
|
2842
|
+
# resp.build.file_system_locations[0].mount_options #=> String
|
2784
2843
|
#
|
2785
2844
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StopBuild AWS API Documentation
|
2786
2845
|
#
|
@@ -2905,6 +2964,12 @@ module Aws::CodeBuild
|
|
2905
2964
|
# Information about logs for the build project. A project can create
|
2906
2965
|
# logs in Amazon CloudWatch Logs, logs in an S3 bucket, or both.
|
2907
2966
|
#
|
2967
|
+
# @option params [Array<Types::ProjectFileSystemLocation>] :file_system_locations
|
2968
|
+
# An array of `ProjectFileSystemLocation` objects for a CodeBuild build
|
2969
|
+
# project. A `ProjectFileSystemLocation` object specifies the
|
2970
|
+
# `identifier`, `location`, `mountOptions`, `mountPoint`, and `type` of
|
2971
|
+
# a file system created using Amazon Elastic File System.
|
2972
|
+
#
|
2908
2973
|
# @return [Types::UpdateProjectOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2909
2974
|
#
|
2910
2975
|
# * {Types::UpdateProjectOutput#project #project} => Types::Project
|
@@ -3031,6 +3096,15 @@ module Aws::CodeBuild
|
|
3031
3096
|
# encryption_disabled: false,
|
3032
3097
|
# },
|
3033
3098
|
# },
|
3099
|
+
# file_system_locations: [
|
3100
|
+
# {
|
3101
|
+
# type: "EFS", # accepts EFS
|
3102
|
+
# location: "String",
|
3103
|
+
# mount_point: "String",
|
3104
|
+
# identifier: "String",
|
3105
|
+
# mount_options: "String",
|
3106
|
+
# },
|
3107
|
+
# ],
|
3034
3108
|
# })
|
3035
3109
|
#
|
3036
3110
|
# @example Response structure
|
@@ -3130,6 +3204,12 @@ module Aws::CodeBuild
|
|
3130
3204
|
# resp.project.logs_config.s3_logs.status #=> String, one of "ENABLED", "DISABLED"
|
3131
3205
|
# resp.project.logs_config.s3_logs.location #=> String
|
3132
3206
|
# resp.project.logs_config.s3_logs.encryption_disabled #=> Boolean
|
3207
|
+
# resp.project.file_system_locations #=> Array
|
3208
|
+
# resp.project.file_system_locations[0].type #=> String, one of "EFS"
|
3209
|
+
# resp.project.file_system_locations[0].location #=> String
|
3210
|
+
# resp.project.file_system_locations[0].mount_point #=> String
|
3211
|
+
# resp.project.file_system_locations[0].identifier #=> String
|
3212
|
+
# resp.project.file_system_locations[0].mount_options #=> String
|
3133
3213
|
#
|
3134
3214
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/UpdateProject AWS API Documentation
|
3135
3215
|
#
|
@@ -3281,7 +3361,7 @@ module Aws::CodeBuild
|
|
3281
3361
|
params: params,
|
3282
3362
|
config: config)
|
3283
3363
|
context[:gem_name] = 'aws-sdk-codebuild'
|
3284
|
-
context[:gem_version] = '1.
|
3364
|
+
context[:gem_version] = '1.48.0'
|
3285
3365
|
Seahorse::Client::Request.new(handlers, context)
|
3286
3366
|
end
|
3287
3367
|
|
@@ -75,6 +75,7 @@ module Aws::CodeBuild
|
|
75
75
|
EnvironmentVariables = Shapes::ListShape.new(name: 'EnvironmentVariables')
|
76
76
|
ExportedEnvironmentVariable = Shapes::StructureShape.new(name: 'ExportedEnvironmentVariable')
|
77
77
|
ExportedEnvironmentVariables = Shapes::ListShape.new(name: 'ExportedEnvironmentVariables')
|
78
|
+
FileSystemType = Shapes::StringShape.new(name: 'FileSystemType')
|
78
79
|
FilterGroup = Shapes::ListShape.new(name: 'FilterGroup')
|
79
80
|
FilterGroups = Shapes::ListShape.new(name: 'FilterGroups')
|
80
81
|
GetResourcePolicyInput = Shapes::StructureShape.new(name: 'GetResourcePolicyInput')
|
@@ -129,6 +130,8 @@ module Aws::CodeBuild
|
|
129
130
|
ProjectCacheModes = Shapes::ListShape.new(name: 'ProjectCacheModes')
|
130
131
|
ProjectDescription = Shapes::StringShape.new(name: 'ProjectDescription')
|
131
132
|
ProjectEnvironment = Shapes::StructureShape.new(name: 'ProjectEnvironment')
|
133
|
+
ProjectFileSystemLocation = Shapes::StructureShape.new(name: 'ProjectFileSystemLocation')
|
134
|
+
ProjectFileSystemLocations = Shapes::ListShape.new(name: 'ProjectFileSystemLocations')
|
132
135
|
ProjectName = Shapes::StringShape.new(name: 'ProjectName')
|
133
136
|
ProjectNames = Shapes::ListShape.new(name: 'ProjectNames')
|
134
137
|
ProjectSecondarySourceVersions = Shapes::ListShape.new(name: 'ProjectSecondarySourceVersions')
|
@@ -263,6 +266,7 @@ module Aws::CodeBuild
|
|
263
266
|
Build.add_member(:encryption_key, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "encryptionKey"))
|
264
267
|
Build.add_member(:exported_environment_variables, Shapes::ShapeRef.new(shape: ExportedEnvironmentVariables, location_name: "exportedEnvironmentVariables"))
|
265
268
|
Build.add_member(:report_arns, Shapes::ShapeRef.new(shape: BuildReportArns, location_name: "reportArns"))
|
269
|
+
Build.add_member(:file_system_locations, Shapes::ShapeRef.new(shape: ProjectFileSystemLocations, location_name: "fileSystemLocations"))
|
266
270
|
Build.struct_class = Types::Build
|
267
271
|
|
268
272
|
BuildArtifacts.add_member(:location, Shapes::ShapeRef.new(shape: String, location_name: "location"))
|
@@ -320,6 +324,7 @@ module Aws::CodeBuild
|
|
320
324
|
CreateProjectInput.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "vpcConfig"))
|
321
325
|
CreateProjectInput.add_member(:badge_enabled, Shapes::ShapeRef.new(shape: WrapperBoolean, location_name: "badgeEnabled"))
|
322
326
|
CreateProjectInput.add_member(:logs_config, Shapes::ShapeRef.new(shape: LogsConfig, location_name: "logsConfig"))
|
327
|
+
CreateProjectInput.add_member(:file_system_locations, Shapes::ShapeRef.new(shape: ProjectFileSystemLocations, location_name: "fileSystemLocations"))
|
323
328
|
CreateProjectInput.struct_class = Types::CreateProjectInput
|
324
329
|
|
325
330
|
CreateProjectOutput.add_member(:project, Shapes::ShapeRef.new(shape: Project, location_name: "project"))
|
@@ -577,6 +582,7 @@ module Aws::CodeBuild
|
|
577
582
|
Project.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "vpcConfig"))
|
578
583
|
Project.add_member(:badge, Shapes::ShapeRef.new(shape: ProjectBadge, location_name: "badge"))
|
579
584
|
Project.add_member(:logs_config, Shapes::ShapeRef.new(shape: LogsConfig, location_name: "logsConfig"))
|
585
|
+
Project.add_member(:file_system_locations, Shapes::ShapeRef.new(shape: ProjectFileSystemLocations, location_name: "fileSystemLocations"))
|
580
586
|
Project.struct_class = Types::Project
|
581
587
|
|
582
588
|
ProjectArns.member = Shapes::ShapeRef.new(shape: NonEmptyString)
|
@@ -615,6 +621,15 @@ module Aws::CodeBuild
|
|
615
621
|
ProjectEnvironment.add_member(:image_pull_credentials_type, Shapes::ShapeRef.new(shape: ImagePullCredentialsType, location_name: "imagePullCredentialsType"))
|
616
622
|
ProjectEnvironment.struct_class = Types::ProjectEnvironment
|
617
623
|
|
624
|
+
ProjectFileSystemLocation.add_member(:type, Shapes::ShapeRef.new(shape: FileSystemType, location_name: "type"))
|
625
|
+
ProjectFileSystemLocation.add_member(:location, Shapes::ShapeRef.new(shape: String, location_name: "location"))
|
626
|
+
ProjectFileSystemLocation.add_member(:mount_point, Shapes::ShapeRef.new(shape: String, location_name: "mountPoint"))
|
627
|
+
ProjectFileSystemLocation.add_member(:identifier, Shapes::ShapeRef.new(shape: String, location_name: "identifier"))
|
628
|
+
ProjectFileSystemLocation.add_member(:mount_options, Shapes::ShapeRef.new(shape: String, location_name: "mountOptions"))
|
629
|
+
ProjectFileSystemLocation.struct_class = Types::ProjectFileSystemLocation
|
630
|
+
|
631
|
+
ProjectFileSystemLocations.member = Shapes::ShapeRef.new(shape: ProjectFileSystemLocation)
|
632
|
+
|
618
633
|
ProjectNames.member = Shapes::ShapeRef.new(shape: NonEmptyString)
|
619
634
|
|
620
635
|
ProjectSecondarySourceVersions.member = Shapes::ShapeRef.new(shape: ProjectSourceVersion)
|
@@ -799,6 +814,7 @@ module Aws::CodeBuild
|
|
799
814
|
UpdateProjectInput.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "vpcConfig"))
|
800
815
|
UpdateProjectInput.add_member(:badge_enabled, Shapes::ShapeRef.new(shape: WrapperBoolean, location_name: "badgeEnabled"))
|
801
816
|
UpdateProjectInput.add_member(:logs_config, Shapes::ShapeRef.new(shape: LogsConfig, location_name: "logsConfig"))
|
817
|
+
UpdateProjectInput.add_member(:file_system_locations, Shapes::ShapeRef.new(shape: ProjectFileSystemLocations, location_name: "fileSystemLocations"))
|
802
818
|
UpdateProjectInput.struct_class = Types::UpdateProjectInput
|
803
819
|
|
804
820
|
UpdateProjectOutput.add_member(:project, Shapes::ShapeRef.new(shape: Project, location_name: "project"))
|
@@ -380,6 +380,13 @@ module Aws::CodeBuild
|
|
380
380
|
# An array of the ARNs associated with this build's reports.
|
381
381
|
# @return [Array<String>]
|
382
382
|
#
|
383
|
+
# @!attribute [rw] file_system_locations
|
384
|
+
# An array of `ProjectFileSystemLocation` objects for a CodeBuild
|
385
|
+
# build project. A `ProjectFileSystemLocation` object specifies the
|
386
|
+
# `identifier`, `location`, `mountOptions`, `mountPoint`, and `type`
|
387
|
+
# of a file system created using Amazon Elastic File System.
|
388
|
+
# @return [Array<Types::ProjectFileSystemLocation>]
|
389
|
+
#
|
383
390
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/Build AWS API Documentation
|
384
391
|
#
|
385
392
|
class Build < Struct.new(
|
@@ -411,7 +418,8 @@ module Aws::CodeBuild
|
|
411
418
|
:network_interface,
|
412
419
|
:encryption_key,
|
413
420
|
:exported_environment_variables,
|
414
|
-
:report_arns
|
421
|
+
:report_arns,
|
422
|
+
:file_system_locations)
|
415
423
|
include Aws::Structure
|
416
424
|
end
|
417
425
|
|
@@ -446,8 +454,8 @@ module Aws::CodeBuild
|
|
446
454
|
# @return [String]
|
447
455
|
#
|
448
456
|
# @!attribute [rw] override_artifact_name
|
449
|
-
# If this flag is set, a name specified in the
|
450
|
-
# overrides the artifact name. The name specified in a
|
457
|
+
# If this flag is set, a name specified in the buildspec file
|
458
|
+
# overrides the artifact name. The name specified in a buildspec file
|
451
459
|
# is calculated at build time and uses the Shell Command Language. For
|
452
460
|
# example, you can append a date and time to your artifact name so
|
453
461
|
# that it is always unique.
|
@@ -750,6 +758,15 @@ module Aws::CodeBuild
|
|
750
758
|
# encryption_disabled: false,
|
751
759
|
# },
|
752
760
|
# },
|
761
|
+
# file_system_locations: [
|
762
|
+
# {
|
763
|
+
# type: "EFS", # accepts EFS
|
764
|
+
# location: "String",
|
765
|
+
# mount_point: "String",
|
766
|
+
# identifier: "String",
|
767
|
+
# mount_options: "String",
|
768
|
+
# },
|
769
|
+
# ],
|
753
770
|
# }
|
754
771
|
#
|
755
772
|
# @!attribute [rw] name
|
@@ -881,6 +898,13 @@ module Aws::CodeBuild
|
|
881
898
|
# both.
|
882
899
|
# @return [Types::LogsConfig]
|
883
900
|
#
|
901
|
+
# @!attribute [rw] file_system_locations
|
902
|
+
# An array of `ProjectFileSystemLocation` objects for a CodeBuild
|
903
|
+
# build project. A `ProjectFileSystemLocation` object specifies the
|
904
|
+
# `identifier`, `location`, `mountOptions`, `mountPoint`, and `type`
|
905
|
+
# of a file system created using Amazon Elastic File System.
|
906
|
+
# @return [Array<Types::ProjectFileSystemLocation>]
|
907
|
+
#
|
884
908
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/CreateProjectInput AWS API Documentation
|
885
909
|
#
|
886
910
|
class CreateProjectInput < Struct.new(
|
@@ -901,7 +925,8 @@ module Aws::CodeBuild
|
|
901
925
|
:tags,
|
902
926
|
:vpc_config,
|
903
927
|
:badge_enabled,
|
904
|
-
:logs_config
|
928
|
+
:logs_config,
|
929
|
+
:file_system_locations)
|
905
930
|
include Aws::Structure
|
906
931
|
end
|
907
932
|
|
@@ -1320,10 +1345,12 @@ module Aws::CodeBuild
|
|
1320
1345
|
# @!attribute [rw] value
|
1321
1346
|
# The value of the environment variable.
|
1322
1347
|
#
|
1323
|
-
# We strongly discourage the use of environment variables
|
1324
|
-
# sensitive values, especially AWS secret key IDs and secret
|
1325
|
-
# keys.
|
1326
|
-
# AWS CodeBuild console and the AWS Command Line
|
1348
|
+
# We strongly discourage the use of `PLAINTEXT` environment variables
|
1349
|
+
# to store sensitive values, especially AWS secret key IDs and secret
|
1350
|
+
# access keys. `PLAINTEXT` environment variables can be displayed in
|
1351
|
+
# plain text using the AWS CodeBuild console and the AWS Command Line
|
1352
|
+
# Interface (AWS CLI). For sensitive values, we recommend you use an
|
1353
|
+
# environment variable of type `PARAMETER_STORE` or `SECRETS_MANAGER`.
|
1327
1354
|
# @return [String]
|
1328
1355
|
#
|
1329
1356
|
# @!attribute [rw] type
|
@@ -2399,6 +2426,13 @@ module Aws::CodeBuild
|
|
2399
2426
|
# logs in Amazon CloudWatch Logs, an S3 bucket, or both.
|
2400
2427
|
# @return [Types::LogsConfig]
|
2401
2428
|
#
|
2429
|
+
# @!attribute [rw] file_system_locations
|
2430
|
+
# An array of `ProjectFileSystemLocation` objects for a CodeBuild
|
2431
|
+
# build project. A `ProjectFileSystemLocation` object specifies the
|
2432
|
+
# `identifier`, `location`, `mountOptions`, `mountPoint`, and `type`
|
2433
|
+
# of a file system created using Amazon Elastic File System.
|
2434
|
+
# @return [Array<Types::ProjectFileSystemLocation>]
|
2435
|
+
#
|
2402
2436
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/Project AWS API Documentation
|
2403
2437
|
#
|
2404
2438
|
class Project < Struct.new(
|
@@ -2423,7 +2457,8 @@ module Aws::CodeBuild
|
|
2423
2457
|
:webhook,
|
2424
2458
|
:vpc_config,
|
2425
2459
|
:badge,
|
2426
|
-
:logs_config
|
2460
|
+
:logs_config,
|
2461
|
+
:file_system_locations)
|
2427
2462
|
include Aws::Structure
|
2428
2463
|
end
|
2429
2464
|
|
@@ -2569,8 +2604,8 @@ module Aws::CodeBuild
|
|
2569
2604
|
# @return [String]
|
2570
2605
|
#
|
2571
2606
|
# @!attribute [rw] override_artifact_name
|
2572
|
-
# If this flag is set, a name specified in the
|
2573
|
-
# overrides the artifact name. The name specified in a
|
2607
|
+
# If this flag is set, a name specified in the buildspec file
|
2608
|
+
# overrides the artifact name. The name specified in a buildspec file
|
2574
2609
|
# is calculated at build time and uses the Shell Command Language. For
|
2575
2610
|
# example, you can append a date and time to your artifact name so
|
2576
2611
|
# that it is always unique.
|
@@ -2877,6 +2912,80 @@ module Aws::CodeBuild
|
|
2877
2912
|
include Aws::Structure
|
2878
2913
|
end
|
2879
2914
|
|
2915
|
+
# Information about a file system created by Amazon Elastic File System
|
2916
|
+
# (EFS). For more information, see [What Is Amazon Elastic File
|
2917
|
+
# System?][1]
|
2918
|
+
#
|
2919
|
+
#
|
2920
|
+
#
|
2921
|
+
# [1]: https://docs.aws.amazon.com/efs/latest/ug/whatisefs.html
|
2922
|
+
#
|
2923
|
+
# @note When making an API call, you may pass ProjectFileSystemLocation
|
2924
|
+
# data as a hash:
|
2925
|
+
#
|
2926
|
+
# {
|
2927
|
+
# type: "EFS", # accepts EFS
|
2928
|
+
# location: "String",
|
2929
|
+
# mount_point: "String",
|
2930
|
+
# identifier: "String",
|
2931
|
+
# mount_options: "String",
|
2932
|
+
# }
|
2933
|
+
#
|
2934
|
+
# @!attribute [rw] type
|
2935
|
+
# The type of the file system. The one supported type is `EFS`.
|
2936
|
+
# @return [String]
|
2937
|
+
#
|
2938
|
+
# @!attribute [rw] location
|
2939
|
+
# A string that specifies the location of the file system created by
|
2940
|
+
# Amazon EFS. Its format is `efs-dns-name:/directory-path`. You can
|
2941
|
+
# find the DNS name of file system when you view it in the AWS EFS
|
2942
|
+
# console. The directory path is a path to a directory in the file
|
2943
|
+
# system that CodeBuild mounts. For example, if the DNS name of a file
|
2944
|
+
# system is `fs-abcd1234.efs.us-west-2.amazonaws.com`, and its mount
|
2945
|
+
# directory is `my-efs-mount-directory`, then the `location` is
|
2946
|
+
# `fs-abcd1234.efs.us-west-2.amazonaws.com:/my-efs-mount-directory`.
|
2947
|
+
#
|
2948
|
+
# The directory path in the format `efs-dns-name:/directory-path` is
|
2949
|
+
# optional. If you do not specify a directory path, the location is
|
2950
|
+
# only the DNS name and CodeBuild mounts the entire file system.
|
2951
|
+
# @return [String]
|
2952
|
+
#
|
2953
|
+
# @!attribute [rw] mount_point
|
2954
|
+
# The location in the container where you mount the file system.
|
2955
|
+
# @return [String]
|
2956
|
+
#
|
2957
|
+
# @!attribute [rw] identifier
|
2958
|
+
# The name used to access a file system created by Amazon EFS.
|
2959
|
+
# CodeBuild creates an environment variable by appending the
|
2960
|
+
# `identifier` in all capital letters to `CODEBUILD_`. For example, if
|
2961
|
+
# you specify `my-efs` for `identifier`, a new environment variable is
|
2962
|
+
# create named `CODEBUILD_MY-EFS`.
|
2963
|
+
#
|
2964
|
+
# The `identifier` is used to mount your file system.
|
2965
|
+
# @return [String]
|
2966
|
+
#
|
2967
|
+
# @!attribute [rw] mount_options
|
2968
|
+
# The mount options for a file system created by AWS EFS. The default
|
2969
|
+
# mount options used by CodeBuild are
|
2970
|
+
# `nfsvers=4.1,rsize=1048576,wsize=1048576,hard,timeo=600,retrans=2`.
|
2971
|
+
# For more information, see [Recommended NFS Mount Options][1].
|
2972
|
+
#
|
2973
|
+
#
|
2974
|
+
#
|
2975
|
+
# [1]: https://docs.aws.amazon.com/efs/latest/ug/mounting-fs-nfs-mount-settings.html
|
2976
|
+
# @return [String]
|
2977
|
+
#
|
2978
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ProjectFileSystemLocation AWS API Documentation
|
2979
|
+
#
|
2980
|
+
class ProjectFileSystemLocation < Struct.new(
|
2981
|
+
:type,
|
2982
|
+
:location,
|
2983
|
+
:mount_point,
|
2984
|
+
:identifier,
|
2985
|
+
:mount_options)
|
2986
|
+
include Aws::Structure
|
2987
|
+
end
|
2988
|
+
|
2880
2989
|
# Information about the build input source code for the build project.
|
2881
2990
|
#
|
2882
2991
|
# @note When making an API call, you may pass ProjectSource
|
@@ -2932,8 +3041,8 @@ module Aws::CodeBuild
|
|
2932
3041
|
# source action instead of this value.
|
2933
3042
|
#
|
2934
3043
|
# * For source code in an AWS CodeCommit repository, the HTTPS clone
|
2935
|
-
# URL to the repository that contains the source code and the
|
2936
|
-
#
|
3044
|
+
# URL to the repository that contains the source code and the
|
3045
|
+
# buildspec file (for example,
|
2937
3046
|
# `https://git-codecommit.region-ID.amazonaws.com/v1/repos/repo-name
|
2938
3047
|
# `).
|
2939
3048
|
#
|
@@ -2947,8 +3056,8 @@ module Aws::CodeBuild
|
|
2947
3056
|
# example, ` bucket-name/path/to/source-code/folder/`).
|
2948
3057
|
#
|
2949
3058
|
# * For source code in a GitHub repository, the HTTPS clone URL to the
|
2950
|
-
# repository that contains the source and the
|
2951
|
-
# connect your AWS account to your GitHub account. Use the AWS
|
3059
|
+
# repository that contains the source and the buildspec file. You
|
3060
|
+
# must connect your AWS account to your GitHub account. Use the AWS
|
2952
3061
|
# CodeBuild console to start creating a build project. When you use
|
2953
3062
|
# the console to connect (or reconnect) with GitHub, on the GitHub
|
2954
3063
|
# **Authorize application** page, for **Organization access**,
|
@@ -2961,16 +3070,16 @@ module Aws::CodeBuild
|
|
2961
3070
|
# `type` value to `OAUTH`.
|
2962
3071
|
#
|
2963
3072
|
# * For source code in a Bitbucket repository, the HTTPS clone URL to
|
2964
|
-
# the repository that contains the source and the
|
2965
|
-
# must connect your AWS account to your Bitbucket account. Use
|
2966
|
-
# AWS CodeBuild console to start creating a build project. When
|
2967
|
-
# use the console to connect (or reconnect) with Bitbucket, on
|
2968
|
-
# Bitbucket **Confirm access to your account** page, choose
|
2969
|
-
# access**. (After you have connected to your Bitbucket
|
2970
|
-
# do not need to finish creating the build project. You
|
2971
|
-
# the AWS CodeBuild console.) To instruct AWS CodeBuild to
|
2972
|
-
# connection, in the `source` object, set the `auth`
|
2973
|
-
# `type` value to `OAUTH`.
|
3073
|
+
# the repository that contains the source and the buildspec file.
|
3074
|
+
# You must connect your AWS account to your Bitbucket account. Use
|
3075
|
+
# the AWS CodeBuild console to start creating a build project. When
|
3076
|
+
# you use the console to connect (or reconnect) with Bitbucket, on
|
3077
|
+
# the Bitbucket **Confirm access to your account** page, choose
|
3078
|
+
# **Grant access**. (After you have connected to your Bitbucket
|
3079
|
+
# account, you do not need to finish creating the build project. You
|
3080
|
+
# can leave the AWS CodeBuild console.) To instruct AWS CodeBuild to
|
3081
|
+
# use this connection, in the `source` object, set the `auth`
|
3082
|
+
# object's `type` value to `OAUTH`.
|
2974
3083
|
# @return [String]
|
2975
3084
|
#
|
2976
3085
|
# @!attribute [rw] git_clone_depth
|
@@ -2983,11 +3092,22 @@ module Aws::CodeBuild
|
|
2983
3092
|
# @return [Types::GitSubmodulesConfig]
|
2984
3093
|
#
|
2985
3094
|
# @!attribute [rw] buildspec
|
2986
|
-
# The
|
3095
|
+
# The buildspec file declaration to use for the builds in this build
|
2987
3096
|
# project.
|
2988
3097
|
#
|
2989
|
-
# If this value is
|
2990
|
-
#
|
3098
|
+
# If this value is set, it can be either an inline buildspec
|
3099
|
+
# definition, the path to an alternate buildspec file relative to the
|
3100
|
+
# value of the built-in `CODEBUILD_SRC_DIR` environment variable, or
|
3101
|
+
# the path to an S3 bucket. The bucket must be in the same AWS Region
|
3102
|
+
# as the build project. Specify the buildspec file using its ARN (for
|
3103
|
+
# example, `arn:aws:s3:::my-codebuild-sample2/buildspec.yml`). If this
|
3104
|
+
# value is not provided or is set to an empty string, the source code
|
3105
|
+
# must contain a buildspec file in its root directory. For more
|
3106
|
+
# information, see [Buildspec File Name and Storage Location][1].
|
3107
|
+
#
|
3108
|
+
#
|
3109
|
+
#
|
3110
|
+
# [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/build-spec-ref.html#build-spec-ref-name-storage
|
2991
3111
|
# @return [String]
|
2992
3112
|
#
|
2993
3113
|
# @!attribute [rw] auth
|
@@ -3158,7 +3278,7 @@ module Aws::CodeBuild
|
|
3158
3278
|
# AWS Secrets Manager.
|
3159
3279
|
#
|
3160
3280
|
# <note markdown="1"> The `credential` can use the name of the credentials only if they
|
3161
|
-
# exist in your current
|
3281
|
+
# exist in your current AWS Region.
|
3162
3282
|
#
|
3163
3283
|
# </note>
|
3164
3284
|
# @return [String]
|
@@ -3704,8 +3824,22 @@ module Aws::CodeBuild
|
|
3704
3824
|
# @return [Types::GitSubmodulesConfig]
|
3705
3825
|
#
|
3706
3826
|
# @!attribute [rw] buildspec_override
|
3707
|
-
# A
|
3708
|
-
# latest one already defined in the build project.
|
3827
|
+
# A buildspec file declaration that overrides, for this build only,
|
3828
|
+
# the latest one already defined in the build project.
|
3829
|
+
#
|
3830
|
+
# If this value is set, it can be either an inline buildspec
|
3831
|
+
# definition, the path to an alternate buildspec file relative to the
|
3832
|
+
# value of the built-in `CODEBUILD_SRC_DIR` environment variable, or
|
3833
|
+
# the path to an S3 bucket. The bucket must be in the same AWS Region
|
3834
|
+
# as the build project. Specify the buildspec file using its ARN (for
|
3835
|
+
# example, `arn:aws:s3:::my-codebuild-sample2/buildspec.yml`). If this
|
3836
|
+
# value is not provided or is set to an empty string, the source code
|
3837
|
+
# must contain a buildspec file in its root directory. For more
|
3838
|
+
# information, see [Buildspec File Name and Storage Location][1].
|
3839
|
+
#
|
3840
|
+
#
|
3841
|
+
#
|
3842
|
+
# [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/build-spec-ref.html#build-spec-ref-name-storage
|
3709
3843
|
# @return [String]
|
3710
3844
|
#
|
3711
3845
|
# @!attribute [rw] insecure_ssl_override
|
@@ -4152,6 +4286,15 @@ module Aws::CodeBuild
|
|
4152
4286
|
# encryption_disabled: false,
|
4153
4287
|
# },
|
4154
4288
|
# },
|
4289
|
+
# file_system_locations: [
|
4290
|
+
# {
|
4291
|
+
# type: "EFS", # accepts EFS
|
4292
|
+
# location: "String",
|
4293
|
+
# mount_point: "String",
|
4294
|
+
# identifier: "String",
|
4295
|
+
# mount_options: "String",
|
4296
|
+
# },
|
4297
|
+
# ],
|
4155
4298
|
# }
|
4156
4299
|
#
|
4157
4300
|
# @!attribute [rw] name
|
@@ -4288,6 +4431,13 @@ module Aws::CodeBuild
|
|
4288
4431
|
# logs in Amazon CloudWatch Logs, logs in an S3 bucket, or both.
|
4289
4432
|
# @return [Types::LogsConfig]
|
4290
4433
|
#
|
4434
|
+
# @!attribute [rw] file_system_locations
|
4435
|
+
# An array of `ProjectFileSystemLocation` objects for a CodeBuild
|
4436
|
+
# build project. A `ProjectFileSystemLocation` object specifies the
|
4437
|
+
# `identifier`, `location`, `mountOptions`, `mountPoint`, and `type`
|
4438
|
+
# of a file system created using Amazon Elastic File System.
|
4439
|
+
# @return [Array<Types::ProjectFileSystemLocation>]
|
4440
|
+
#
|
4291
4441
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/UpdateProjectInput AWS API Documentation
|
4292
4442
|
#
|
4293
4443
|
class UpdateProjectInput < Struct.new(
|
@@ -4308,7 +4458,8 @@ module Aws::CodeBuild
|
|
4308
4458
|
:tags,
|
4309
4459
|
:vpc_config,
|
4310
4460
|
:badge_enabled,
|
4311
|
-
:logs_config
|
4461
|
+
:logs_config,
|
4462
|
+
:file_system_locations)
|
4312
4463
|
include Aws::Structure
|
4313
4464
|
end
|
4314
4465
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-codebuild
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.48.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: 2020-
|
11
|
+
date: 2020-02-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|