Create Service Template
proton_create_service_template | R Documentation |
Create a service template¶
Description¶
Create a service template. The administrator creates a service template to define standardized infrastructure and an optional CI/CD service pipeline. Developers, in turn, select the service template from Proton. If the selected service template includes a service pipeline definition, they provide a link to their source code repository. Proton then deploys and manages the infrastructure defined by the selected service template. For more information, see Proton templates in the Proton User Guide.
Usage¶
proton_create_service_template(description, displayName, encryptionKey,
name, pipelineProvisioning, tags)
Arguments¶
description
A description of the service template.
displayName
The name of the service template as displayed in the developer interface.
encryptionKey
A customer provided encryption key that's used to encrypt data.
name
[required] The name of the service template.
pipelineProvisioning
By default, Proton provides a service pipeline for your service. When this parameter is included, it indicates that an Proton service pipeline isn't provided for your service. After it's included, it can't be changed. For more information, see Template bundles in the Proton User Guide.
tags
An optional list of metadata items that you can associate with the Proton service template. A tag is a key-value pair.
For more information, see Proton resources and tagging in the Proton User Guide.
Value¶
A list with the following syntax:
list(
serviceTemplate = list(
arn = "string",
createdAt = as.POSIXct(
"2015-01-01"
),
description = "string",
displayName = "string",
encryptionKey = "string",
lastModifiedAt = as.POSIXct(
"2015-01-01"
),
name = "string",
pipelineProvisioning = "CUSTOMER_MANAGED",
recommendedVersion = "string"
)
)