Class CfnProject.SourceProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnProject.SourceProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- CfnProject.SourceProperty
CfnProject.SourceProperty-
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.CfnProject.SourceProperty
CfnProject.SourceProperty.Builder, CfnProject.SourceProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnProject.SourceProperty.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 ObjectgetAuth()Information about the authorization settings for AWS CodeBuild to access the source code to be built.final StringThe build specification for the project.final ObjectContains information that defines how the build project reports the build status to the source provider.final NumberThe depth of history to download.final ObjectInformation about the Git submodules configuration for the build project.final ObjectThis is used with GitHub Enterprise only.final StringInformation about the location of the source code to be built.final ObjectSet to true to report the status of a build's start and finish to your source provider.final StringAn identifier for this project source.final StringgetType()The type of repository that contains the source code to be built.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 theCfnProject.SourceProperty.Builder.
-
-
Method Details
-
getType
Description copied from interface:CfnProject.SourcePropertyThe type of repository that contains the source code to be built. Valid values include:.BITBUCKET: The source code is in a Bitbucket repository.CODECOMMIT: The source code is in an CodeCommit repository.CODEPIPELINE: The source code settings are specified in the source action of a pipeline in CodePipeline.GITHUB: The source code is in a GitHub or GitHub Enterprise Cloud repository.GITHUB_ENTERPRISE: The source code is in a GitHub Enterprise Server repository.NO_SOURCE: The project does not have input source code.S3: The source code is in an Amazon S3 bucket.
- Specified by:
getTypein interfaceCfnProject.SourceProperty
-
getAuth
Description copied from interface:CfnProject.SourcePropertyInformation about the authorization settings for AWS CodeBuild to access the source code to be built.This information is for the AWS CodeBuild console's use only. Your code should not get or set
Authdirectly.- Specified by:
getAuthin interfaceCfnProject.SourceProperty
-
getBuildSpec
Description copied from interface:CfnProject.SourcePropertyThe build specification for the project.If this value is not provided, then the source code must contain a buildspec file named
buildspec.ymlat the root level. If this value is provided, it can be either a single string containing the entire build specification, or the path to an alternate buildspec file relative to the value of the built-in environment variableCODEBUILD_SRC_DIR. The alternate buildspec file can have a name other thanbuildspec.yml, for examplemyspec.ymlorbuild_spec_qa.ymlor similar. For more information, see the Build Spec Reference in the AWS CodeBuild User Guide .- Specified by:
getBuildSpecin interfaceCfnProject.SourceProperty
-
getBuildStatusConfig
Description copied from interface:CfnProject.SourcePropertyContains information that defines how the build project reports the build status to the source provider.This option is only used when the source provider is
GITHUB,GITHUB_ENTERPRISE, orBITBUCKET.- Specified by:
getBuildStatusConfigin interfaceCfnProject.SourceProperty
-
getGitCloneDepth
Description copied from interface:CfnProject.SourcePropertyThe depth of history to download.Minimum value is 0. If this value is 0, greater than 25, or not provided, then the full history is downloaded with each build project. If your source type is Amazon S3, this value is not supported.
- Specified by:
getGitCloneDepthin interfaceCfnProject.SourceProperty
-
getGitSubmodulesConfig
Description copied from interface:CfnProject.SourcePropertyInformation about the Git submodules configuration for the build project.- Specified by:
getGitSubmodulesConfigin interfaceCfnProject.SourceProperty
-
getInsecureSsl
Description copied from interface:CfnProject.SourcePropertyThis is used with GitHub Enterprise only.Set to true to ignore SSL warnings while connecting to your GitHub Enterprise project repository. The default value is
false.InsecureSslshould be used for testing purposes only. It should not be used in a production environment.- Specified by:
getInsecureSslin interfaceCfnProject.SourceProperty
-
getLocation
Description copied from interface:CfnProject.SourcePropertyInformation about the location of the source code to be built. Valid values include:.- For source code settings that are specified in the source action of a pipeline in CodePipeline,
locationshould not be specified. If it is specified, CodePipeline ignores it. This is because CodePipeline uses the settings in a pipeline's source action instead of this value. - For source code in an CodeCommit repository, the HTTPS clone URL to the repository that contains the source code and the buildspec file (for example,
https://git-codecommit.<region-ID>.amazonaws.com/v1/repos/<repo-name>). - For source code in an Amazon S3 input bucket, one of the following.
- The path to the ZIP file that contains the source code (for example,
<bucket-name>/<path>/<object-name>.zip). - The path to the folder that contains the source code (for example,
<bucket-name>/<path-to-source-code>/<folder>/). - For source code in a GitHub repository, the HTTPS clone URL to the repository that contains the source and the buildspec file. You must connect your AWS account to your GitHub account. Use the AWS CodeBuild console to start creating a build project. When you use the console to connect (or reconnect) with GitHub, on the GitHub Authorize application page, for Organization access , choose Request access next to each repository you want to allow AWS CodeBuild to have access to, and then choose Authorize application . (After you have connected to your GitHub account, you do not need to finish creating the build project. You can leave the AWS CodeBuild console.) To instruct AWS CodeBuild to use this connection, in the
sourceobject, set theauthobject'stypevalue toOAUTH. - For source code in a Bitbucket repository, the HTTPS clone URL to the repository that contains the source and the buildspec file. You must connect your AWS account to your Bitbucket account. Use the AWS CodeBuild console to start creating a build project. When you use the console to connect (or reconnect) with Bitbucket, on the Bitbucket Confirm access to your account page, choose Grant access . (After you have connected to your Bitbucket account, you do not need to finish creating the build project. You can leave the AWS CodeBuild console.) To instruct AWS CodeBuild to use this connection, in the
sourceobject, set theauthobject'stypevalue toOAUTH.
If you specify
CODEPIPELINEfor theTypeproperty, don't specify this property. For all of the other types, you must specifyLocation.- Specified by:
getLocationin interfaceCfnProject.SourceProperty
- For source code settings that are specified in the source action of a pipeline in CodePipeline,
-
getReportBuildStatus
Description copied from interface:CfnProject.SourcePropertySet to true to report the status of a build's start and finish to your source provider.This option is valid only when your source provider is GitHub, GitHub Enterprise, or Bitbucket. If this is set and you use a different source provider, an
invalidInputExceptionis thrown.- Specified by:
getReportBuildStatusin interfaceCfnProject.SourceProperty
-
getSourceIdentifier
Description copied from interface:CfnProject.SourcePropertyAn identifier for this project source.The identifier can only contain alphanumeric characters and underscores, and must be less than 128 characters in length.
- Specified by:
getSourceIdentifierin interfaceCfnProject.SourceProperty
-
$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()
-