Interface CfnProject.SourceAuthProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnProject.SourceAuthProperty.Jsii$Proxy
- Enclosing class:
CfnProject
@Stability(Stable)
public static interface CfnProject.SourceAuthProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.codebuild.*; SourceAuthProperty sourceAuthProperty = SourceAuthProperty.builder() .type("type") // the properties below are optional .resource("resource") .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnProject.SourceAuthProperty
static final class
An implementation forCfnProject.SourceAuthProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getType
The authorization type to use. The only valid value isOAUTH
, which represents the OAuth authorization type.This data type is used by the AWS CodeBuild console only.
-
getResource
The resource value that applies to the specified authorization type.This data type is used by the AWS CodeBuild console only.
-
builder
-