Skip to content
v2.277.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',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_codebuild as codebuild

scope_configuration_property = codebuild.CfnProject.ScopeConfigurationProperty(
    name="name",

    # the properties below are optional
    domain="domain",
    scope="scope"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.codebuild.*;

ScopeConfigurationProperty scopeConfigurationProperty = ScopeConfigurationProperty.builder()
        .name("name")

        // the properties below are optional
        .domain("domain")
        .scope("scope")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.CodeBuild;

var scopeConfigurationProperty = new ScopeConfigurationProperty {
    Name = "name",

    // the properties below are optional
    Domain = "domain",
    Scope = "scope"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

scopeConfigurationProperty := &ScopeConfigurationProperty{
	Name: jsii.String("name"),

	// the properties below are optional
	Domain: jsii.String("domain"),
	Scope: jsii.String("scope"),
}

Properties ​

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

The scope default is GITHUB_ORGANIZATION.