class Aws::CodeStar::Types::Code
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.
@note When making an API call, you may pass Code
data as a hash: { source: { # required s3: { # required bucket_name: "BucketName", bucket_key: "BucketKey", }, }, destination: { # required code_commit: { name: "RepositoryName", # required }, git_hub: { name: "RepositoryName", # required description: "RepositoryDescription", type: "RepositoryType", # required owner: "RepositoryOwner", # required private_repository: false, # required issues_enabled: false, # required token: "GitHubPersonalToken", # required }, }, }
@!attribute [rw] source
The location where the source code files provided with the project request are stored. AWS CodeStar retrieves the files during project creation. @return [Types::CodeSource]
@!attribute [rw] destination
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. @return [Types::CodeDestination]
@see docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/Code AWS API Documentation
Constants
- SENSITIVE