CmdID / aws / aws iotthingsgraph
aws iotthingsgraph create-system-template
Creates a system. AWS CLI reference
1 example 2 options Its page in the AWS CLI reference
Examples
To create a system
The following create-system-template example creates a system. The value of MySystemDefinition is the GraphQL that models the system.
aws iotthingsgraph create-system-template --definition language=GRAPHQL,text="MySystemDefinition"Identify--definitionThe DefinitionDocument used to create the system.Its output
{
"summary": {
"createdAt": 1559249776.254,
"id": "urn:tdm:us-west-2/123456789012/default:System:MySystem",
"arn": "arn:aws:iotthingsgraph:us-west-2:123456789012:System/default/MySystem",
"revisionNumber": 1
}
}Options
--compatible-namespace-versionThe namespace version in which the system is to be created.--definitionThe DefinitionDocument used to create the system.