Struct aws_sdk_codestar::model::Code
source · #[non_exhaustive]pub struct Code { /* private fields */ }
Expand description
Location and destination information about the source code files provided with the project request. The source code is uploaded to the new project source repository after project creation.
Implementations§
source§impl Code
impl Code
sourcepub fn source(&self) -> Option<&CodeSource>
pub fn source(&self) -> Option<&CodeSource>
The location where the source code files provided with the project request are stored. AWS CodeStar retrieves the files during project creation.
sourcepub fn destination(&self) -> Option<&CodeDestination>
pub fn destination(&self) -> Option<&CodeDestination>
The repository to be created in AWS CodeStar. Valid values are AWS CodeCommit or GitHub. After AWS CodeStar provisions the new repository, the source code files provided with the project request are placed in the repository.