View source: R/proton_operations.R
proton_create_environment | R Documentation |
Deploy a new environment. An Proton environment is created from an environment template that defines infrastructure and resources that can be shared across services.
See https://www.paws-r-sdk.com/docs/proton_create_environment/ for full documentation.
proton_create_environment(
codebuildRoleArn = NULL,
componentRoleArn = NULL,
description = NULL,
environmentAccountConnectionId = NULL,
name,
protonServiceRoleArn = NULL,
provisioningRepository = NULL,
spec,
tags = NULL,
templateMajorVersion,
templateMinorVersion = NULL,
templateName
)
codebuildRoleArn |
The Amazon Resource Name (ARN) of the IAM service role that allows Proton to provision infrastructure using CodeBuild-based provisioning on your behalf. To use CodeBuild-based provisioning for the environment or for any
service instance running in the environment, specify either the
|
componentRoleArn |
The Amazon Resource Name (ARN) of the IAM service role that Proton uses when provisioning directly defined components in this environment. It determines the scope of infrastructure that a component can provision. You must specify For more information about components, see Proton components in the Proton User Guide. |
description |
A description of the environment that's being created and deployed. |
environmentAccountConnectionId |
The ID of the environment account connection that you provide if you're provisioning your environment infrastructure resources to an environment account. For more information, see Environment account connections in the Proton User guide. To use Amazon Web Services-managed provisioning for the environment,
specify either the |
name |
[required] The name of the environment. |
protonServiceRoleArn |
The Amazon Resource Name (ARN) of the Proton service role that allows Proton to make calls to other services on your behalf. To use Amazon Web Services-managed provisioning for the environment,
specify either the |
provisioningRepository |
The linked repository that you use to host your rendered infrastructure
templates for self-managed provisioning. A linked repository is a
repository that has been registered with Proton. For more information,
see To use self-managed provisioning for the environment, specify this
parameter and omit the |
spec |
[required] A YAML formatted string that provides inputs as defined in the environment template bundle schema file. For more information, see Environments in the Proton User Guide. |
tags |
An optional list of metadata items that you can associate with the Proton environment. 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 environment template. |
templateMinorVersion |
The minor version of the environment template. |
templateName |
[required] The name of the environment template. For more information, see Environment Templates in the Proton User Guide. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.