interface SourceAuthProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.CodeBuild.CfnProject.SourceAuthProperty |
Java | software.amazon.awscdk.services.codebuild.CfnProject.SourceAuthProperty |
Python | aws_cdk.aws_codebuild.CfnProject.SourceAuthProperty |
TypeScript | @aws-cdk/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 * as codebuild from '@aws-cdk/aws-codebuild';
const sourceAuthProperty: codebuild.CfnProject.SourceAuthProperty = {
type: 'type',
// the properties below are optional
resource: 'resource',
};
Properties
Name | Type | Description |
---|---|---|
type | string | The authorization type to use. The only valid value is OAUTH , which represents the OAuth authorization type. |
resource? | string | The 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.