You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::CodeStar::Types::Code
- Inherits:
-
Struct
- Object
- Struct
- Aws::CodeStar::Types::Code
- Defined in:
- (unknown)
Overview
When passing Code as input to an Aws::Client method, you can use a vanilla 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
},
},
}
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.
Instance Attribute Summary collapse
-
#destination ⇒ Types::CodeDestination
The repository to be created in AWS CodeStar.
-
#source ⇒ Types::CodeSource
The location where the source code files provided with the project request are stored.
Instance Attribute Details
#destination ⇒ Types::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.
#source ⇒ Types::CodeSource
The location where the source code files provided with the project request are stored. AWS CodeStar retrieves the files during project creation.