NotificationRecipientTypeProperty Struct
The type of notification recipient.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_connect as connect } from 'aws-cdk-lib';
const notificationRecipientTypeProperty: connect.CfnRule.NotificationRecipientTypeProperty = {
userArns: ['userArns'],
userTags: {
userTagsKey: 'userTags',
},
};
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_connect as connect
notification_recipient_type_property = connect.CfnRule.NotificationRecipientTypeProperty(
user_arns=["userArns"],
user_tags={
"user_tags_key": "userTags"
}
)
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.connect.*;
NotificationRecipientTypeProperty notificationRecipientTypeProperty = NotificationRecipientTypeProperty.builder()
.userArns(List.of("userArns"))
.userTags(Map.of(
"userTagsKey", "userTags"))
.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.Connect;
var notificationRecipientTypeProperty = new NotificationRecipientTypeProperty {
UserArns = new [] { "userArns" },
UserTags = new Dictionary<string, string> {
{ "userTagsKey", "userTags" }
}
};
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"
notificationRecipientTypeProperty := &NotificationRecipientTypeProperty{
UserArns: []*string{
jsii.String("userArns"),
},
UserTags: map[string]*string{
"userTagsKey": jsii.String("userTags"),
},
}
Properties
userArnsoptionalstring[]user_arnsoptionaltyping.List[str]userArnsoptionalList<String>UserArnsoptionalstring[]UserArnsoptional*[]*string #The Amazon Resource Name (ARN) of the user account.
userTagsoptionalIResolvable | { [key: string]: string }user_tagsoptionaltyping.Union[IResolvable, typing.Mapping[str, str]]userTagsoptionalIResolvableUserTagsoptionalIResolvableUserTagsoptionalinterface{} #The tags used to organize, track, or control access for this resource.
For example, { "tags": {"key1":"value1", "key2":"value2"} }. Connect Customer users with the specified tags will be notified.