Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data GitConfig = GitConfig' {}
- newGitConfig :: Text -> GitConfig
- gitConfig_branch :: Lens' GitConfig (Maybe Text)
- gitConfig_secretArn :: Lens' GitConfig (Maybe Text)
- gitConfig_repositoryUrl :: Lens' GitConfig Text
Documentation
Specifies configuration details for a Git repository in your Amazon Web Services account.
See: newGitConfig
smart constructor.
GitConfig' | |
|
Instances
Eq GitConfig Source # | |
Read GitConfig Source # | |
Show GitConfig Source # | |
Generic GitConfig Source # | |
NFData GitConfig Source # | |
Defined in Amazonka.SageMaker.Types.GitConfig | |
Hashable GitConfig Source # | |
Defined in Amazonka.SageMaker.Types.GitConfig | |
ToJSON GitConfig Source # | |
Defined in Amazonka.SageMaker.Types.GitConfig | |
FromJSON GitConfig Source # | |
type Rep GitConfig Source # | |
Defined in Amazonka.SageMaker.Types.GitConfig type Rep GitConfig = D1 ('MetaData "GitConfig" "Amazonka.SageMaker.Types.GitConfig" "libZSservicesZSamazonka-sagemakerZSamazonka-sagemaker" 'False) (C1 ('MetaCons "GitConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "branch") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "secretArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "repositoryUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))) |
Create a value of GitConfig
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:branch:GitConfig'
, gitConfig_branch
- The default branch for the Git repository.
$sel:secretArn:GitConfig'
, gitConfig_secretArn
- The Amazon Resource Name (ARN) of the Amazon Web Services Secrets
Manager secret that contains the credentials used to access the git
repository. The secret must have a staging label of AWSCURRENT
and
must be in the following format:
{"username": UserName, "password": Password}
$sel:repositoryUrl:GitConfig'
, gitConfig_repositoryUrl
- The URL where the Git repository is located.
gitConfig_secretArn :: Lens' GitConfig (Maybe Text) Source #
The Amazon Resource Name (ARN) of the Amazon Web Services Secrets
Manager secret that contains the credentials used to access the git
repository. The secret must have a staging label of AWSCURRENT
and
must be in the following format:
{"username": UserName, "password": Password}