TriggerConfigProperty Struct
Information about notification triggers for the deployment group.
Example
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
# 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
// 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();
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"
};
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
triggerEventsoptionalstring[]trigger_eventsoptionaltyping.List[str]triggerEventsoptionalList<String>TriggerEventsoptionalstring[]TriggerEventsoptional*[]*string#The event type or types that trigger notifications.
triggerNameoptionalstringtrigger_nameoptionalstrtriggerNameoptionalStringTriggerNameoptionalstringTriggerNameoptional*string#The name of the notification trigger.
triggerTargetArnoptionalstringtrigger_target_arnoptionalstrtriggerTargetArnoptionalStringTriggerTargetArnoptionalstringTriggerTargetArnoptional*string#The Amazon Resource Name (ARN) of the Amazon Simple Notification Service topic through which notifications about deployment or instance events are sent.