Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Creates a build project.
- createProject :: Text -> ProjectSource -> ProjectArtifacts -> ProjectEnvironment -> CreateProject
- data CreateProject
- cpEncryptionKey :: Lens' CreateProject (Maybe Text)
- cpDescription :: Lens' CreateProject (Maybe Text)
- cpServiceRole :: Lens' CreateProject (Maybe Text)
- cpTags :: Lens' CreateProject [Tag]
- cpTimeoutInMinutes :: Lens' CreateProject (Maybe Natural)
- cpName :: Lens' CreateProject Text
- cpSource :: Lens' CreateProject ProjectSource
- cpArtifacts :: Lens' CreateProject ProjectArtifacts
- cpEnvironment :: Lens' CreateProject ProjectEnvironment
- createProjectResponse :: Int -> CreateProjectResponse
- data CreateProjectResponse
- cprsProject :: Lens' CreateProjectResponse (Maybe Project)
- cprsResponseStatus :: Lens' CreateProjectResponse Int
Creating a Request
Creates a value of CreateProject
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cpEncryptionKey
- The AWS Key Management Service (AWS KMS) customer master key (CMK) to be used for encrypting the build project's build output artifacts. You can specify either the CMK's Amazon Resource Name (ARN) or, if available, the CMK's alias (using the formatalias/alias-name
).cpDescription
- A meaningful description of the build project.cpServiceRole
- The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that enables AWS CodeBuild to interact with dependent AWS services on behalf of the AWS account.cpTags
- A set of tags for this build project. These tags are available for use by AWS services that support AWS CodeBuild build project tags.cpTimeoutInMinutes
- How long in minutes, from 5 to 480 (8 hours), for AWS CodeBuild to wait until timing out any related build that does not get marked as completed. The default is 60 minutes.cpName
- The build project's name.cpSource
- Information about the build project's build input source code.cpArtifacts
- Information about the build project's build output artifacts.cpEnvironment
- Information about the build project's build environment.
data CreateProject Source #
See: createProject
smart constructor.
Request Lenses
cpEncryptionKey :: Lens' CreateProject (Maybe Text) Source #
The AWS Key Management Service (AWS KMS) customer master key (CMK) to be used for encrypting the build project's build output artifacts. You can specify either the CMK's Amazon Resource Name (ARN) or, if available, the CMK's alias (using the format alias/alias-name
).
cpDescription :: Lens' CreateProject (Maybe Text) Source #
A meaningful description of the build project.
cpServiceRole :: Lens' CreateProject (Maybe Text) Source #
The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that enables AWS CodeBuild to interact with dependent AWS services on behalf of the AWS account.
cpTags :: Lens' CreateProject [Tag] Source #
A set of tags for this build project. These tags are available for use by AWS services that support AWS CodeBuild build project tags.
cpTimeoutInMinutes :: Lens' CreateProject (Maybe Natural) Source #
How long in minutes, from 5 to 480 (8 hours), for AWS CodeBuild to wait until timing out any related build that does not get marked as completed. The default is 60 minutes.
cpSource :: Lens' CreateProject ProjectSource Source #
Information about the build project's build input source code.
cpArtifacts :: Lens' CreateProject ProjectArtifacts Source #
Information about the build project's build output artifacts.
cpEnvironment :: Lens' CreateProject ProjectEnvironment Source #
Information about the build project's build environment.
Destructuring the Response
createProjectResponse Source #
Creates a value of CreateProjectResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cprsProject
- Information about the build project that was created.cprsResponseStatus
- -- | The response status code.
data CreateProjectResponse Source #
See: createProjectResponse
smart constructor.
Response Lenses
cprsProject :: Lens' CreateProjectResponse (Maybe Project) Source #
Information about the build project that was created.
cprsResponseStatus :: Lens' CreateProjectResponse Int Source #
- - | The response status code.