Interface CfnSourceCredentialMixinProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnSourceCredentialMixinProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-11T13:19:57.268Z")
@Stability(Stable)
public interface CfnSourceCredentialMixinProps
extends software.amazon.jsii.JsiiSerializable
Properties for CfnSourceCredentialPropsMixin.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.codebuild.*;
CfnSourceCredentialMixinProps cfnSourceCredentialMixinProps = CfnSourceCredentialMixinProps.builder()
.authType("authType")
.serverType("serverType")
.token("token")
.username("username")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnSourceCredentialMixinPropsstatic final classAn implementation forCfnSourceCredentialMixinProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe type of authentication used by the credentials.default StringThe type of source provider.default StringgetToken()For GitHub or GitHub Enterprise, this is the personal access token.default StringThe Bitbucket username when theauthTypeis BASIC_AUTH.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAuthType
The type of authentication used by the credentials.Valid options are OAUTH, BASIC_AUTH, PERSONAL_ACCESS_TOKEN, CODECONNECTIONS, or SECRETS_MANAGER.
- See Also:
-
getServerType
The type of source provider.The valid options are GITHUB, GITHUB_ENTERPRISE, GITLAB, GITLAB_SELF_MANAGED, or BITBUCKET.
- See Also:
-
getToken
For GitHub or GitHub Enterprise, this is the personal access token.For Bitbucket, this is either the access token or the app password. For the
authTypeCODECONNECTIONS, this is theconnectionArn. For theauthTypeSECRETS_MANAGER, this is thesecretArn.- See Also:
-
getUsername
The Bitbucket username when theauthTypeis BASIC_AUTH.This parameter is not valid for other types of source providers or connections.
- See Also:
-
builder
-