@@ -75,6 +75,7 @@ export const AuthType = {
75
75
CODECONNECTIONS : "CODECONNECTIONS" ,
76
76
OAUTH : "OAUTH" ,
77
77
PERSONAL_ACCESS_TOKEN : "PERSONAL_ACCESS_TOKEN" ,
78
+ SECRETS_MANAGER : "SECRETS_MANAGER" ,
78
79
} as const ;
79
80
80
81
/**
@@ -1459,6 +1460,7 @@ export interface BuildBatchPhase {
1459
1460
export const SourceAuthType = {
1460
1461
CODECONNECTIONS : "CODECONNECTIONS" ,
1461
1462
OAUTH : "OAUTH" ,
1463
+ SECRETS_MANAGER : "SECRETS_MANAGER" ,
1462
1464
} as const ;
1463
1465
1464
1466
/**
@@ -1469,13 +1471,11 @@ export type SourceAuthType = (typeof SourceAuthType)[keyof typeof SourceAuthType
1469
1471
/**
1470
1472
* <p>Information about the authorization settings for CodeBuild to access the source code to be
1471
1473
* built.</p>
1472
- * <p>This information is for the CodeBuild console's use only. Your code should not get or set
1473
- * this information directly.</p>
1474
1474
* @public
1475
1475
*/
1476
1476
export interface SourceAuth {
1477
1477
/**
1478
- * <p>The authorization type to use. Valid options are OAUTH or CODECONNECTIONS .</p>
1478
+ * <p>The authorization type to use. Valid options are OAUTH, CODECONNECTIONS, or SECRETS_MANAGER .</p>
1479
1479
* @public
1480
1480
*/
1481
1481
type : SourceAuthType | undefined ;
@@ -1723,8 +1723,6 @@ export interface ProjectSource {
1723
1723
/**
1724
1724
* <p>Information about the authorization settings for CodeBuild to access the source code to be
1725
1725
* built.</p>
1726
- * <p>This information is for the CodeBuild console's use only. Your code should not get or set
1727
- * this information directly.</p>
1728
1726
* @public
1729
1727
*/
1730
1728
auth ?: SourceAuth ;
@@ -5875,7 +5873,7 @@ export interface ImportSourceCredentialsInput {
5875
5873
/**
5876
5874
* <p> For GitHub or GitHub Enterprise, this is the personal access token. For Bitbucket,
5877
5875
* this is either the access token or the app password. For the <code>authType</code> CODECONNECTIONS,
5878
- * this is the <code>connectionArn</code>.</p>
5876
+ * this is the <code>connectionArn</code>. For the <code>authType</code> SECRETS_MANAGER, this is the <code>secretArn</code>. </p>
5879
5877
* @public
5880
5878
*/
5881
5879
token : string | undefined ;
@@ -5889,8 +5887,7 @@ export interface ImportSourceCredentialsInput {
5889
5887
/**
5890
5888
* <p> The type of authentication used to connect to a GitHub, GitHub Enterprise, GitLab, GitLab Self Managed, or
5891
5889
* Bitbucket repository. An OAUTH connection is not supported by the API and must be
5892
- * created using the CodeBuild console. Note that CODECONNECTIONS is only valid for
5893
- * GitLab and GitLab Self Managed.</p>
5890
+ * created using the CodeBuild console.</p>
5894
5891
* @public
5895
5892
*/
5896
5893
authType : AuthType | undefined ;
@@ -6954,13 +6951,13 @@ export interface SourceCredentialsInfo {
6954
6951
6955
6952
/**
6956
6953
* <p> The type of authentication used by the credentials. Valid options are OAUTH,
6957
- * BASIC_AUTH, PERSONAL_ACCESS_TOKEN, or CODECONNECTIONS . </p>
6954
+ * BASIC_AUTH, PERSONAL_ACCESS_TOKEN, CODECONNECTIONS, or SECRETS_MANAGER . </p>
6958
6955
* @public
6959
6956
*/
6960
6957
authType ?: AuthType ;
6961
6958
6962
6959
/**
6963
- * <p>The connection ARN if your serverType type is GITLAB or GITLAB_SELF_MANAGED and your authType is CODECONNECTIONS .</p>
6960
+ * <p>The connection ARN if your authType is CODECONNECTIONS or SECRETS_MANAGER .</p>
6964
6961
* @public
6965
6962
*/
6966
6963
resource ?: string ;
0 commit comments