# CfnNotifyConfigurationProps

Properties for defining a `CfnNotifyConfiguration`.

Used as props by: [CfnNotifyConfiguration](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_smsvoice.CfnNotifyConfiguration.html)

- Source: Generated at build time
- Type last changed: v2.274.0 · 20 Oct 2026

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_smsvoice as smsvoice } from 'aws-cdk-lib';
const cfnNotifyConfigurationProps: smsvoice.CfnNotifyConfigurationProps = {
  displayName: 'displayName',
  enabledChannels: ['enabledChannels'],
  useCase: 'useCase',

  // the properties below are optional
  defaultTemplateId: 'defaultTemplateId',
  deletionProtectionEnabled: false,
  enabledCountries: ['enabledCountries'],
  poolId: 'poolId',
  tags: [{
    key: 'key',
    value: 'value',
  }],
};
```

Python:

```python
from aws_cdk import CfnTag
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_smsvoice as smsvoice

cfn_notify_configuration_props = smsvoice.CfnNotifyConfigurationProps(
    display_name="displayName",
    enabled_channels=["enabledChannels"],
    use_case="useCase",

    # the properties below are optional
    default_template_id="defaultTemplateId",
    deletion_protection_enabled=False,
    enabled_countries=["enabledCountries"],
    pool_id="poolId",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)
```

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

CfnNotifyConfigurationProps cfnNotifyConfigurationProps = CfnNotifyConfigurationProps.builder()
        .displayName("displayName")
        .enabledChannels(List.of("enabledChannels"))
        .useCase("useCase")

        // the properties below are optional
        .defaultTemplateId("defaultTemplateId")
        .deletionProtectionEnabled(false)
        .enabledCountries(List.of("enabledCountries"))
        .poolId("poolId")
        .tags(List.of(CfnTag.builder()
                .key("key")
                .value("value")
                .build()))
        .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.SMSVOICE;

var cfnNotifyConfigurationProps = new CfnNotifyConfigurationProps {
    DisplayName = "displayName",
    EnabledChannels = new [] { "enabledChannels" },
    UseCase = "useCase",

    // the properties below are optional
    DefaultTemplateId = "defaultTemplateId",
    DeletionProtectionEnabled = false,
    EnabledCountries = new [] { "enabledCountries" },
    PoolId = "poolId",
    Tags = new [] { new CfnTag {
        Key = "key",
        Value = "value"
    } }
};
```

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"

cfnNotifyConfigurationProps := &CfnNotifyConfigurationProps{
	DisplayName: jsii.String("displayName"),
	EnabledChannels: []*string{
		jsii.String("enabledChannels"),
	},
	UseCase: jsii.String("useCase"),

	// the properties below are optional
	DefaultTemplateId: jsii.String("defaultTemplateId"),
	DeletionProtectionEnabled: jsii.Boolean(false),
	EnabledCountries: []*string{
		jsii.String("enabledCountries"),
	},
	PoolId: jsii.String("poolId"),
	Tags: []CfnTag{
		&CfnTag{
			Key: jsii.String("key"),
			Value: jsii.String("value"),
		},
	},
}
```

## Properties

- `defaultTemplateId`: string — The default template identifier to associate with the notify configuration.

  If specified, this template is used when sending messages without an explicit template identifier.

- `deletionProtectionEnabled`: boolean | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) — By default this is set to false.

  When set to true the notify configuration can't be deleted.

- `displayName`: string (required) — The display name to associate with the notify configuration.

- `enabledChannels`: string[] (required) — An array of channels to enable for the notify configuration.

  Supported values include SMS and VOICE.

- `enabledCountries`: string[] — An array of two-character ISO country codes, in ISO 3166-1 alpha-2 format, that are enabled for the notify configuration.

- `poolId`: string — The identifier of the pool to associate with the notify configuration.

- `tags`: [CfnTag](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — An array of tags (key and value pairs) associated with the notify configuration.

- `useCase`: string (required) — The use case for the notify configuration.
