ImportSourceCredentialsInput
public struct ImportSourceCredentialsInput : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
The type of authentication used to connect to a GitHub, GitHub Enterprise, or Bitbucket repository. An OAUTH connection is not supported by the API and must be created using the AWS CodeBuild console.
Declaration
Swift
public let authType: AuthType
-
The source provider used for this project.
Declaration
Swift
public let serverType: ServerType
-
Set to false to prevent overwriting the repository source credentials. Set to true to overwrite the repository source credentials. The default value is true.
Declaration
Swift
public let shouldOverwrite: Bool?
-
For GitHub or GitHub Enterprise, this is the personal access token. For Bitbucket, this is the app password.
Declaration
Swift
public let token: String
-
The Bitbucket username when the authType is BASIC_AUTH. This parameter is not valid for other types of source providers or connections.
Declaration
Swift
public let username: String?
-
Undocumented
Declaration
Swift
public init(authType: AuthType, serverType: ServerType, shouldOverwrite: Bool? = nil, token: String, username: String? = nil)
-
Declaration
Swift
public func validate(name: String) throws