libZSservicesZSamazonka-sagemakerZSamazonka-sagemaker
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.SageMaker.Types.GitConfig

Description

 
Synopsis

Documentation

data GitConfig Source #

Specifies configuration details for a Git repository in your Amazon Web Services account.

See: newGitConfig smart constructor.

Constructors

GitConfig' 

Fields

  • branch :: Maybe Text

    The default branch for the Git repository.

  • secretArn :: Maybe Text

    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}
  • repositoryUrl :: Text

    The URL where the Git repository is located.

Instances

Instances details
Eq GitConfig Source # 
Instance details

Defined in Amazonka.SageMaker.Types.GitConfig

Read GitConfig Source # 
Instance details

Defined in Amazonka.SageMaker.Types.GitConfig

Show GitConfig Source # 
Instance details

Defined in Amazonka.SageMaker.Types.GitConfig

Generic GitConfig Source # 
Instance details

Defined in Amazonka.SageMaker.Types.GitConfig

Associated Types

type Rep GitConfig :: Type -> Type #

NFData GitConfig Source # 
Instance details

Defined in Amazonka.SageMaker.Types.GitConfig

Methods

rnf :: GitConfig -> () #

Hashable GitConfig Source # 
Instance details

Defined in Amazonka.SageMaker.Types.GitConfig

ToJSON GitConfig Source # 
Instance details

Defined in Amazonka.SageMaker.Types.GitConfig

FromJSON GitConfig Source # 
Instance details

Defined in Amazonka.SageMaker.Types.GitConfig

type Rep GitConfig Source # 
Instance details

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))))

newGitConfig Source #

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_branch :: Lens' GitConfig (Maybe Text) Source #

The default branch for the Git repository.

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}

gitConfig_repositoryUrl :: Lens' GitConfig Text Source #

The URL where the Git repository is located.