class Aws::Proton::Types::CreateServiceInput
@note When making an API call, you may pass CreateServiceInput
data as a hash: { branch_name: "GitBranchName", description: "Description", name: "ResourceName", # required repository_connection_arn: "Arn", repository_id: "RepositoryId", spec: "SpecContents", # required tags: [ { key: "TagKey", # required value: "TagValue", # required }, ], template_major_version: "TemplateVersionPart", # required template_minor_version: "TemplateVersionPart", template_name: "ResourceName", # required }
@!attribute [rw] branch_name
The name of the code repository branch that holds the code that's deployed in AWS Proton. *Don't* include this parameter if your service template *doesn't* include a service pipeline. @return [String]
@!attribute [rw] description
A description of the AWS Proton service. @return [String]
@!attribute [rw] name
The service name. @return [String]
@!attribute [rw] repository_connection_arn
The Amazon Resource Name (ARN) of the repository connection. For more information, see [Set up repository connection][1] in the *AWS Proton Administrator Guide* and [Setting up with AWS Proton][2] in the *AWS Proton User Guide*. *Don't* include this parameter if your service template *doesn't* include a service pipeline. [1]: https://docs.aws.amazon.com/proton/latest/adminguide/setting-up-for-service.html#setting-up-vcontrol [2]: https://docs.aws.amazon.com/proton/latest/userguide/proton-setup.html#setup-repo-connection @return [String]
@!attribute [rw] repository_id
The ID of the code repository. *Don't* include this parameter if your service template *doesn't* include a service pipeline. @return [String]
@!attribute [rw] spec
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][1] in the *AWS Proton Administrator Guide* and [Create a service][2] in the *AWS Proton User Guide*. [1]: https://docs.aws.amazon.com/proton/latest/adminguide/ag-create-svc.html.html [2]: https://docs.aws.amazon.com/proton/latest/userguide/ug-svc-create.html @return [String]
@!attribute [rw] tags
Create tags for your service. For more information, see *AWS Proton resources and tagging* in the [AWS Proton Administrator Guide][1] or [AWS Proton User Guide][2]. [1]: https://docs.aws.amazon.com/proton/latest/adminguide/resources.html [2]: https://docs.aws.amazon.com/proton/latest/userguide/resources.html @return [Array<Types::Tag>]
@!attribute [rw] template_major_version
The ID of the major version of the service template that was used to create the service. @return [String]
@!attribute [rw] template_minor_version
The ID of the minor version of the service template that was used to create the service. @return [String]
@!attribute [rw] template_name
The name of the service template that's used to create the service. @return [String]
@see docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/CreateServiceInput AWS API Documentation
Constants
- SENSITIVE