Source
Contains the information required to retrieve an app or cookbook from a repository. For more information, see Creating Apps or Custom Recipes and Cookbooks.
Contents
- Password
-
When included in a request, the parameter depends on the repository type.
-
For Amazon S3 bundles, set
Password
to the appropriate IAM secret access key. -
For HTTP bundles and Subversion repositories, set
Password
to the password.
For more information on how to safely handle IAM credentials, see https://docs.aws.amazon.com/general/latest/gr/aws-access-keys-best-practices.html.
In responses, AWS OpsWorks Stacks returns
*****FILTERED*****
instead of the actual value.Type: String
Required: No
-
- Revision
-
The application's version. AWS OpsWorks Stacks enables you to easily deploy new versions of an application. One of the simplest approaches is to have branches or revisions in your repository that represent different versions that can potentially be deployed.
Type: String
Required: No
- SshKey
-
In requests, the repository's SSH key.
In responses, AWS OpsWorks Stacks returns
*****FILTERED*****
instead of the actual value.Type: String
Required: No
- Type
-
The repository type.
Type: String
Valid Values:
git | svn | archive | s3
Required: No
- Url
-
The source URL. The following is an example of an Amazon S3 source URL:
https://s3.amazonaws.com/opsworks-demo-bucket/opsworks_cookbook_demo.tar.gz
.Type: String
Required: No
- Username
-
This parameter depends on the repository type.
-
For Amazon S3 bundles, set
Username
to the appropriate IAM access key ID. -
For HTTP bundles, Git repositories, and Subversion repositories, set
Username
to the user name.
Type: String
Required: No
-
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: