Class CfnProjectProps.Jsii$Proxy
- All Implemented Interfaces:
CfnProjectProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- CfnProjectProps
CfnProjectProps-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.codebuild.CfnProjectProps
CfnProjectProps.Builder, CfnProjectProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(CfnProjectProps.Builder builder) Constructor that initializes the object based on literal property values passed by theCfnProjectProps.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal ObjectArtifactsis a property of the AWS::CodeBuild::Project resource that specifies output settings for artifacts generated by an AWS CodeBuild build.final ObjectIndicates whether AWS CodeBuild generates a publicly accessible URL for your project's build badge.final ObjectAProjectBuildBatchConfigobject that defines the batch build options for the project.final ObjectgetCache()Settings that AWS CodeBuild uses to store and reuse build dependencies.final NumberThe maximum number of concurrent builds that are allowed for this project.final StringA description that makes the build project easy to identify.final StringThe AWS Key Management Service customer master key (CMK) to be used for encrypting the build output artifacts.final ObjectThe build environment settings for the project, such as the environment type or the environment variables to use for the build environment.final ObjectAn array ofProjectFileSystemLocationobjects for a CodeBuild build project.final ObjectInformation about logs for the build project.final StringgetName()The name of the build project.final NumberThe number of minutes a build is allowed to be queued before it times out.final StringThe ARN of the IAM role that enables CodeBuild to access the CloudWatch Logs and Amazon S3 artifacts for the project's builds.final ObjectA list ofArtifactsobjects.final ObjectAn array ofProjectSourceobjects.final ObjectAn array ofProjectSourceVersionobjects.final StringThe ARN of the IAM role that enables AWS CodeBuild to interact with dependent AWS services on behalf of the AWS account.final ObjectThe source code settings for the project, such as the source code's repository type and location.final StringA version of the build input to be built for this project.getTags()An arbitrary set of tags (key-value pairs) for the AWS CodeBuild project.final NumberHow long, in minutes, from 5 to 480 (8 hours), for AWS CodeBuild to wait before timing out any related build that did not get marked as completed.final ObjectFor an existing AWS CodeBuild build project that has its source code stored in a GitHub repository, enables AWS CodeBuild to begin automatically rebuilding the source code every time a code change is pushed to the repository.final StringSpecifies the visibility of the project's builds.final ObjectVpcConfigspecifies settings that enable AWS CodeBuild to access resources in an Amazon VPC.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCfnProjectProps.Builder.
-
-
Method Details
-
getArtifacts
Description copied from interface:CfnProjectPropsArtifactsis a property of the AWS::CodeBuild::Project resource that specifies output settings for artifacts generated by an AWS CodeBuild build.- Specified by:
getArtifactsin interfaceCfnProjectProps
-
getEnvironment
Description copied from interface:CfnProjectPropsThe build environment settings for the project, such as the environment type or the environment variables to use for the build environment.- Specified by:
getEnvironmentin interfaceCfnProjectProps
-
getServiceRole
Description copied from interface:CfnProjectPropsThe ARN of the IAM role that enables AWS CodeBuild to interact with dependent AWS services on behalf of the AWS account.- Specified by:
getServiceRolein interfaceCfnProjectProps
-
getSource
Description copied from interface:CfnProjectPropsThe source code settings for the project, such as the source code's repository type and location.- Specified by:
getSourcein interfaceCfnProjectProps
-
getBadgeEnabled
Description copied from interface:CfnProjectPropsIndicates whether AWS CodeBuild generates a publicly accessible URL for your project's build badge.For more information, see Build Badges Sample in the AWS CodeBuild User Guide .
Including build badges with your project is currently not supported if the source type is CodePipeline. If you specify
CODEPIPELINEfor theSourceproperty, do not specify theBadgeEnabledproperty.- Specified by:
getBadgeEnabledin interfaceCfnProjectProps
-
getBuildBatchConfig
Description copied from interface:CfnProjectPropsAProjectBuildBatchConfigobject that defines the batch build options for the project.- Specified by:
getBuildBatchConfigin interfaceCfnProjectProps
-
getCache
Description copied from interface:CfnProjectPropsSettings that AWS CodeBuild uses to store and reuse build dependencies.- Specified by:
getCachein interfaceCfnProjectProps
-
getConcurrentBuildLimit
Description copied from interface:CfnProjectPropsThe maximum number of concurrent builds that are allowed for this project.New builds are only started if the current number of builds is less than or equal to this limit. If the current build count meets this limit, new builds are throttled and are not run.
- Specified by:
getConcurrentBuildLimitin interfaceCfnProjectProps
-
getDescription
Description copied from interface:CfnProjectPropsA description that makes the build project easy to identify.- Specified by:
getDescriptionin interfaceCfnProjectProps
-
getEncryptionKey
Description copied from interface:CfnProjectPropsThe AWS Key Management Service customer master key (CMK) to be used for encrypting the build output artifacts.You can use a cross-account KMS key to encrypt the build output artifacts if your service role has permission to that key.
You can specify either the Amazon Resource Name (ARN) of the CMK or, if available, the CMK's alias (using the format
alias/<alias-name>). If you don't specify a value, CodeBuild uses the managed CMK for Amazon Simple Storage Service (Amazon S3).- Specified by:
getEncryptionKeyin interfaceCfnProjectProps
-
getFileSystemLocations
Description copied from interface:CfnProjectPropsAn array ofProjectFileSystemLocationobjects for a CodeBuild build project.A
ProjectFileSystemLocationobject specifies theidentifier,location,mountOptions,mountPoint, andtypeof a file system created using Amazon Elastic File System.- Specified by:
getFileSystemLocationsin interfaceCfnProjectProps
-
getLogsConfig
Description copied from interface:CfnProjectPropsInformation about logs for the build project.A project can create logs in CloudWatch Logs, an S3 bucket, or both.
- Specified by:
getLogsConfigin interfaceCfnProjectProps
-
getName
Description copied from interface:CfnProjectPropsThe name of the build project.The name must be unique across all of the projects in your AWS account .
- Specified by:
getNamein interfaceCfnProjectProps
-
getQueuedTimeoutInMinutes
Description copied from interface:CfnProjectPropsThe number of minutes a build is allowed to be queued before it times out.- Specified by:
getQueuedTimeoutInMinutesin interfaceCfnProjectProps
-
getResourceAccessRole
Description copied from interface:CfnProjectPropsThe ARN of the IAM role that enables CodeBuild to access the CloudWatch Logs and Amazon S3 artifacts for the project's builds.- Specified by:
getResourceAccessRolein interfaceCfnProjectProps
-
getSecondaryArtifacts
Description copied from interface:CfnProjectPropsA list ofArtifactsobjects.Each artifacts object specifies output settings that the project generates during a build.
- Specified by:
getSecondaryArtifactsin interfaceCfnProjectProps
-
getSecondarySources
Description copied from interface:CfnProjectPropsAn array ofProjectSourceobjects.- Specified by:
getSecondarySourcesin interfaceCfnProjectProps
-
getSecondarySourceVersions
Description copied from interface:CfnProjectPropsAn array ofProjectSourceVersionobjects.If
secondarySourceVersionsis specified at the build level, then they take over thesesecondarySourceVersions(at the project level).- Specified by:
getSecondarySourceVersionsin interfaceCfnProjectProps
-
getSourceVersion
Description copied from interface:CfnProjectPropsA version of the build input to be built for this project.If not specified, the latest version is used. If specified, it must be one of:
- For CodeCommit: the commit ID, branch, or Git tag to use.
- For GitHub: the commit ID, pull request ID, branch name, or tag name that corresponds to the version of the source code you want to build. If a pull request ID is specified, it must use the format
pr/pull-request-ID(for examplepr/25). If a branch name is specified, the branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used. - For Bitbucket: the commit ID, branch name, or tag name that corresponds to the version of the source code you want to build. If a branch name is specified, the branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used.
- For Amazon S3: the version ID of the object that represents the build input ZIP file to use.
If
sourceVersionis specified at the build level, then that version takes precedence over thissourceVersion(at the project level).For more information, see Source Version Sample with CodeBuild in the AWS CodeBuild User Guide .
- Specified by:
getSourceVersionin interfaceCfnProjectProps
-
getTags
Description copied from interface:CfnProjectPropsAn arbitrary set of tags (key-value pairs) for the AWS CodeBuild project.These tags are available for use by AWS services that support AWS CodeBuild build project tags.
- Specified by:
getTagsin interfaceCfnProjectProps
-
getTimeoutInMinutes
Description copied from interface:CfnProjectPropsHow long, in minutes, from 5 to 480 (8 hours), for AWS CodeBuild to wait before timing out any related build that did not get marked as completed.The default is 60 minutes.
- Specified by:
getTimeoutInMinutesin interfaceCfnProjectProps
-
getTriggers
Description copied from interface:CfnProjectPropsFor an existing AWS CodeBuild build project that has its source code stored in a GitHub repository, enables AWS CodeBuild to begin automatically rebuilding the source code every time a code change is pushed to the repository.- Specified by:
getTriggersin interfaceCfnProjectProps
-
getVisibility
Description copied from interface:CfnProjectPropsSpecifies the visibility of the project's builds. Possible values are:.- PUBLIC_READ - The project builds are visible to the public.
- PRIVATE - The project builds are not visible to the public.
- Specified by:
getVisibilityin interfaceCfnProjectProps
-
getVpcConfig
Description copied from interface:CfnProjectPropsVpcConfigspecifies settings that enable AWS CodeBuild to access resources in an Amazon VPC.For more information, see Use AWS CodeBuild with Amazon Virtual Private Cloud in the AWS CodeBuild User Guide .
- Specified by:
getVpcConfigin interfaceCfnProjectProps
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-