interface SourceAuthProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.CodeBuild.CfnProject.SourceAuthProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awscodebuild#CfnProject_SourceAuthProperty |
![]() | software.amazon.awscdk.services.codebuild.CfnProject.SourceAuthProperty |
![]() | aws_cdk.aws_codebuild.CfnProject.SourceAuthProperty |
![]() | 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.
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
Name | Type | Description |
---|---|---|
type | string | The authorization type to use. |
resource? | string | The resource value that applies to the specified authorization type. |
type
Type:
string
The authorization type to use.
Valid options are OAUTH, CODECONNECTIONS, or SECRETS_MANAGER.
resource?
Type:
string
(optional)
The resource value that applies to the specified authorization type.