# ScopeConfigurationProperty

Contains configuration information about the scope for a webhook.

- Source: Generated code
- Type last changed: v2.190.0 · 17 Apr 2025

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_codebuild as codebuild } from 'aws-cdk-lib';
const scopeConfigurationProperty: codebuild.CfnProject.ScopeConfigurationProperty = {
  name: 'name',

  // the properties below are optional
  domain: 'domain',
  scope: 'scope',
};
```

## Properties

- `domain`: string — The domain of the GitHub Enterprise organization or the GitLab Self Managed group.

  Note that this parameter is only required if your project's source type is GITHUB_ENTERPRISE or GITLAB_SELF_MANAGED.

- `name`: string (required) — The name of either the enterprise or organization that will send webhook events to CodeBuild , depending on if the webhook is a global or organization webhook respectively.

- `scope`: string — The type of scope for a GitHub or GitLab webhook.

  The scope default is GITHUB_ORGANIZATION.
