#[non_exhaustive]pub struct AwsCodeBuildProjectSource {
pub type: Option<String>,
pub location: Option<String>,
pub git_clone_depth: i32,
pub insecure_ssl: bool,
}
Expand description
Information about the build input source code for this build project.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.type: Option<String>
The type of repository that contains the source code to be built. Valid values are:
-
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 repository. -
GITHUB_ENTERPRISE
- The source code is in a GitHub Enterprise repository. -
NO_SOURCE
- The project does not have input source code. -
S3
- The source code is in an S3 input bucket.
location: Option<String>
Information 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, 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.
-
For source code in an CodeCommit repository, the HTTPS clone URL to the repository that contains the source code and the build spec file (for example,
https://git-codecommit.region-ID.amazonaws.com/v1/repos/repo-name
). -
For source code in an S3 input bucket, one of the following.
-
The path to the ZIP file that contains the source code (for example,
bucket-name/path/to/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 build spec file.
-
For source code in a Bitbucket repository, the HTTPS clone URL to the repository that contains the source and the build spec file.
git_clone_depth: i32
Information about the Git clone depth for the build project.
insecure_ssl: bool
Whether to ignore SSL warnings while connecting to the project source code.
Implementations
sourceimpl AwsCodeBuildProjectSource
impl AwsCodeBuildProjectSource
sourcepub fn type(&self) -> Option<&str>
pub fn type(&self) -> Option<&str>
The type of repository that contains the source code to be built. Valid values are:
-
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 repository. -
GITHUB_ENTERPRISE
- The source code is in a GitHub Enterprise repository. -
NO_SOURCE
- The project does not have input source code. -
S3
- The source code is in an S3 input bucket.
sourcepub fn location(&self) -> Option<&str>
pub fn location(&self) -> Option<&str>
Information 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, 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.
-
For source code in an CodeCommit repository, the HTTPS clone URL to the repository that contains the source code and the build spec file (for example,
https://git-codecommit.region-ID.amazonaws.com/v1/repos/repo-name
). -
For source code in an S3 input bucket, one of the following.
-
The path to the ZIP file that contains the source code (for example,
bucket-name/path/to/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 build spec file.
-
For source code in a Bitbucket repository, the HTTPS clone URL to the repository that contains the source and the build spec file.
sourcepub fn git_clone_depth(&self) -> i32
pub fn git_clone_depth(&self) -> i32
Information about the Git clone depth for the build project.
sourcepub fn insecure_ssl(&self) -> bool
pub fn insecure_ssl(&self) -> bool
Whether to ignore SSL warnings while connecting to the project source code.
sourceimpl AwsCodeBuildProjectSource
impl AwsCodeBuildProjectSource
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AwsCodeBuildProjectSource
Trait Implementations
sourceimpl Clone for AwsCodeBuildProjectSource
impl Clone for AwsCodeBuildProjectSource
sourcefn clone(&self) -> AwsCodeBuildProjectSource
fn clone(&self) -> AwsCodeBuildProjectSource
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for AwsCodeBuildProjectSource
impl Debug for AwsCodeBuildProjectSource
sourceimpl PartialEq<AwsCodeBuildProjectSource> for AwsCodeBuildProjectSource
impl PartialEq<AwsCodeBuildProjectSource> for AwsCodeBuildProjectSource
sourcefn eq(&self, other: &AwsCodeBuildProjectSource) -> bool
fn eq(&self, other: &AwsCodeBuildProjectSource) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &AwsCodeBuildProjectSource) -> bool
fn ne(&self, other: &AwsCodeBuildProjectSource) -> bool
This method tests for !=
.
impl StructuralPartialEq for AwsCodeBuildProjectSource
Auto Trait Implementations
impl RefUnwindSafe for AwsCodeBuildProjectSource
impl Send for AwsCodeBuildProjectSource
impl Sync for AwsCodeBuildProjectSource
impl Unpin for AwsCodeBuildProjectSource
impl UnwindSafe for AwsCodeBuildProjectSource
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more