Skip to content
v2.273.0

ScopeConfigurationProperty Struct ​

Contains configuration information about the scope for a webhook.

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 ​

domainstringdomainstrdomainStringDomainstringDomain*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.

namestringnamestrnameStringNamestringName*stringrequired#
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.
scopestringscopestrscopeStringScopestringScope*string#
The type of scope for a GitHub or GitLab webhook.

The scope default is GITHUB_ORGANIZATION.