CmdID / aws / aws clouddirectory
aws clouddirectory create-facet
Creates a new Facet in a schema. AWS CLI reference
5 options Its page in the AWS CLI reference
Options
--attributesThe attributes that are associated with the Facet.--facet-styleThere are two different styles that you can define on any given facet, Static and Dynamic.--nameThe name of the Facet, which is unique for a given schema.--object-typeSpecifies whether a given object created from this facet is of type node, leaf node, policy or index.--schema-arnThe schema ARN in which the new Facet will be created.