Skip to content

Create Environment Template

proton_create_environment_template R Documentation

Create an environment template for Proton

Description

Create an environment template for Proton. For more information, see Environment Templates in the Proton User Guide.

You can create an environment template in one of the two following ways:

  • Register and publish a standard environment template that instructs Proton to deploy and manage environment infrastructure.

  • Register and publish a customer managed environment template that connects Proton to your existing provisioned infrastructure that you manage. Proton doesn't manage your existing provisioned infrastructure. To create an environment template for customer provisioned and managed infrastructure, include the provisioning parameter and set the value to CUSTOMER_MANAGED. For more information, see Register and publish an environment template in the Proton User Guide.

Usage

proton_create_environment_template(description, displayName,
  encryptionKey, name, provisioning, tags)

Arguments

description

A description of the environment template.

displayName

The environment template name as displayed in the developer interface.

encryptionKey

A customer provided encryption key that Proton uses to encrypt data.

name

[required] The name of the environment template.

provisioning

When included, indicates that the environment template is for customer provisioned and managed infrastructure.

tags

An optional list of metadata items that you can associate with the Proton environment 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(
  environmentTemplate = list(
    arn = "string",
    createdAt = as.POSIXct(
      "2015-01-01"
    ),
    description = "string",
    displayName = "string",
    encryptionKey = "string",
    lastModifiedAt = as.POSIXct(
      "2015-01-01"
    ),
    name = "string",
    provisioning = "CUSTOMER_MANAGED",
    recommendedVersion = "string"
  )
)

Request syntax

svc$create_environment_template(
  description = "string",
  displayName = "string",
  encryptionKey = "string",
  name = "string",
  provisioning = "CUSTOMER_MANAGED",
  tags = list(
    list(
      key = "string",
      value = "string"
    )
  )
)