@Stability(value=Stable)
public static interface CfnProject.SourceAuthProperty
extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnProject.SourceAuthProperty.Builder
A builder for
CfnProject.SourceAuthProperty |
static class |
CfnProject.SourceAuthProperty.Jsii$Proxy
An implementation for
CfnProject.SourceAuthProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnProject.SourceAuthProperty.Builder |
builder() |
default String |
getResource()
The resource value that applies to the specified authorization type.
|
String |
getType()
The authorization type to use.
|
@Stability(value=Stable) @NotNull String getType()
This data type is used by the AWS CodeBuild console only.
@Stability(value=Stable) @Nullable default String getResource()
This data type is used by the AWS CodeBuild console only.
@Stability(value=Stable) static CfnProject.SourceAuthProperty.Builder builder()
Copyright © 2022. All rights reserved.