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
)
The client token for the created component.
An optional customer-provided description of the component.
The name of the Proton environment that you want to associate this
component with. You must specify this when you don't specify
serviceInstanceName
and serviceName
.
[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.
[required] The customer-provided name of the component.
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 serviceInstanceName
and serviceName
or neither of them.
The name of the service that serviceInstanceName
is associated with.
If you don't specify this, the component isn't attached to any service
instance. Specify both serviceInstanceName
and serviceName
or
neither of them.
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.
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.
[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.