# NotificationRecipientTypeProperty

The type of notification recipient.

- 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_connect as connect } from 'aws-cdk-lib';
const notificationRecipientTypeProperty: connect.CfnRule.NotificationRecipientTypeProperty = {
  userArns: ['userArns'],
  userTags: {
    userTagsKey: 'userTags',
  },
};
```

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_connect as connect

notification_recipient_type_property = connect.CfnRule.NotificationRecipientTypeProperty(
    user_arns=["userArns"],
    user_tags={
        "user_tags_key": "userTags"
    }
)
```

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.connect.*;

NotificationRecipientTypeProperty notificationRecipientTypeProperty = NotificationRecipientTypeProperty.builder()
        .userArns(List.of("userArns"))
        .userTags(Map.of(
                "userTagsKey", "userTags"))
        .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.Connect;

var notificationRecipientTypeProperty = new NotificationRecipientTypeProperty {
    UserArns = new [] { "userArns" },
    UserTags = new Dictionary<string, string> {
        { "userTagsKey", "userTags" }
    }
};
```

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"

notificationRecipientTypeProperty := &NotificationRecipientTypeProperty{
	UserArns: []*string{
		jsii.String("userArns"),
	},
	UserTags: map[string]*string{
		"userTagsKey": jsii.String("userTags"),
	},
}
```

## Properties

- `userArns`: string[] — The Amazon Resource Name (ARN) of the user account.

- `userTags`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | { [key: string]: string } — 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.
