Skip to content

Commit 353a7d3

Browse files
author
AWS
committed
AWS CodeBuild Update: AWS CodeBuild now supports manually creating GitHub webhooks
1 parent b1318f2 commit 353a7d3

File tree

2 files changed

+17
-3
lines changed

2 files changed

+17
-3
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "AWS CodeBuild",
4+
"contributor": "",
5+
"description": "AWS CodeBuild now supports manually creating GitHub webhooks"
6+
}

services/codebuild/src/main/resources/codegen-resources/service-2.json

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1607,7 +1607,7 @@
16071607
"vpcConfig":{"shape":"VpcConfig"},
16081608
"fleetServiceRole":{
16091609
"shape":"NonEmptyString",
1610-
"documentation":"<p>The service role associated with the compute fleet.</p>"
1610+
"documentation":"<p>The service role associated with the compute fleet. For more information, see <a href=\"https://docs.aws.amazon.com/codebuild/latest/userguide/auth-and-access-control-iam-identity-based-access-control.html#customer-managed-policies-example-permission-policy-fleet-service-role.html\"> Allow a user to add a permission policy for a fleet service role</a> in the <i>CodeBuild User Guide</i>.</p>"
16111611
},
16121612
"tags":{
16131613
"shape":"TagList",
@@ -1783,6 +1783,10 @@
17831783
"buildType":{
17841784
"shape":"WebhookBuildType",
17851785
"documentation":"<p>Specifies the type of build this webhook will trigger.</p>"
1786+
},
1787+
"manualCreation":{
1788+
"shape":"WrapperBoolean",
1789+
"documentation":"<p>If manualCreation is true, CodeBuild doesn't create a webhook in GitHub and instead returns <code>payloadUrl</code> and <code>secret</code> values for the webhook. The <code>payloadUrl</code> and <code>secret</code> values in the output can be used to manually create a webhook within GitHub.</p> <note> <p>manualCreation is only available for GitHub webhooks.</p> </note>"
17861790
}
17871791
}
17881792
},
@@ -2219,7 +2223,7 @@
22192223
"vpcConfig":{"shape":"VpcConfig"},
22202224
"fleetServiceRole":{
22212225
"shape":"NonEmptyString",
2222-
"documentation":"<p>The service role associated with the compute fleet.</p>"
2226+
"documentation":"<p>The service role associated with the compute fleet. For more information, see <a href=\"https://docs.aws.amazon.com/codebuild/latest/userguide/auth-and-access-control-iam-identity-based-access-control.html#customer-managed-policies-example-permission-policy-fleet-service-role.html\"> Allow a user to add a permission policy for a fleet service role</a> in the <i>CodeBuild User Guide</i>.</p>"
22232227
},
22242228
"tags":{
22252229
"shape":"TagList",
@@ -4499,7 +4503,7 @@
44994503
"vpcConfig":{"shape":"VpcConfig"},
45004504
"fleetServiceRole":{
45014505
"shape":"NonEmptyString",
4502-
"documentation":"<p>The service role associated with the compute fleet.</p>"
4506+
"documentation":"<p>The service role associated with the compute fleet. For more information, see <a href=\"https://docs.aws.amazon.com/codebuild/latest/userguide/auth-and-access-control-iam-identity-based-access-control.html#customer-managed-policies-example-permission-policy-fleet-service-role.html\"> Allow a user to add a permission policy for a fleet service role</a> in the <i>CodeBuild User Guide</i>.</p>"
45034507
},
45044508
"tags":{
45054509
"shape":"TagList",
@@ -4757,6 +4761,10 @@
47574761
"shape":"WebhookBuildType",
47584762
"documentation":"<p>Specifies the type of build this webhook will trigger.</p>"
47594763
},
4764+
"manualCreation":{
4765+
"shape":"WrapperBoolean",
4766+
"documentation":"<p>If manualCreation is true, CodeBuild doesn't create a webhook in GitHub and instead returns <code>payloadUrl</code> and <code>secret</code> values for the webhook. The <code>payloadUrl</code> and <code>secret</code> values in the output can be used to manually create a webhook within GitHub.</p> <note> <p>manualCreation is only available for GitHub webhooks.</p> </note>"
4767+
},
47604768
"lastModifiedSecret":{
47614769
"shape":"Timestamp",
47624770
"documentation":"<p>A timestamp that indicates the last time a repository's secret token was modified. </p>"

0 commit comments

Comments
 (0)