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.
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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnProject.SourceAuthPropertystatic final classAn implementation forCfnProject.SourceAuthProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getType
The authorization type to use.Valid options are OAUTH, CODECONNECTIONS, or SECRETS_MANAGER.
- See Also:
-
getResource
The resource value that applies to the specified authorization type.- See Also:
-
builder
-