CreateServiceInput
¶
Source code in docs_src/capo_proton/types/create_service_input.py
branch_name
instance-attribute
¶
branch_name: NotRequired[GitBranchName]
The name of the code repository branch that holds the code that's deployed in Proton. Don't include this parameter if your service template doesn't include a service pipeline.
description
instance-attribute
¶
description: NotRequired[Description]
A description of the Proton service.
repository_connection_arn
instance-attribute
¶
repository_connection_arn: NotRequired[Arn]
The Amazon Resource Name (ARN) of the repository connection. For more information, see Setting up an AWS CodeStar connection in the Proton User Guide. Don't include this parameter if your service template doesn't include a service pipeline.
repository_id
instance-attribute
¶
repository_id: NotRequired[RepositoryId]
The ID of the code repository. Don't include this parameter if your service template doesn't include a service pipeline.
spec
instance-attribute
¶
spec: SpecContents
A link to a spec file that provides inputs as defined in the service template bundle schema file. The spec file is in YAML format. Don’t include pipeline inputs in the spec if your service template doesn’t include a service pipeline. For more information, see Create a service in the Proton User Guide.
tags
instance-attribute
¶
tags: NotRequired[TagList]
An optional list of metadata items that you can associate with the Proton service. A tag is a key-value pair.
For more information, see Proton resources and tagging in the Proton User Guide.
template_major_version
instance-attribute
¶
template_major_version: TemplateVersionPart
The major version of the service template that was used to create the service.
template_minor_version
instance-attribute
¶
template_minor_version: NotRequired[TemplateVersionPart]
The minor version of the service template that was used to create the service.
template_name
instance-attribute
¶
template_name: ResourceName
The name of the service template that's used to create the service.