Class: Aws::CodeStar::Types::Code
- Inherits:
-
Struct
- Object
- Struct
- Aws::CodeStar::Types::Code
- Defined in:
- gems/aws-sdk-codestar/lib/aws-sdk-codestar/types.rb
Overview
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
},
},
}
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.
Constant Summary collapse
- SENSITIVE =
[]
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.
121 122 123 124 125 126 |
# File 'gems/aws-sdk-codestar/lib/aws-sdk-codestar/types.rb', line 121 class Code < Struct.new( :source, :destination) SENSITIVE = [] include Aws::Structure end |
#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.
121 122 123 124 125 126 |
# File 'gems/aws-sdk-codestar/lib/aws-sdk-codestar/types.rb', line 121 class Code < Struct.new( :source, :destination) SENSITIVE = [] include Aws::Structure end |