proton_create_component: Create an Proton component

View source: R/proton_operations.R

proton_create_componentR Documentation

Create an Proton component

Description

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.

Usage

proton_create_component(
  clientToken = NULL,
  description = NULL,
  environmentName = NULL,
  manifest,
  name,
  serviceInstanceName = NULL,
  serviceName = NULL,
  serviceSpec = NULL,
  tags = NULL,
  templateFile
)

Arguments

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 serviceInstanceName and serviceName.

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 serviceInstanceName and serviceName or neither of them.

serviceName

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.

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.


paws.compute documentation built on Sept. 12, 2023, 1:28 a.m.