NotificationRuleReference Struct
A reference to a NotificationRule resource.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_codestarnotifications as interfaces_codestarnotifications } from 'aws-cdk-lib/interfaces';
const notificationRuleReference: interfaces_codestarnotifications.NotificationRuleReference = {
notificationRuleArn: 'notificationRuleArn',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_codestarnotifications as interfaces_codestarnotifications
notification_rule_reference = interfaces_codestarnotifications.NotificationRuleReference(
notification_rule_arn="notificationRuleArn"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.interfaces.codestarnotifications.*;
NotificationRuleReference notificationRuleReference = NotificationRuleReference.builder()
.notificationRuleArn("notificationRuleArn")
.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.Interfaces.CodeStarNotifications;
var notificationRuleReference = new NotificationRuleReference {
NotificationRuleArn = "notificationRuleArn"
};
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"
notificationRuleReference := &NotificationRuleReference{
NotificationRuleArn: jsii.String("notificationRuleArn"),
}
Properties
notificationRuleArnstringnotification_rule_arnstrnotificationRuleArnStringNotificationRuleArnstringNotificationRuleArn*stringrequired#The Arn of the NotificationRule resource.