aws-cdk-lib.aws_codebuild.CfnProject.SourceAuthProperty

interface SourceAuthProperty

LanguageType name
.NETAmazon.CDK.AWS.CodeBuild.CfnProject.SourceAuthProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awscodebuild#CfnProject_SourceAuthProperty
Javasoftware.amazon.awscdk.services.codebuild.CfnProject.SourceAuthProperty
Pythonaws_cdk.aws_codebuild.CfnProject.SourceAuthProperty
TypeScript aws-cdk-lib » aws_codebuild » CfnProject » SourceAuthProperty

SourceAuth is a property of the AWS CodeBuild Project Source property type that specifies authorization settings for AWS CodeBuild to access the source code to be built.

SourceAuth is for use by the CodeBuild console only. Do not get or set it directly.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_codebuild as codebuild } from 'aws-cdk-lib';
const sourceAuthProperty: codebuild.CfnProject.SourceAuthProperty = {
  type: 'type',

  // the properties below are optional
  resource: 'resource',
};

Properties

NameTypeDescription
typestringThe authorization type to use. The only valid value is OAUTH , which represents the OAuth authorization type.
resource?stringThe resource value that applies to the specified authorization type.

type

Type: string

The authorization type to use. The only valid value is OAUTH , which represents the OAuth authorization type.

This data type is used by the AWS CodeBuild console only.


resource?

Type: string (optional)

The resource value that applies to the specified authorization type.

This data type is used by the AWS CodeBuild console only.