# TriggerConfigProperty

Information about notification triggers for the deployment group.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_codedeploy as codedeploy } from 'aws-cdk-lib';
const triggerConfigProperty: codedeploy.CfnDeploymentGroup.TriggerConfigProperty = {
  triggerEvents: ['triggerEvents'],
  triggerName: 'triggerName',
  triggerTargetArn: 'triggerTargetArn',
};
```

Python:

```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_codedeploy as codedeploy

trigger_config_property = codedeploy.CfnDeploymentGroup.TriggerConfigProperty(
    trigger_events=["triggerEvents"],
    trigger_name="triggerName",
    trigger_target_arn="triggerTargetArn"
)
```

Java:

```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.codedeploy.*;

TriggerConfigProperty triggerConfigProperty = TriggerConfigProperty.builder()
        .triggerEvents(List.of("triggerEvents"))
        .triggerName("triggerName")
        .triggerTargetArn("triggerTargetArn")
        .build();
```

C# / .NET:

```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.CodeDeploy;

var triggerConfigProperty = new TriggerConfigProperty {
    TriggerEvents = new [] { "triggerEvents" },
    TriggerName = "triggerName",
    TriggerTargetArn = "triggerTargetArn"
};
```

Golang:

```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"

triggerConfigProperty := &TriggerConfigProperty{
	TriggerEvents: []*string{
		jsii.String("triggerEvents"),
	},
	TriggerName: jsii.String("triggerName"),
	TriggerTargetArn: jsii.String("triggerTargetArn"),
}
```

## Properties

- `triggerEvents`: string[] — The event type or types that trigger notifications.

- `triggerName`: string — The name of the notification trigger.

- `triggerTargetArn`: string — The Amazon Resource Name (ARN) of the Amazon Simple Notification Service topic through which notifications about deployment or instance events are sent.
