Skip to main content
Version: 0.5

capact typeinstance create

capact typeinstance create

Creates a new TypeInstance(s)


Create one or multiple TypeInstances from a given file.


- alias: parent # required when submitting more than one TypeInstance
attributes: # optional
- path:
revision: 0.1.0
typeRef: # required
revision: 0.1.0
value: # required
accessKeyID: fake-123
secretAccessKey: fake-456

usesRelations: # optional
- from: parent
to: 123-4313 # ID of already existing TypeInstance, or TypeInstance alias from a given request

NOTE: Supported syntax are YAML and JSON.

capact typeinstance create [flags]


# Create TypeInstances defined in a given file
capact typeinstance create -f ./tmp/typeinstances.yaml


  -f, --from-file strings   The TypeInstances input in YAML format (can specify multiple)
-h, --help help for create
-o, --output string Output format. One of: json | table | yaml (default "table")
--timeout duration Timeout for HTTP request (default 30s)

Options inherited from parent commands

  -c, --config string                 Path to the YAML config file
-v, --verbose int/string[=simple] Prints more verbose output. Allowed values: 0 - disable, 1 - simple, 2 - trace (default 0 - disable)


  • capact typeinstance - This command consists of multiple subcommands to interact with target TypeInstances