@Stability(value=Stable) @Internal public static final class ProjectProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ProjectProps
ProjectProps
software.amazon.jsii.JsiiObject.InitializationMode
ProjectProps.Builder, ProjectProps.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
protected |
Jsii$Proxy(ProjectProps.Builder builder)
Constructor that initializes the object based on literal property values passed by the
ProjectProps.Builder . |
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
Boolean |
getAllowAllOutbound()
Whether to allow the CodeBuild to send all network traffic.
|
IArtifacts |
getArtifacts()
Defines where build artifacts will be stored.
|
Boolean |
getBadge()
Indicates whether AWS CodeBuild generates a publicly accessible URL for your project's build badge.
|
BuildSpec |
getBuildSpec()
Filename or contents of buildspec in JSON format.
|
Cache |
getCache()
Caching strategy to use.
|
Boolean |
getCheckSecretsInPlainTextEnvVariables()
Whether to check for the presence of any secrets in the environment variables of the default type, BuildEnvironmentVariableType.PLAINTEXT.
|
Number |
getConcurrentBuildLimit()
Maximum number of concurrent builds.
|
String |
getDescription()
A description of the project.
|
IKey |
getEncryptionKey()
Encryption key to use to read and write artifacts.
|
BuildEnvironment |
getEnvironment()
Build environment to use for the build.
|
Map<String,BuildEnvironmentVariable> |
getEnvironmentVariables()
Additional environment variables to add to the build environment.
|
List<IFileSystemLocation> |
getFileSystemLocations()
An ProjectFileSystemLocation objects for a CodeBuild build project.
|
Boolean |
getGrantReportGroupPermissions()
Add permissions to this project's role to create and use test report groups with name starting with the name of this project.
|
LoggingOptions |
getLogging()
Information about logs for the build project.
|
String |
getProjectName()
The physical, human-readable name of the CodeBuild Project.
|
Duration |
getQueuedTimeout()
The number of minutes after which AWS CodeBuild stops the build if it's still in queue.
|
IRole |
getRole()
Service Role to assume while running the build.
|
List<IArtifacts> |
getSecondaryArtifacts()
The secondary artifacts for the Project.
|
List<ISource> |
getSecondarySources()
The secondary sources for the Project.
|
List<ISecurityGroup> |
getSecurityGroups()
What security group to associate with the codebuild project's network interfaces.
|
ISource |
getSource()
The source of the build.
|
SubnetSelection |
getSubnetSelection()
Where to place the network interfaces within the VPC.
|
Duration |
getTimeout()
The number of minutes after which AWS CodeBuild stops the build if it's not complete.
|
IVpc |
getVpc()
VPC network to place codebuild network interfaces.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.protected Jsii$Proxy(ProjectProps.Builder builder)
ProjectProps.Builder
.public final IArtifacts getArtifacts()
ProjectProps
Could be: PipelineBuildArtifacts, NoArtifacts and S3Artifacts.
Default: NoArtifacts
getArtifacts
in interface ProjectProps
public final List<IArtifacts> getSecondaryArtifacts()
ProjectProps
Can also be added after the Project has been created by using the {@link Project#addSecondaryArtifact} method.
Default: - No secondary artifacts.
getSecondaryArtifacts
in interface ProjectProps
public final List<ISource> getSecondarySources()
ProjectProps
Can be also added after the Project has been created by using the {@link Project#addSecondarySource} method.
Default: - No secondary sources.
getSecondarySources
in interface ProjectProps
public final ISource getSource()
ProjectProps
Note: if {@link NoSource} is given as the source,
then you need to provide an explicit buildSpec
.
Default: - NoSource
getSource
in interface ProjectProps
public final Boolean getAllowAllOutbound()
CommonProjectProps
If set to false, you must individually add traffic rules to allow the CodeBuild project to connect to network targets.
Only used if 'vpc' is supplied.
Default: true
getAllowAllOutbound
in interface CommonProjectProps
public final Boolean getBadge()
CommonProjectProps
For more information, see Build Badges Sample in the AWS CodeBuild User Guide.
Default: false
getBadge
in interface CommonProjectProps
public final BuildSpec getBuildSpec()
CommonProjectProps
Default: - Empty buildspec.
getBuildSpec
in interface CommonProjectProps
public final Cache getCache()
CommonProjectProps
Default: Cache.none
getCache
in interface CommonProjectProps
public final Boolean getCheckSecretsInPlainTextEnvVariables()
CommonProjectProps
Default: true
getCheckSecretsInPlainTextEnvVariables
in interface CommonProjectProps
public final Number getConcurrentBuildLimit()
CommonProjectProps
Minimum value is 1 and maximum is account build limit.
Default: - no explicit limit is set
getConcurrentBuildLimit
in interface CommonProjectProps
public final String getDescription()
CommonProjectProps
Use the description to identify the purpose of the project.
Default: - No description.
getDescription
in interface CommonProjectProps
public final IKey getEncryptionKey()
CommonProjectProps
Default: - The AWS-managed CMK for Amazon Simple Storage Service (Amazon S3) is used.
getEncryptionKey
in interface CommonProjectProps
public final BuildEnvironment getEnvironment()
CommonProjectProps
Default: BuildEnvironment.LinuxBuildImage.STANDARD_1_0
getEnvironment
in interface CommonProjectProps
public final Map<String,BuildEnvironmentVariable> getEnvironmentVariables()
CommonProjectProps
Default: - No additional environment variables are specified.
getEnvironmentVariables
in interface CommonProjectProps
public final List<IFileSystemLocation> getFileSystemLocations()
CommonProjectProps
A ProjectFileSystemLocation object specifies the identifier, location, mountOptions, mountPoint, and type of a file system created using Amazon Elastic File System.
Default: - no file system locations
getFileSystemLocations
in interface CommonProjectProps
public final Boolean getGrantReportGroupPermissions()
CommonProjectProps
That is the standard report group that gets created when a simple name (in contrast to an ARN) is used in the 'reports' section of the buildspec of this project. This is usually harmless, but you can turn these off if you don't plan on using test reports in this project.
Default: true
getGrantReportGroupPermissions
in interface CommonProjectProps
public final LoggingOptions getLogging()
CommonProjectProps
A project can create logs in Amazon CloudWatch Logs, an S3 bucket, or both.
Default: - no log configuration is set
getLogging
in interface CommonProjectProps
public final String getProjectName()
CommonProjectProps
Default: - Name is automatically generated.
getProjectName
in interface CommonProjectProps
public final Duration getQueuedTimeout()
CommonProjectProps
For valid values, see the timeoutInMinutes field in the AWS CodeBuild User Guide.
Default: - no queue timeout is set
getQueuedTimeout
in interface CommonProjectProps
public final IRole getRole()
CommonProjectProps
Default: - A role will be created.
getRole
in interface CommonProjectProps
public final List<ISecurityGroup> getSecurityGroups()
CommonProjectProps
If no security group is identified, one will be created automatically.
Only used if 'vpc' is supplied.
Default: - Security group will be automatically created.
getSecurityGroups
in interface CommonProjectProps
public final SubnetSelection getSubnetSelection()
CommonProjectProps
Only used if 'vpc' is supplied.
Default: - All private subnets.
getSubnetSelection
in interface CommonProjectProps
public final Duration getTimeout()
CommonProjectProps
For valid values, see the timeoutInMinutes field in the AWS CodeBuild User Guide.
Default: Duration.hours(1)
getTimeout
in interface CommonProjectProps
public final IVpc getVpc()
CommonProjectProps
Specify this if the codebuild project needs to access resources in a VPC.
Default: - No VPC is specified.
getVpc
in interface CommonProjectProps
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson
in interface software.amazon.jsii.JsiiSerializable
Copyright © 2023. All rights reserved.