interface CfnSourceCredentialMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.CodeBuild.Mixins.CfnSourceCredentialMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awscodebuild/mixins#CfnSourceCredentialMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.codebuild.mixins.CfnSourceCredentialMixinProps |
Python | aws_cdk.mixins_preview.aws_codebuild.mixins.CfnSourceCredentialMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_codebuild » mixins » CfnSourceCredentialMixinProps |
Properties for CfnSourceCredentialPropsMixin.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as codebuild_mixins } from '@aws-cdk/mixins-preview/aws-codebuild';
const cfnSourceCredentialMixinProps: codebuild_mixins.CfnSourceCredentialMixinProps = {
authType: 'authType',
serverType: 'serverType',
token: 'token',
username: 'username',
};
Properties
| Name | Type | Description |
|---|---|---|
| auth | string | The type of authentication used by the credentials. |
| server | string | The type of source provider. |
| token? | string | For GitHub or GitHub Enterprise, this is the personal access token. |
| username? | string | The Bitbucket username when the authType is BASIC_AUTH. |
authType?
Type:
string
(optional)
The type of authentication used by the credentials.
Valid options are OAUTH, BASIC_AUTH, PERSONAL_ACCESS_TOKEN, CODECONNECTIONS, or SECRETS_MANAGER.
serverType?
Type:
string
(optional)
The type of source provider.
The valid options are GITHUB, GITHUB_ENTERPRISE, GITLAB, GITLAB_SELF_MANAGED, or BITBUCKET.
token?
Type:
string
(optional)
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 authType CODECONNECTIONS, this is the connectionArn . For the authType SECRETS_MANAGER, this is the secretArn .
username?
Type:
string
(optional)
The Bitbucket username when the authType is BASIC_AUTH.
This parameter is not valid for other types of source providers or connections.

.NET
Go
Java
Python
TypeScript