/AWS1/CL_PRN=>CREATECOMPONENT()
¶
About CreateComponent¶
Create an Proton component. A component is an infrastructure extension for a service instance.
For more information about components, see Proton components in the Proton User Guide.
Method Signature¶
IMPORTING¶
Required arguments:¶
IV_NAME
TYPE /AWS1/PRNRESOURCENAME
/AWS1/PRNRESOURCENAME
¶
The customer-provided name of the component.
IV_TEMPLATEFILE
TYPE /AWS1/PRNTEMPLATEFILECONTENTS
/AWS1/PRNTEMPLATEFILECONTENTS
¶
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.
IV_MANIFEST
TYPE /AWS1/PRNTMPLMANIFESTCONTENTS
/AWS1/PRNTMPLMANIFESTCONTENTS
¶
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.
Optional arguments:¶
IV_DESCRIPTION
TYPE /AWS1/PRNDESCRIPTION
/AWS1/PRNDESCRIPTION
¶
An optional customer-provided description of the component.
IV_SERVICENAME
TYPE /AWS1/PRNRESOURCENAME
/AWS1/PRNRESOURCENAME
¶
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 bothserviceInstanceName
andserviceName
or neither of them.
IV_SERVICEINSTANCENAME
TYPE /AWS1/PRNRESOURCENAME
/AWS1/PRNRESOURCENAME
¶
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
andserviceName
or neither of them.
IV_ENVIRONMENTNAME
TYPE /AWS1/PRNRESOURCENAME
/AWS1/PRNRESOURCENAME
¶
The name of the Proton environment that you want to associate this component with. You must specify this when you don't specify
serviceInstanceName
andserviceName
.
IV_SERVICESPEC
TYPE /AWS1/PRNSPECCONTENTS
/AWS1/PRNSPECCONTENTS
¶
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.
IT_TAGS
TYPE /AWS1/CL_PRNTAG=>TT_TAGLIST
TT_TAGLIST
¶
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.
IV_CLIENTTOKEN
TYPE /AWS1/PRNCLIENTTOKEN
/AWS1/PRNCLIENTTOKEN
¶
The client token for the created component.