Module Values.CreateComponentInputSource

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.

Sourcetype nonrec t = {
  1. clientToken : ClientToken.t option;
    (*

    The client token for the created component.

    *)
  2. description : Description.t option;
    (*

    An optional customer-provided description of the component.

    *)
  3. environmentName : ResourceName.t option;
    (*

    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.

    *)
  4. manifest : TemplateManifestContents.t;
    (*

    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.

    *)
  5. name : ResourceName.t;
    (*

    The customer-provided name of the component.

    *)
  6. serviceInstanceName : ResourceName.t option;
    (*

    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.

    *)
  7. serviceName : ResourceName.t option;
    (*

    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.

    *)
  8. serviceSpec : SpecContents.t option;
    (*

    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.

    *)
  9. tags : TagList.t option;
    (*

    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.

    *)
  10. templateFile : TemplateFileContents.t;
    (*

    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.

    *)
}
Sourceval context_ : string
Sourceval make : ?clientToken:??? -> ?description:??? -> ?environmentName:??? -> ?serviceInstanceName:??? -> ?serviceName:??? -> ?serviceSpec:??? -> ?tags:??? -> manifest:TemplateManifestContents.t -> name:ResourceName.t -> templateFile:TemplateFileContents.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `String of TagKey.t ]) list ] list | `String of ClientToken.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t