InAppNotificationRecipientTypeProperty Struct
| 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 inAppNotificationRecipientTypeProperty: connect.CfnRule.InAppNotificationRecipientTypeProperty = {
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
in_app_notification_recipient_type_property = connect.CfnRule.InAppNotificationRecipientTypeProperty(
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.*;
InAppNotificationRecipientTypeProperty inAppNotificationRecipientTypeProperty = InAppNotificationRecipientTypeProperty.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 inAppNotificationRecipientTypeProperty = new InAppNotificationRecipientTypeProperty {
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"
inAppNotificationRecipientTypeProperty := &InAppNotificationRecipientTypeProperty{
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 list of recipients by user arns.
userTagsoptionalIResolvable | { [key: string]: string }user_tagsoptionaltyping.Union[IResolvable, typing.Mapping[str, str]]userTagsoptionalIResolvableUserTagsoptionalIResolvableUserTagsoptionalinterface{} #The collection of recipients who are identified by user tags.