libZSservicesZSamazonka-codestarZSamazonka-codestar
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.CodeStar.Types.CodeDestination

Description

 
Synopsis

Documentation

data CodeDestination Source #

The repository to be created in AWS CodeStar. Valid values are AWS CodeCommit or GitHub. After AWS CodeStar provisions the new repository, the source code files provided with the project request are placed in the repository.

See: newCodeDestination smart constructor.

Constructors

CodeDestination' 

Fields

  • codeCommit :: Maybe CodeCommitCodeDestination

    Information about the AWS CodeCommit repository to be created in AWS CodeStar. This is where the source code files provided with the project request will be uploaded after project creation.

  • gitHub :: Maybe GitHubCodeDestination

    Information about the GitHub repository to be created in AWS CodeStar. This is where the source code files provided with the project request will be uploaded after project creation.

Instances

Instances details
Eq CodeDestination Source # 
Instance details

Defined in Amazonka.CodeStar.Types.CodeDestination

Show CodeDestination Source # 
Instance details

Defined in Amazonka.CodeStar.Types.CodeDestination

Generic CodeDestination Source # 
Instance details

Defined in Amazonka.CodeStar.Types.CodeDestination

Associated Types

type Rep CodeDestination :: Type -> Type #

NFData CodeDestination Source # 
Instance details

Defined in Amazonka.CodeStar.Types.CodeDestination

Methods

rnf :: CodeDestination -> () #

Hashable CodeDestination Source # 
Instance details

Defined in Amazonka.CodeStar.Types.CodeDestination

ToJSON CodeDestination Source # 
Instance details

Defined in Amazonka.CodeStar.Types.CodeDestination

type Rep CodeDestination Source # 
Instance details

Defined in Amazonka.CodeStar.Types.CodeDestination

type Rep CodeDestination = D1 ('MetaData "CodeDestination" "Amazonka.CodeStar.Types.CodeDestination" "libZSservicesZSamazonka-codestarZSamazonka-codestar" 'False) (C1 ('MetaCons "CodeDestination'" 'PrefixI 'True) (S1 ('MetaSel ('Just "codeCommit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CodeCommitCodeDestination)) :*: S1 ('MetaSel ('Just "gitHub") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe GitHubCodeDestination))))

newCodeDestination :: CodeDestination Source #

Create a value of CodeDestination 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:codeCommit:CodeDestination', codeDestination_codeCommit - Information about the AWS CodeCommit repository to be created in AWS CodeStar. This is where the source code files provided with the project request will be uploaded after project creation.

$sel:gitHub:CodeDestination', codeDestination_gitHub - Information about the GitHub repository to be created in AWS CodeStar. This is where the source code files provided with the project request will be uploaded after project creation.

codeDestination_codeCommit :: Lens' CodeDestination (Maybe CodeCommitCodeDestination) Source #

Information about the AWS CodeCommit repository to be created in AWS CodeStar. This is where the source code files provided with the project request will be uploaded after project creation.

codeDestination_gitHub :: Lens' CodeDestination (Maybe GitHubCodeDestination) Source #

Information about the GitHub repository to be created in AWS CodeStar. This is where the source code files provided with the project request will be uploaded after project creation.