Class 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.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.CodeBuild
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class SourceAuthProperty : Object, CfnProject.ISourceAuthProperty
Syntax (vb)
Public Class SourceAuthProperty
Inherits Object
Implements CfnProject.ISourceAuthProperty
Remarks
SourceAuth
is for use by the CodeBuild console only. Do not get or set it directly.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.CodeBuild;
var sourceAuthProperty = new SourceAuthProperty {
Type = "type",
// the properties below are optional
Resource = "resource"
};
Synopsis
Constructors
SourceAuthProperty() |
Properties
Resource | The resource value that applies to the specified authorization type. |
Type | The authorization type to use. The only valid value is |
Constructors
SourceAuthProperty()
public SourceAuthProperty()
Properties
Resource
The resource value that applies to the specified authorization type.
public string Resource { get; set; }
Property Value
System.String
Remarks
This data type is used by the AWS CodeBuild console only.
Type
The authorization type to use. The only valid value is OAUTH
, which represents the OAuth authorization type.
public string Type { get; set; }
Property Value
System.String
Remarks
This data type is used by the AWS CodeBuild console only.