Interface AddResourceOptions

The options for adding a new resource to the Archon policy engine.

interface AddResourceOptions {
    metadata?: object;
    type: ResourceTypeName | ResourceType;
}

Properties

Properties

metadata?: object

User-defined metadata to attach to the new resource. Must be a JSON-serializable object.

The resource type of the new resource.