CfnSourceCredentialProps

class aws_cdk.aws_codebuild.CfnSourceCredentialProps(*, auth_type, server_type, token, username=None)

Bases: object

Properties for defining a AWS::CodeBuild::SourceCredential.

Parameters
  • auth_type (str) – AWS::CodeBuild::SourceCredential.AuthType.

  • server_type (str) – AWS::CodeBuild::SourceCredential.ServerType.

  • token (str) – AWS::CodeBuild::SourceCredential.Token.

  • username (Optional[str]) – AWS::CodeBuild::SourceCredential.Username.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-sourcecredential.html

Attributes

auth_type

AWS::CodeBuild::SourceCredential.AuthType.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-sourcecredential.html#cfn-codebuild-sourcecredential-authtype

Return type

str

server_type

AWS::CodeBuild::SourceCredential.ServerType.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-sourcecredential.html#cfn-codebuild-sourcecredential-servertype

Return type

str

token

AWS::CodeBuild::SourceCredential.Token.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-sourcecredential.html#cfn-codebuild-sourcecredential-token

Return type

str

username

AWS::CodeBuild::SourceCredential.Username.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-sourcecredential.html#cfn-codebuild-sourcecredential-username

Return type

Optional[str]