interface CfnWebhookProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Amplify.CfnWebhookProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsamplify#CfnWebhookProps |
Java | software.amazon.awscdk.services.amplify.CfnWebhookProps |
Python | aws_cdk.aws_amplify.CfnWebhookProps |
TypeScript | aws-cdk-lib » aws_amplify » CfnWebhookProps |
Properties for defining a CfnWebhook.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplify-webhook.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_amplify as amplify } from 'aws-cdk-lib';
const cfnWebhookProps: amplify.CfnWebhookProps = {
branchName: 'branchName',
// the properties below are optional
appId: 'appId',
description: 'description',
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| branch | string | The name for a branch that is part of an Amplify app. |
| app | string | The unique ID for an Amplify app. |
| description? | string | The description for a webhook. |
| tags? | Cfn[] | Tags for the webhook. |
branchName
Type:
string
The name for a branch that is part of an Amplify app.
appId?
Type:
string
(optional)
The unique ID for an Amplify app.
description?
Type:
string
(optional)
The description for a webhook.
tags?
Type:
Cfn[]
(optional)
Tags for the webhook.

.NET
Go
Java
Python
TypeScript