We recommend new projects start with resources from the AWS provider.
published on Monday, Aug 24, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
published on Monday, Aug 24, 2026 by Pulumi
Resource Type definition for AWS::Amplify::Webhook. Creates a webhook on an Amplify app.
Create Webhook Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Webhook(name: string, args: WebhookArgs, opts?: CustomResourceOptions);@overload
def Webhook(resource_name: str,
args: WebhookArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Webhook(resource_name: str,
opts: Optional[ResourceOptions] = None,
branch_name: Optional[str] = None,
app_id: Optional[str] = None,
description: Optional[str] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None)func NewWebhook(ctx *Context, name string, args WebhookArgs, opts ...ResourceOption) (*Webhook, error)public Webhook(string name, WebhookArgs args, CustomResourceOptions? opts = null)
public Webhook(String name, WebhookArgs args)
public Webhook(String name, WebhookArgs args, CustomResourceOptions options)
type: aws-native:amplify:Webhook
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "aws-native_amplify_webhook" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args WebhookArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args WebhookArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args WebhookArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args WebhookArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args WebhookArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Webhook Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Webhook resource accepts the following input properties:
- Branch
Name string - The name for a branch that is part of an Amplify app.
- App
Id string - The unique ID for an Amplify app.
- Description string
- The description for a webhook.
-
List<Pulumi.
Aws Native. Inputs. Tag> - Tags for the webhook.
- Branch
Name string - The name for a branch that is part of an Amplify app.
- App
Id string - The unique ID for an Amplify app.
- Description string
- The description for a webhook.
-
Tag
Args - Tags for the webhook.
- branch_
name string - The name for a branch that is part of an Amplify app.
- app_
id string - The unique ID for an Amplify app.
- description string
- The description for a webhook.
- list(object)
- Tags for the webhook.
- branch
Name String - The name for a branch that is part of an Amplify app.
- app
Id String - The unique ID for an Amplify app.
- description String
- The description for a webhook.
- List<Tag>
- Tags for the webhook.
- branch
Name string - The name for a branch that is part of an Amplify app.
- app
Id string - The unique ID for an Amplify app.
- description string
- The description for a webhook.
- Tag[]
- Tags for the webhook.
- branch_
name str - The name for a branch that is part of an Amplify app.
- app_
id str - The unique ID for an Amplify app.
- description str
- The description for a webhook.
-
Sequence[Tag
Args] - Tags for the webhook.
- branch
Name String - The name for a branch that is part of an Amplify app.
- app
Id String - The unique ID for an Amplify app.
- description String
- The description for a webhook.
- List<Property Map>
- Tags for the webhook.
Outputs
All input properties are implicitly available as output properties. Additionally, the Webhook resource produces the following output properties:
- Arn string
- The Amazon Resource Name (ARN) for the webhook.
- Id string
- The provider-assigned unique ID for this managed resource.
- Webhook
Id string - The unique ID for a webhook.
- Webhook
Url string - The URL of the webhook.
- Arn string
- The Amazon Resource Name (ARN) for the webhook.
- Id string
- The provider-assigned unique ID for this managed resource.
- Webhook
Id string - The unique ID for a webhook.
- Webhook
Url string - The URL of the webhook.
- arn string
- The Amazon Resource Name (ARN) for the webhook.
- id string
- The provider-assigned unique ID for this managed resource.
- webhook_
id string - The unique ID for a webhook.
- webhook_
url string - The URL of the webhook.
- arn String
- The Amazon Resource Name (ARN) for the webhook.
- id String
- The provider-assigned unique ID for this managed resource.
- webhook
Id String - The unique ID for a webhook.
- webhook
Url String - The URL of the webhook.
- arn string
- The Amazon Resource Name (ARN) for the webhook.
- id string
- The provider-assigned unique ID for this managed resource.
- webhook
Id string - The unique ID for a webhook.
- webhook
Url string - The URL of the webhook.
- arn str
- The Amazon Resource Name (ARN) for the webhook.
- id str
- The provider-assigned unique ID for this managed resource.
- webhook_
id str - The unique ID for a webhook.
- webhook_
url str - The URL of the webhook.
- arn String
- The Amazon Resource Name (ARN) for the webhook.
- id String
- The provider-assigned unique ID for this managed resource.
- webhook
Id String - The unique ID for a webhook.
- webhook
Url String - The URL of the webhook.
Supporting Types
Tag, TagArgs
A set of tags to apply to the resource.Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
published on Monday, Aug 24, 2026 by Pulumi