@Stability(value=Stable) @Internal public static final class CfnProject.SourceProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnProject.SourceProperty
CfnProject.SourcePropertysoftware.amazon.jsii.JsiiObject.InitializationModeCfnProject.SourceProperty.Builder, CfnProject.SourceProperty.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnProject.SourceProperty.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnProject.ArtifactsProperty.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) |
Object |
getAuth()
Information about the authorization settings for AWS CodeBuild to access the source code to be built.
|
String |
getBuildSpec()
The build specification for the project.
|
Object |
getBuildStatusConfig()
Contains information that defines how the build project reports the build status to the source provider.
|
Number |
getGitCloneDepth()
The depth of history to download.
|
Object |
getGitSubmodulesConfig()
Information about the Git submodules configuration for the build project.
|
Object |
getInsecureSsl()
This is used with GitHub Enterprise only.
|
String |
getLocation()
Information about the location of the source code to be built.
|
Object |
getReportBuildStatus()
Set to true to report the status of a build's start and finish to your source provider.
|
String |
getSourceIdentifier()
An identifier for this project source.
|
String |
getType()
The type of repository that contains the source code to be built.
|
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(CfnProject.SourceProperty.Builder builder)
CfnProject.ArtifactsProperty.Builder.public final String getType()
CfnProject.SourceProperty
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.getType in interface CfnProject.SourcePropertypublic final Object getAuth()
CfnProject.SourceProperty
This information is for the AWS CodeBuild console's use only. Your code should not get or set Auth directly.
getAuth in interface CfnProject.SourcePropertypublic final String getBuildSpec()
CfnProject.SourceProperty
If this value is not provided, then the source code must contain a buildspec file named buildspec.yml at 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 variable CODEBUILD_SRC_DIR . The alternate buildspec file can have a name other than buildspec.yml , for example myspec.yml or build_spec_qa.yml or similar. For more information, see the Build Spec Reference in the AWS CodeBuild User Guide .
getBuildSpec in interface CfnProject.SourcePropertypublic final Object getBuildStatusConfig()
CfnProject.SourceProperty
This option is only used when the source provider is GITHUB , GITHUB_ENTERPRISE , or BITBUCKET .
getBuildStatusConfig in interface CfnProject.SourcePropertypublic final Number getGitCloneDepth()
CfnProject.SourcePropertyMinimum 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.
getGitCloneDepth in interface CfnProject.SourcePropertypublic final Object getGitSubmodulesConfig()
CfnProject.SourcePropertygetGitSubmodulesConfig in interface CfnProject.SourcePropertypublic final Object getInsecureSsl()
CfnProject.SourceProperty
Set to true to ignore SSL warnings while connecting to your GitHub Enterprise project repository. The default value is false . InsecureSsl should be used for testing purposes only. It should not be used in a production environment.
getInsecureSsl in interface CfnProject.SourcePropertypublic final String getLocation()
CfnProject.SourceProperty
location should 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.https://git-codecommit.<region-ID>.amazonaws.com/v1/repos/<repo-name> ).<bucket-name>/<path>/<object-name>.zip ).<bucket-name>/<path-to-source-code>/<folder>/ ).source object, set the auth object's type value to OAUTH .source object, set the auth object's type value to OAUTH .
If you specify CODEPIPELINE for the Type property, don't specify this property. For all of the other types, you must specify Location .
getLocation in interface CfnProject.SourcePropertypublic final Object getReportBuildStatus()
CfnProject.SourceProperty
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 invalidInputException is thrown.
getReportBuildStatus in interface CfnProject.SourcePropertypublic final String getSourceIdentifier()
CfnProject.SourcePropertyThe identifier can only contain alphanumeric characters and underscores, and must be less than 128 characters in length.
getSourceIdentifier in interface CfnProject.SourceProperty@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.