View source: R/proton_operations.R
proton_create_service | R Documentation |
Create an Proton service. An Proton service is an instantiation of a service template and often includes several service instances and pipeline. For more information, see Services in the Proton User Guide.
See https://www.paws-r-sdk.com/docs/proton_create_service/ for full documentation.
proton_create_service(
branchName = NULL,
description = NULL,
name,
repositoryConnectionArn = NULL,
repositoryId = NULL,
spec,
tags = NULL,
templateMajorVersion,
templateMinorVersion = NULL,
templateName
)
branchName |
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 |
A description of the Proton service. |
name |
[required] The service name. |
repositoryConnectionArn |
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. |
repositoryId |
The ID of the code repository. Don't include this parameter if your service template doesn't include a service pipeline. |
spec |
[required] 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 |
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. |
templateMajorVersion |
[required] The major version of the service template that was used to create the service. |
templateMinorVersion |
The minor version of the service template that was used to create the service. |
templateName |
[required] The name of the service template that's used to create the service. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.