WebhookArgs class
The set of arguments for Webhook. The set of arguments for Webhook.
Constructors
-
WebhookArgs({required Input<
bool> active, required Input<String> displayName, Input<String> ? environmentName, Input<List< ? filters, Input<WebhookFilters> >WebhookFormat> ? format, Input<List< ? groups, required Input<WebhookGroup> >String> organizationName, required Input<String> payloadUrl, Input<String> ? projectName, Input<String> ? secret, Input<String> ? stackName}) -
Creates a new WebhookArgs.
activeIndicates whether this webhook is enabled or not.displayNameThe friendly name displayed in the Pulumi Cloud.environmentNameName of the environment. Only specified if this is an environment webhook.filtersOptional set of filters to apply to the webhook. See webhook docs for more information.formatFormat of the webhook payload. Can be eitherraw,slack,ms_teamsorpulumi_deployments. Defaults toraw.groupsOptional set of filter groups to apply to the webhook. See webhook docs for more information.organizationNameName of the organization.payloadUrlURL to send request to.projectNameName of the project. Only specified if this is a stack or environment webhook.secretOptional. secret used as the HMAC key. See webhook docs for more information.stackNameName of the stack. Only needed if this is a stack webhook.const -
WebhookArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
active
→ Input<
bool> -
Indicates whether this webhook is enabled or not.
final
-
displayName
→ Input<
String> -
The friendly name displayed in the Pulumi Cloud.
final
-
environmentName
→ Input<
String> ? -
Name of the environment. Only specified if this is an environment webhook.
final
-
filters
→ Input<
List< ?WebhookFilters> > -
Optional set of filters to apply to the webhook. See webhook docs for more information.
final
-
format
→ Input<
WebhookFormat> ? -
Format of the webhook payload. Can be either
raw,slack,ms_teamsorpulumi_deployments. Defaults toraw.final -
groups
→ Input<
List< ?WebhookGroup> > -
Optional set of filter groups to apply to the webhook. See webhook docs for more information.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
organizationName
→ Input<
String> -
Name of the organization.
final
-
payloadUrl
→ Input<
String> -
URL to send request to.
final
-
projectName
→ Input<
String> ? -
Name of the project. Only specified if this is a stack or environment webhook.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
secret
→ Input<
String> ? -
Optional. secret used as the HMAC key. See webhook docs for more information.
final
-
stackName
→ Input<
String> ? -
Name of the stack. Only needed if this is a stack webhook.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited