@Stability(value=Experimental) @Internal public static final class CommonProjectProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CommonProjectProps
CommonProjectPropssoftware.amazon.jsii.JsiiObject.InitializationModeCommonProjectProps.Builder, CommonProjectProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(Boolean allowAllOutbound,
Boolean badge,
BuildSpec buildSpec,
Cache cache,
Boolean checkSecretsInPlainTextEnvVariables,
Number concurrentBuildLimit,
String description,
IKey encryptionKey,
BuildEnvironment environment,
Map<String,? extends BuildEnvironmentVariable> environmentVariables,
List<? extends IFileSystemLocation> fileSystemLocations,
Boolean grantReportGroupPermissions,
LoggingOptions logging,
String projectName,
Duration queuedTimeout,
IRole role,
List<? extends ISecurityGroup> securityGroups,
SubnetSelection subnetSelection,
Duration timeout,
IVpc vpc)
Constructor that initializes the object based on literal property values passed by the
CommonProjectProps.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
Boolean |
getAllowAllOutbound()
(experimental) Whether to allow the CodeBuild to send all network traffic.
|
Boolean |
getBadge()
(experimental) Indicates whether AWS CodeBuild generates a publicly accessible URL for your project's build badge.
|
BuildSpec |
getBuildSpec()
(experimental) Filename or contents of buildspec in JSON format.
|
Cache |
getCache()
(experimental) Caching strategy to use.
|
Boolean |
getCheckSecretsInPlainTextEnvVariables()
(experimental) Whether to check for the presence of any secrets in the environment variables of the default type, BuildEnvironmentVariableType.PLAINTEXT.
|
Number |
getConcurrentBuildLimit()
(experimental) Maximum number of concurrent builds.
|
String |
getDescription()
(experimental) A description of the project.
|
IKey |
getEncryptionKey()
(experimental) Encryption key to use to read and write artifacts.
|
BuildEnvironment |
getEnvironment()
(experimental) Build environment to use for the build.
|
Map<String,BuildEnvironmentVariable> |
getEnvironmentVariables()
(experimental) Additional environment variables to add to the build environment.
|
List<IFileSystemLocation> |
getFileSystemLocations()
(experimental) An ProjectFileSystemLocation objects for a CodeBuild build project.
|
Boolean |
getGrantReportGroupPermissions()
(experimental) 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()
(experimental) Information about logs for the build project.
|
String |
getProjectName()
(experimental) The physical, human-readable name of the CodeBuild Project.
|
Duration |
getQueuedTimeout()
(experimental) The number of minutes after which AWS CodeBuild stops the build if it's still in queue.
|
IRole |
getRole()
(experimental) Service Role to assume while running the build.
|
List<ISecurityGroup> |
getSecurityGroups()
(experimental) What security group to associate with the codebuild project's network interfaces.
|
SubnetSelection |
getSubnetSelection()
(experimental) Where to place the network interfaces within the VPC.
|
Duration |
getTimeout()
(experimental) The number of minutes after which AWS CodeBuild stops the build if it's not complete.
|
IVpc |
getVpc()
(experimental) VPC network to place codebuild network interfaces.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(Boolean allowAllOutbound, Boolean badge, BuildSpec buildSpec, Cache cache, Boolean checkSecretsInPlainTextEnvVariables, Number concurrentBuildLimit, String description, IKey encryptionKey, BuildEnvironment environment, Map<String,? extends BuildEnvironmentVariable> environmentVariables, List<? extends IFileSystemLocation> fileSystemLocations, Boolean grantReportGroupPermissions, LoggingOptions logging, String projectName, Duration queuedTimeout, IRole role, List<? extends ISecurityGroup> securityGroups, SubnetSelection subnetSelection, Duration timeout, IVpc vpc)
CommonProjectProps.Builder.public final Boolean getAllowAllOutbound()
CommonProjectPropsIf 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 CommonProjectPropspublic final Boolean getBadge()
CommonProjectPropsFor more information, see Build Badges Sample in the AWS CodeBuild User Guide.
Default: false
getBadge in interface CommonProjectPropspublic final BuildSpec getBuildSpec()
CommonProjectPropsDefault: - Empty buildspec.
getBuildSpec in interface CommonProjectPropshttps://docs.aws.amazon.com/codebuild/latest/userguide/build-spec-ref.html#build-spec-ref-examplepublic final Cache getCache()
CommonProjectPropsDefault: Cache.none
getCache in interface CommonProjectPropspublic final Boolean getCheckSecretsInPlainTextEnvVariables()
CommonProjectPropsDefault: true
getCheckSecretsInPlainTextEnvVariables in interface CommonProjectPropspublic final Number getConcurrentBuildLimit()
CommonProjectPropsMinimum value is 1 and maximum is account build limit.
Default: - no explicit limit is set
getConcurrentBuildLimit in interface CommonProjectPropspublic final String getDescription()
CommonProjectPropsUse the description to identify the purpose of the project.
Default: - No description.
getDescription in interface CommonProjectPropspublic final IKey getEncryptionKey()
CommonProjectPropsDefault: - The AWS-managed CMK for Amazon Simple Storage Service (Amazon S3) is used.
getEncryptionKey in interface CommonProjectPropspublic final BuildEnvironment getEnvironment()
CommonProjectPropsDefault: BuildEnvironment.LinuxBuildImage.STANDARD_1_0
getEnvironment in interface CommonProjectPropspublic final Map<String,BuildEnvironmentVariable> getEnvironmentVariables()
CommonProjectPropsDefault: - No additional environment variables are specified.
getEnvironmentVariables in interface CommonProjectPropspublic final List<IFileSystemLocation> getFileSystemLocations()
CommonProjectPropsA 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 CommonProjectPropspublic final Boolean getGrantReportGroupPermissions()
CommonProjectPropsThat 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 CommonProjectPropshttps://docs.aws.amazon.com/codebuild/latest/userguide/test-report-group-naming.htmlpublic final LoggingOptions getLogging()
CommonProjectPropsA project can create logs in Amazon CloudWatch Logs, an S3 bucket, or both.
Default: - no log configuration is set
getLogging in interface CommonProjectPropspublic final String getProjectName()
CommonProjectPropsDefault: - Name is automatically generated.
getProjectName in interface CommonProjectPropspublic final Duration getQueuedTimeout()
CommonProjectPropsFor valid values, see the timeoutInMinutes field in the AWS CodeBuild User Guide.
Default: - no queue timeout is set
getQueuedTimeout in interface CommonProjectPropspublic final IRole getRole()
CommonProjectPropsDefault: - A role will be created.
getRole in interface CommonProjectPropspublic final List<ISecurityGroup> getSecurityGroups()
CommonProjectPropsIf 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 CommonProjectPropspublic final SubnetSelection getSubnetSelection()
CommonProjectPropsOnly used if 'vpc' is supplied.
Default: - All private subnets.
getSubnetSelection in interface CommonProjectPropspublic final Duration getTimeout()
CommonProjectPropsFor valid values, see the timeoutInMinutes field in the AWS CodeBuild User Guide.
Default: Duration.hours(1)
getTimeout in interface CommonProjectPropspublic final IVpc getVpc()
CommonProjectPropsSpecify 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.JsiiSerializableCopyright © 2021. All rights reserved.