Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data Source = Source' {}
- newSource :: Source
- source_password :: Lens' Source (Maybe Text)
- source_revision :: Lens' Source (Maybe Text)
- source_sshKey :: Lens' Source (Maybe Text)
- source_type :: Lens' Source (Maybe SourceType)
- source_url :: Lens' Source (Maybe Text)
- source_username :: Lens' Source (Maybe Text)
Documentation
Contains the information required to retrieve an app or cookbook from a repository. For more information, see Creating Apps or Custom Recipes and Cookbooks.
See: newSource
smart constructor.
Source' | |
|
Instances
Create a value of Source
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:password:Source'
, source_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.
$sel:revision:Source'
, source_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.
$sel:sshKey:Source'
, source_sshKey
- In requests, the repository's SSH key.
In responses, AWS OpsWorks Stacks returns *****FILTERED*****
instead
of the actual value.
$sel:type':Source'
, source_type
- The repository type.
$sel:url:Source'
, source_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
.
$sel:username:Source'
, source_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.
source_password :: Lens' Source (Maybe Text) Source #
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.
source_revision :: Lens' Source (Maybe Text) Source #
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.
source_sshKey :: Lens' Source (Maybe Text) Source #
In requests, the repository's SSH key.
In responses, AWS OpsWorks Stacks returns *****FILTERED*****
instead
of the actual value.
source_type :: Lens' Source (Maybe SourceType) Source #
The repository type.