View source: R/proton_operations.R
proton_create_component | R Documentation |
Create an Proton component. A component is an infrastructure extension for a service instance.
See https://www.paws-r-sdk.com/docs/proton_create_component/ for full documentation.
proton_create_component(
clientToken = NULL,
description = NULL,
environmentName = NULL,
manifest,
name,
serviceInstanceName = NULL,
serviceName = NULL,
serviceSpec = NULL,
tags = NULL,
templateFile
)
clientToken |
The client token for the created component. |
description |
An optional customer-provided description of the component. |
environmentName |
The name of the Proton environment that you want to associate this
component with. You must specify this when you don't specify
|
manifest |
[required] A path to a manifest file that lists the Infrastructure as Code (IaC) file, template language, and rendering engine for infrastructure that a custom component provisions. |
name |
[required] The customer-provided name of the component. |
serviceInstanceName |
The name of the service instance that you want to attach this component
to. If you don't specify this, the component isn't attached to any
service instance. Specify both |
serviceName |
The name of the service that |
serviceSpec |
The service spec that you want the component to use to access service inputs. Set this only when you attach the component to a service instance. |
tags |
An optional list of metadata items that you can associate with the Proton component. A tag is a key-value pair. For more information, see Proton resources and tagging in the Proton User Guide. |
templateFile |
[required] A path to the Infrastructure as Code (IaC) file describing infrastructure that a custom component provisions. Components support a single IaC file, even if you use Terraform as your template language. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.