Skip to main content

AccessControl

Resource AccessControl in pulumi-posthog.
3 min read

Resource AccessControl in pulumi-posthog.

Pulumi type: posthog:index/accessControl:AccessControl.

name is the Pulumi resource name. Nested object fields are documented under that object. They are not arguments of this resource.

Example#

Only required arguments are set. A string in angle brackets stands in for that argument. Any other value is an option or example written in the SDK description.

Arguments#

PropertyTypeRequiredDescription
accessLevelstringyesThe access level to grant. Common values are none, viewer, editor.
organizationMemberstringnoThe organization member ID to grant access to (either organizationMemberId from posthog.getUser data source, or posthog_organization_member.<name>.id). Mutually exclusive with role. If neither role nor organizationMember is set, this becomes the project default for the resource type.
projectIdstringnoProject ID (environment) for this resource. Overrides the provider-level project_id.
resourcestringyesThe resource type to control access for. Valid values include: action, alert, annotation, cohort, dashboard, experiment, featureFlag, insight, notebook, sessionRecording, survey, etc.
resourceIdstringnoThe ID of a specific resource to control access for. If omitted, the access control applies to all resources of the specified type.
rolestringnoThe UUID of the role to grant access to. Mutually exclusive with organizationMember. If neither role nor organizationMember is set, this becomes the project default for the resource type.

Outputs#

Computed outputs are produced by the provider. They are not constructor arguments.

PropertyTypeComputedDescription
accessLevelstringnoThe access level to grant. Common values are none, viewer, editor.
createdAtstringyesTimestamp when the access control was created.
organizationMemberstringnoThe organization member ID to grant access to (either organizationMemberId from posthog.getUser data source, or posthog_organization_member.<name>.id). Mutually exclusive with role. If neither role nor organizationMember is set, this becomes the project default for the resource type.
projectIdstringnoProject ID (environment) for this resource. Overrides the provider-level project_id.
resourcestringnoThe resource type to control access for. Valid values include: action, alert, annotation, cohort, dashboard, experiment, featureFlag, insight, notebook, sessionRecording, survey, etc.
resourceIdstringnoThe ID of a specific resource to control access for. If omitted, the access control applies to all resources of the specified type.
rolestringnoThe UUID of the role to grant access to. Mutually exclusive with organizationMember. If neither role nor organizationMember is set, this becomes the project default for the resource type.
updatedAtstringyesTimestamp when the access control was last updated.