Class ProjectProps.Jsii$Proxy
- All Implemented Interfaces:
CommonProjectProps,ProjectProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
ProjectProps
ProjectProps-
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.ProjectProps
ProjectProps.Builder, ProjectProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(ProjectProps.Builder builder) Constructor that initializes the object based on literal property values passed by theProjectProps.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 BooleanWhether to allow the CodeBuild to send all network traffic.final IArtifactsDefines where build artifacts will be stored.final NumberCodeBuild will automatically call retry build using the project's service role up to the auto-retry limit.final BooleangetBadge()Indicates whether AWS CodeBuild generates a publicly accessible URL for your project's build badge.final BuildSpecFilename or contents of buildspec in JSON format.final CachegetCache()Caching strategy to use.final BooleanWhether to check for the presence of any secrets in the environment variables of the default type, BuildEnvironmentVariableType.PLAINTEXT.final NumberMaximum number of concurrent builds.final StringA description of the project.final IKeyEncryption key to use to read and write artifacts.final BuildEnvironmentBuild environment to use for the build.final Map<String, BuildEnvironmentVariable> Additional environment variables to add to the build environment.final List<IFileSystemLocation> An ProjectFileSystemLocation objects for a CodeBuild build project.final BooleanAdd permissions to this project's role to create and use test report groups with name starting with the name of this project.final LoggingOptionsInformation about logs for the build project.final StringThe physical, human-readable name of the CodeBuild Project.final DurationThe number of minutes after which AWS CodeBuild stops the build if it's still in queue.final IRolegetRole()Service Role to assume while running the build.final List<IArtifacts> The secondary artifacts for the Project.The secondary sources for the Project.final List<ISecurityGroup> What security group to associate with the codebuild project's network interfaces.final ISourceThe source of the build.final BooleanAdd the permissions necessary for debugging builds with SSM Session Manager.final SubnetSelectionWhere to place the network interfaces within the VPC.final DurationThe number of minutes after which AWS CodeBuild stops the build if it's not complete.final ProjectVisibilitySpecifies the visibility of the project's builds.final IVpcgetVpc()VPC network to place codebuild network interfaces.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 theProjectProps.Builder.
-
-
Method Details
-
getArtifacts
Description copied from interface:ProjectPropsDefines where build artifacts will be stored.Could be: PipelineBuildArtifacts, NoArtifacts and S3Artifacts.
Default: NoArtifacts
- Specified by:
getArtifactsin interfaceProjectProps
-
getSecondaryArtifacts
Description copied from interface:ProjectPropsThe secondary artifacts for the Project.Can also be added after the Project has been created by using the
Project#addSecondaryArtifactmethod.Default: - No secondary artifacts.
- Specified by:
getSecondaryArtifactsin interfaceProjectProps- See Also:
-
getSecondarySources
Description copied from interface:ProjectPropsThe secondary sources for the Project.Can be also added after the Project has been created by using the
Project#addSecondarySourcemethod.Default: - No secondary sources.
- Specified by:
getSecondarySourcesin interfaceProjectProps- See Also:
-
getSource
Description copied from interface:ProjectPropsThe source of the build.Note: if
NoSourceis given as the source, then you need to provide an explicitbuildSpec.Default: - NoSource
- Specified by:
getSourcein interfaceProjectProps
-
getAllowAllOutbound
Description copied from interface:CommonProjectPropsWhether to allow the CodeBuild to send all network traffic.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
- Specified by:
getAllowAllOutboundin interfaceCommonProjectProps
-
getAutoRetryLimit
Description copied from interface:CommonProjectPropsCodeBuild will automatically call retry build using the project's service role up to the auto-retry limit.autoRetryLimitmust be between 0 and 10.Default: - no retry
- Specified by:
getAutoRetryLimitin interfaceCommonProjectProps
-
getBadge
Description copied from interface:CommonProjectPropsIndicates 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.
Default: false
- Specified by:
getBadgein interfaceCommonProjectProps
-
getBuildSpec
Description copied from interface:CommonProjectPropsFilename or contents of buildspec in JSON format.Default: - Empty buildspec.
- Specified by:
getBuildSpecin interfaceCommonProjectProps- See Also:
-
getCache
Description copied from interface:CommonProjectPropsCaching strategy to use.Default: Cache.none
- Specified by:
getCachein interfaceCommonProjectProps
-
getCheckSecretsInPlainTextEnvVariables
Description copied from interface:CommonProjectPropsWhether to check for the presence of any secrets in the environment variables of the default type, BuildEnvironmentVariableType.PLAINTEXT. Since using a secret for the value of that kind of variable would result in it being displayed in plain text in the AWS Console, the construct will throw an exception if it detects a secret was passed there. Pass this property as false if you want to skip this validation, and keep using a secret in a plain text environment variable.Default: true
- Specified by:
getCheckSecretsInPlainTextEnvVariablesin interfaceCommonProjectProps
-
getConcurrentBuildLimit
Description copied from interface:CommonProjectPropsMaximum number of concurrent builds.Minimum value is 1 and maximum is account build limit.
Default: - no explicit limit is set
- Specified by:
getConcurrentBuildLimitin interfaceCommonProjectProps
-
getDescription
Description copied from interface:CommonProjectPropsA description of the project.Use the description to identify the purpose of the project.
Default: - No description.
- Specified by:
getDescriptionin interfaceCommonProjectProps
-
getEncryptionKey
Description copied from interface:CommonProjectPropsEncryption key to use to read and write artifacts.Default: - The AWS-managed CMK for Amazon Simple Storage Service (Amazon S3) is used.
- Specified by:
getEncryptionKeyin interfaceCommonProjectProps
-
getEnvironment
Description copied from interface:CommonProjectPropsBuild environment to use for the build.Default: BuildEnvironment.LinuxBuildImage.STANDARD_7_0
- Specified by:
getEnvironmentin interfaceCommonProjectProps
-
getEnvironmentVariables
Description copied from interface:CommonProjectPropsAdditional environment variables to add to the build environment.Default: - No additional environment variables are specified.
- Specified by:
getEnvironmentVariablesin interfaceCommonProjectProps
-
getFileSystemLocations
Description copied from interface:CommonProjectPropsAn ProjectFileSystemLocation objects for a CodeBuild build project.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
- Specified by:
getFileSystemLocationsin interfaceCommonProjectProps
-
getGrantReportGroupPermissions
Description copied from interface:CommonProjectPropsAdd permissions to this project's role to create and use test report groups with name starting with the name of this project.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
- Specified by:
getGrantReportGroupPermissionsin interfaceCommonProjectProps- See Also:
-
getLogging
Description copied from interface:CommonProjectPropsInformation about logs for the build project.A project can create logs in Amazon CloudWatch Logs, an S3 bucket, or both.
Default: - no log configuration is set
- Specified by:
getLoggingin interfaceCommonProjectProps
-
getProjectName
Description copied from interface:CommonProjectPropsThe physical, human-readable name of the CodeBuild Project.Default: - Name is automatically generated.
- Specified by:
getProjectNamein interfaceCommonProjectProps
-
getQueuedTimeout
Description copied from interface:CommonProjectPropsThe number of minutes after which AWS CodeBuild stops the build if it's still in queue.For valid values, see the timeoutInMinutes field in the AWS CodeBuild User Guide.
Default: - no queue timeout is set
- Specified by:
getQueuedTimeoutin interfaceCommonProjectProps
-
getRole
Description copied from interface:CommonProjectPropsService Role to assume while running the build.Default: - A role will be created.
- Specified by:
getRolein interfaceCommonProjectProps
-
getSecurityGroups
Description copied from interface:CommonProjectPropsWhat security group to associate with the codebuild project's network interfaces.If no security group is identified, one will be created automatically.
Only used if 'vpc' is supplied.
Default: - Security group will be automatically created.
- Specified by:
getSecurityGroupsin interfaceCommonProjectProps
-
getSsmSessionPermissions
Description copied from interface:CommonProjectPropsAdd the permissions necessary for debugging builds with SSM Session Manager.If the following prerequisites have been met:
- The necessary permissions have been added by setting this flag to true.
- The build image has the SSM agent installed (true for default CodeBuild images).
- The build is started with debugSessionEnabled set to true.
Then the build container can be paused and inspected using Session Manager by invoking the
codebuild-breakpointcommand somewhere during the build.codebuild-breakpointcommands will be ignored if the build is not started withdebugSessionEnabled=true.Default: false
- Specified by:
getSsmSessionPermissionsin interfaceCommonProjectProps- See Also:
-
getSubnetSelection
Description copied from interface:CommonProjectPropsWhere to place the network interfaces within the VPC.To access AWS services, your CodeBuild project needs to be in one of the following types of subnets:
- Subnets with access to the internet (of type PRIVATE_WITH_EGRESS).
- Private subnets unconnected to the internet, but with VPC endpoints for the necessary services.
If you don't specify a subnet selection, the default behavior is to use PRIVATE_WITH_EGRESS subnets first if they exist, then PRIVATE_WITHOUT_EGRESS, and finally PUBLIC subnets. If your VPC doesn't have PRIVATE_WITH_EGRESS subnets but you need AWS service access, add VPC Endpoints to your private subnets.
Default: - private subnets if available else public subnets
- Specified by:
getSubnetSelectionin interfaceCommonProjectProps- See Also:
-
getTimeout
Description copied from interface:CommonProjectPropsThe number of minutes after which AWS CodeBuild stops the build if it's not complete.For valid values, see the timeoutInMinutes field in the AWS CodeBuild User Guide.
Default: Duration.hours(1)
- Specified by:
getTimeoutin interfaceCommonProjectProps
-
getVisibility
Description copied from interface:CommonProjectPropsSpecifies the visibility of the project's builds.Default: - no visibility is set
- Specified by:
getVisibilityin interfaceCommonProjectProps
-
getVpc
Description copied from interface:CommonProjectPropsVPC network to place codebuild network interfaces.Specify this if the codebuild project needs to access resources in a VPC.
Default: - No VPC is specified.
- Specified by:
getVpcin interfaceCommonProjectProps
-
$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()
-