Skip to main content

effectiveAttributes

Returns the attribute keys that apply to an entity type: the md-* system keys Massdriver sets on it and the custom attributes it inherits. For example, scope INSTANCE returns md-project, md-environment, md-component, md-instance and more, plus every custom attribute declared at PROJECT, ENVIRONMENT or COMPONENT scope.

System keys come first, then custom keys sorted by key. Values are not included; they depend on the individual entity.

effectiveAttributes(
organizationId: ID!
scope: EffectiveAttributeScope!
): [EffectiveAttribute!]!

Arguments​

effectiveAttributes.organizationId ● ID! non-null scalar {#organization-id}​

Your organization's unique identifier.

effectiveAttributes.scope ● EffectiveAttributeScope! non-null enum {#scope}​

The kind of entity to list attribute keys for.

Type​

EffectiveAttribute object​

An attribute key that applies to a kind of entity, either set by Massdriver or declared by your organization and inherited down the resource hierarchy.