@Generated(value="jsii-pacmak/1.47.0 (build 86d2c33)", date="2021-12-22T10:27:16.409Z") @Stability(value=Stable) public interface CfnProjectProps extends software.amazon.jsii.JsiiSerializable
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.*;
CfnProjectProps cfnProjectProps = CfnProjectProps.builder()
.artifacts(ArtifactsProperty.builder()
.type("type")
// the properties below are optional
.artifactIdentifier("artifactIdentifier")
.encryptionDisabled(false)
.location("location")
.name("name")
.namespaceType("namespaceType")
.overrideArtifactName(false)
.packaging("packaging")
.path("path")
.build())
.environment(EnvironmentProperty.builder()
.computeType("computeType")
.image("image")
.type("type")
// the properties below are optional
.certificate("certificate")
.environmentVariables(List.of(EnvironmentVariableProperty.builder()
.name("name")
.value("value")
// the properties below are optional
.type("type")
.build()))
.imagePullCredentialsType("imagePullCredentialsType")
.privilegedMode(false)
.registryCredential(RegistryCredentialProperty.builder()
.credential("credential")
.credentialProvider("credentialProvider")
.build())
.build())
.serviceRole("serviceRole")
.source(SourceProperty.builder()
.type("type")
// the properties below are optional
.auth(SourceAuthProperty.builder()
.type("type")
// the properties below are optional
.resource("resource")
.build())
.buildSpec("buildSpec")
.buildStatusConfig(BuildStatusConfigProperty.builder()
.context("context")
.targetUrl("targetUrl")
.build())
.gitCloneDepth(123)
.gitSubmodulesConfig(GitSubmodulesConfigProperty.builder()
.fetchSubmodules(false)
.build())
.insecureSsl(false)
.location("location")
.reportBuildStatus(false)
.sourceIdentifier("sourceIdentifier")
.build())
// the properties below are optional
.badgeEnabled(false)
.buildBatchConfig(ProjectBuildBatchConfigProperty.builder()
.batchReportMode("batchReportMode")
.combineArtifacts(false)
.restrictions(BatchRestrictionsProperty.builder()
.computeTypesAllowed(List.of("computeTypesAllowed"))
.maximumBuildsAllowed(123)
.build())
.serviceRole("serviceRole")
.timeoutInMins(123)
.build())
.cache(ProjectCacheProperty.builder()
.type("type")
// the properties below are optional
.location("location")
.modes(List.of("modes"))
.build())
.concurrentBuildLimit(123)
.description("description")
.encryptionKey("encryptionKey")
.fileSystemLocations(List.of(ProjectFileSystemLocationProperty.builder()
.identifier("identifier")
.location("location")
.mountPoint("mountPoint")
.type("type")
// the properties below are optional
.mountOptions("mountOptions")
.build()))
.logsConfig(LogsConfigProperty.builder()
.cloudWatchLogs(CloudWatchLogsConfigProperty.builder()
.status("status")
// the properties below are optional
.groupName("groupName")
.streamName("streamName")
.build())
.s3Logs(S3LogsConfigProperty.builder()
.status("status")
// the properties below are optional
.encryptionDisabled(false)
.location("location")
.build())
.build())
.name("name")
.queuedTimeoutInMinutes(123)
.resourceAccessRole("resourceAccessRole")
.secondaryArtifacts(List.of(ArtifactsProperty.builder()
.type("type")
// the properties below are optional
.artifactIdentifier("artifactIdentifier")
.encryptionDisabled(false)
.location("location")
.name("name")
.namespaceType("namespaceType")
.overrideArtifactName(false)
.packaging("packaging")
.path("path")
.build()))
.secondarySources(List.of(SourceProperty.builder()
.type("type")
// the properties below are optional
.auth(SourceAuthProperty.builder()
.type("type")
// the properties below are optional
.resource("resource")
.build())
.buildSpec("buildSpec")
.buildStatusConfig(BuildStatusConfigProperty.builder()
.context("context")
.targetUrl("targetUrl")
.build())
.gitCloneDepth(123)
.gitSubmodulesConfig(GitSubmodulesConfigProperty.builder()
.fetchSubmodules(false)
.build())
.insecureSsl(false)
.location("location")
.reportBuildStatus(false)
.sourceIdentifier("sourceIdentifier")
.build()))
.secondarySourceVersions(List.of(ProjectSourceVersionProperty.builder()
.sourceIdentifier("sourceIdentifier")
// the properties below are optional
.sourceVersion("sourceVersion")
.build()))
.sourceVersion("sourceVersion")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.timeoutInMinutes(123)
.triggers(ProjectTriggersProperty.builder()
.buildType("buildType")
.filterGroups(List.of(List.of(WebhookFilterProperty.builder()
.pattern("pattern")
.type("type")
// the properties below are optional
.excludeMatchedPattern(false)
.build())))
.webhook(false)
.build())
.visibility("visibility")
.vpcConfig(VpcConfigProperty.builder()
.securityGroupIds(List.of("securityGroupIds"))
.subnets(List.of("subnets"))
.vpcId("vpcId")
.build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnProjectProps.Builder
A builder for
CfnProjectProps |
static class |
CfnProjectProps.Jsii$Proxy
An implementation for
CfnProjectProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnProjectProps.Builder |
builder() |
Object |
getArtifacts()
`AWS::CodeBuild::Project.Artifacts`.
|
default Object |
getBadgeEnabled()
`AWS::CodeBuild::Project.BadgeEnabled`.
|
default Object |
getBuildBatchConfig()
`AWS::CodeBuild::Project.BuildBatchConfig`.
|
default Object |
getCache()
`AWS::CodeBuild::Project.Cache`.
|
default Number |
getConcurrentBuildLimit()
`AWS::CodeBuild::Project.ConcurrentBuildLimit`.
|
default String |
getDescription()
`AWS::CodeBuild::Project.Description`.
|
default String |
getEncryptionKey()
`AWS::CodeBuild::Project.EncryptionKey`.
|
Object |
getEnvironment()
`AWS::CodeBuild::Project.Environment`.
|
default Object |
getFileSystemLocations()
`AWS::CodeBuild::Project.FileSystemLocations`.
|
default Object |
getLogsConfig()
`AWS::CodeBuild::Project.LogsConfig`.
|
default String |
getName()
`AWS::CodeBuild::Project.Name`.
|
default Number |
getQueuedTimeoutInMinutes()
`AWS::CodeBuild::Project.QueuedTimeoutInMinutes`.
|
default String |
getResourceAccessRole()
`AWS::CodeBuild::Project.ResourceAccessRole`.
|
default Object |
getSecondaryArtifacts()
`AWS::CodeBuild::Project.SecondaryArtifacts`.
|
default Object |
getSecondarySources()
`AWS::CodeBuild::Project.SecondarySources`.
|
default Object |
getSecondarySourceVersions()
`AWS::CodeBuild::Project.SecondarySourceVersions`.
|
String |
getServiceRole()
`AWS::CodeBuild::Project.ServiceRole`.
|
Object |
getSource()
`AWS::CodeBuild::Project.Source`.
|
default String |
getSourceVersion()
`AWS::CodeBuild::Project.SourceVersion`.
|
default List<CfnTag> |
getTags()
`AWS::CodeBuild::Project.Tags`.
|
default Number |
getTimeoutInMinutes()
`AWS::CodeBuild::Project.TimeoutInMinutes`.
|
default Object |
getTriggers()
`AWS::CodeBuild::Project.Triggers`.
|
default String |
getVisibility()
`AWS::CodeBuild::Project.Visibility`.
|
default Object |
getVpcConfig()
`AWS::CodeBuild::Project.VpcConfig`.
|
@Stability(value=Stable) @NotNull Object getArtifacts()
@Stability(value=Stable) @Nullable default Object getBadgeEnabled()
@Stability(value=Stable) @Nullable default Object getBuildBatchConfig()
@Stability(value=Stable) @Nullable default Object getCache()
@Stability(value=Stable) @Nullable default Number getConcurrentBuildLimit()
@Stability(value=Stable) @Nullable default String getDescription()
@Stability(value=Stable) @Nullable default String getEncryptionKey()
@Stability(value=Stable) @NotNull Object getEnvironment()
@Stability(value=Stable) @Nullable default Object getFileSystemLocations()
@Stability(value=Stable) @Nullable default Object getLogsConfig()
@Stability(value=Stable) @Nullable default String getName()
@Stability(value=Stable) @Nullable default Number getQueuedTimeoutInMinutes()
@Stability(value=Stable) @Nullable default String getResourceAccessRole()
@Stability(value=Stable) @Nullable default Object getSecondaryArtifacts()
@Stability(value=Stable) @Nullable default Object getSecondarySources()
@Stability(value=Stable) @Nullable default Object getSecondarySourceVersions()
@Stability(value=Stable) @NotNull String getServiceRole()
@Stability(value=Stable) @NotNull Object getSource()
@Stability(value=Stable) @Nullable default String getSourceVersion()
@Stability(value=Stable) @Nullable default List<CfnTag> getTags()
@Stability(value=Stable) @Nullable default Number getTimeoutInMinutes()
@Stability(value=Stable) @Nullable default Object getTriggers()
@Stability(value=Stable) @Nullable default String getVisibility()
@Stability(value=Stable) @Nullable default Object getVpcConfig()
@Stability(value=Stable) static CfnProjectProps.Builder builder()
CfnProjectProps.Builder of CfnProjectPropsCopyright © 2021. All rights reserved.