**To create a project** The following ``create-project`` example uses a JSON input file to create a CodeStar project. :: aws codestar create-project \ --cli-input-json file://create-project.json Contents of ``create-project.json``:: { "name": "Custom Project", "id": "custom-project", "sourceCode": [ { "source": { "s3": { "bucketName": "codestar-artifacts", "bucketKey": "nodejs-function.zip" } }, "destination": { "codeCommit": { "name": "codestar-custom-project" } } } ], "toolchain": { "source": { "s3": { "bucketName": "codestar-artifacts", "bucketKey": "toolchain.yml" } }, "roleArn": "arn:aws:iam::123456789012:role/service-role/aws-codestar-service-role", "stackParameters": { "ProjectId": "custom-project" } } } Output:: { "id": "my-project", "arn": "arn:aws:codestar:us-east-2:123456789012:project/custom-project" } For a tutorial that includes sample code and templates for a custom project, see `Create a Project in AWS CodeStar with the AWS CLI<https://docs.aws.amazon.com/codestar/latest/userguide/cli-tutorial.html>`__ in the *AWS CodeStar User Guide*.
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
associate-team-member.rst | File | 372 B | 0755 |
|
create-project.rst | File | 1.57 KB | 0755 |
|
create-user-profile.rst | File | 618 B | 0755 |
|
delete-project.rst | File | 285 B | 0755 |
|
delete-user-profile.rst | File | 332 B | 0755 |
|
describe-project.rst | File | 519 B | 0755 |
|
describe-user-profile.rst | File | 560 B | 0755 |
|
disassociate-team-member.rst | File | 335 B | 0755 |
|
list-projects.rst | File | 559 B | 0755 |
|
list-resources.rst | File | 2.4 KB | 0755 |
|
list-tags-for-project.rst | File | 338 B | 0755 |
|
list-team-members.rst | File | 667 B | 0755 |
|
list-user-profiles.rst | File | 716 B | 0755 |
|
tag-project.rst | File | 360 B | 0755 |
|
untag-project.rst | File | 274 B | 0755 |
|
update-project.rst | File | 268 B | 0755 |
|
update-team-member.rst | File | 557 B | 0755 |
|
update-user-profile.rst | File | 565 B | 0755 |
|