interface SourceAuthProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.CodeBuild.CfnProjectPropsMixin.SourceAuthProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awscodebuild#CfnProjectPropsMixin_SourceAuthProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.codebuild.CfnProjectPropsMixin.SourceAuthProperty |
Python | aws_cdk.cfn_property_mixins.aws_codebuild.CfnProjectPropsMixin.SourceAuthProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_codebuild » CfnProjectPropsMixin » 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/cfn-property-mixins';
const sourceAuthProperty: codebuild.CfnProjectPropsMixin.SourceAuthProperty = {
resource: 'resource',
type: 'type',
};
Properties
| Name | Type | Description |
|---|---|---|
| resource? | string | The resource value that applies to the specified authorization type. |
| type? | string | The authorization type to use. |
resource?
Type:
string
(optional)
The resource value that applies to the specified authorization type.
type?
Type:
string
(optional)
The authorization type to use.
Valid options are OAUTH, CODECONNECTIONS, or SECRETS_MANAGER.

.NET
Go
Java
Python
TypeScript