@Generated(value="jsii-pacmak/0.7.6 (build 04cb6bb)", date="2018-09-27T21:49:26.389Z") public interface CommonProjectProps extends software.amazon.jsii.JsiiSerializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
CommonProjectProps.Builder
A builder for
CommonProjectProps |
static class |
CommonProjectProps.Jsii$Proxy
A proxy class which represents a concrete javascript instance of this type.
|
| Modifier and Type | Method and Description |
|---|---|
static CommonProjectProps.Builder |
builder() |
Boolean |
getBadge()
Indicates whether AWS CodeBuild generates a publicly accessible URL for
your project's build badge.
|
software.amazon.awscdk.assets.Asset |
getBuildScriptAsset()
Run a script from an asset as build script
If supplied together with buildSpec, the asset script will be run
_after_ the existing commands in buildspec.
|
String |
getBuildScriptAssetEntrypoint()
The script in the asset to run.
|
Object |
getBuildSpec()
Filename or contents of buildspec in JSON format.
|
software.amazon.awscdk.services.s3.BucketRef |
getCacheBucket()
Bucket to store cached source artifacts
If not specified, source artifacts will not be cached.
|
String |
getCacheDir()
Subdirectory to store cached artifacts
|
String |
getDescription()
A description of the project.
|
software.amazon.awscdk.services.kms.EncryptionKeyRef |
getEncryptionKey()
Encryption key to use to read and write artifacts
If not specified, a role will be created.
|
BuildEnvironment |
getEnvironment()
Build environment to use for the build.
|
Map<String,BuildEnvironmentVariable> |
getEnvironmentVariables()
Additional environment variables to add to the build environment.
|
String |
getProjectName()
The physical, human-readable name of the CodeBuild Project.
|
software.amazon.awscdk.services.iam.Role |
getRole()
Service Role to assume while running the build.
|
Number |
getTimeout()
The number of minutes after which AWS CodeBuild stops the build if it's
not complete.
|
void |
setBadge(Boolean value)
Indicates whether AWS CodeBuild generates a publicly accessible URL for
your project's build badge.
|
void |
setBuildScriptAsset(software.amazon.awscdk.assets.Asset value)
Run a script from an asset as build script
If supplied together with buildSpec, the asset script will be run
_after_ the existing commands in buildspec.
|
void |
setBuildScriptAssetEntrypoint(String value)
The script in the asset to run.
|
void |
setBuildSpec(Object value)
Filename or contents of buildspec in JSON format.
|
void |
setCacheBucket(software.amazon.awscdk.services.s3.BucketRef value)
Bucket to store cached source artifacts
If not specified, source artifacts will not be cached.
|
void |
setCacheDir(String value)
Subdirectory to store cached artifacts
|
void |
setDescription(String value)
A description of the project.
|
void |
setEncryptionKey(software.amazon.awscdk.services.kms.EncryptionKeyRef value)
Encryption key to use to read and write artifacts
If not specified, a role will be created.
|
void |
setEnvironment(BuildEnvironment value)
Build environment to use for the build.
|
void |
setEnvironmentVariables(Map<String,BuildEnvironmentVariable> value)
Additional environment variables to add to the build environment.
|
void |
setProjectName(String value)
The physical, human-readable name of the CodeBuild Project.
|
void |
setRole(software.amazon.awscdk.services.iam.Role value)
Service Role to assume while running the build.
|
void |
setTimeout(Number value)
The number of minutes after which AWS CodeBuild stops the build if it's
not complete.
|
Boolean getBadge()
void setBadge(Boolean value)
software.amazon.awscdk.assets.Asset getBuildScriptAsset()
void setBuildScriptAsset(software.amazon.awscdk.assets.Asset value)
String getBuildScriptAssetEntrypoint()
void setBuildScriptAssetEntrypoint(String value)
Object getBuildSpec()
https://docs.aws.amazon.com/codebuild/latest/userguide/build-spec-ref.html#build-spec-ref-examplevoid setBuildSpec(Object value)
https://docs.aws.amazon.com/codebuild/latest/userguide/build-spec-ref.html#build-spec-ref-examplesoftware.amazon.awscdk.services.s3.BucketRef getCacheBucket()
void setCacheBucket(software.amazon.awscdk.services.s3.BucketRef value)
String getCacheDir()
void setCacheDir(String value)
String getDescription()
void setDescription(String value)
software.amazon.awscdk.services.kms.EncryptionKeyRef getEncryptionKey()
void setEncryptionKey(software.amazon.awscdk.services.kms.EncryptionKeyRef value)
BuildEnvironment getEnvironment()
void setEnvironment(BuildEnvironment value)
Map<String,BuildEnvironmentVariable> getEnvironmentVariables()
void setEnvironmentVariables(Map<String,BuildEnvironmentVariable> value)
String getProjectName()
void setProjectName(String value)
software.amazon.awscdk.services.iam.Role getRole()
void setRole(software.amazon.awscdk.services.iam.Role value)
Number getTimeout()
void setTimeout(Number value)
static CommonProjectProps.Builder builder()
CommonProjectProps.Builder of CommonProjectPropsCopyright © 2018. All rights reserved.