# CfnSubscriberNotificationProps

Properties for defining a `CfnSubscriberNotification`.

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

- Source: Generated at build time
- Type last changed: v2.159.0 · 19 Sep 2024

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_securitylake as securitylake } from 'aws-cdk-lib';

declare const sqsNotificationConfiguration: any;
const cfnSubscriberNotificationProps: securitylake.CfnSubscriberNotificationProps = {
  notificationConfiguration: {
    httpsNotificationConfiguration: {
      endpoint: 'endpoint',
      targetRoleArn: 'targetRoleArn',

      // the properties below are optional
      authorizationApiKeyName: 'authorizationApiKeyName',
      authorizationApiKeyValue: 'authorizationApiKeyValue',
      httpMethod: 'httpMethod',
    },
    sqsNotificationConfiguration: sqsNotificationConfiguration,
  },
  subscriberArn: 'subscriberArn',
};
```

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_securitylake as securitylake

# sqs_notification_configuration: Any

cfn_subscriber_notification_props = securitylake.CfnSubscriberNotificationProps(
    notification_configuration=securitylake.CfnSubscriberNotification.NotificationConfigurationProperty(
        https_notification_configuration=securitylake.CfnSubscriberNotification.HttpsNotificationConfigurationProperty(
            endpoint="endpoint",
            target_role_arn="targetRoleArn",

            # the properties below are optional
            authorization_api_key_name="authorizationApiKeyName",
            authorization_api_key_value="authorizationApiKeyValue",
            http_method="httpMethod"
        ),
        sqs_notification_configuration=sqs_notification_configuration
    ),
    subscriber_arn="subscriberArn"
)
```

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

Object sqsNotificationConfiguration;

CfnSubscriberNotificationProps cfnSubscriberNotificationProps = CfnSubscriberNotificationProps.builder()
        .notificationConfiguration(NotificationConfigurationProperty.builder()
                .httpsNotificationConfiguration(HttpsNotificationConfigurationProperty.builder()
                        .endpoint("endpoint")
                        .targetRoleArn("targetRoleArn")

                        // the properties below are optional
                        .authorizationApiKeyName("authorizationApiKeyName")
                        .authorizationApiKeyValue("authorizationApiKeyValue")
                        .httpMethod("httpMethod")
                        .build())
                .sqsNotificationConfiguration(sqsNotificationConfiguration)
                .build())
        .subscriberArn("subscriberArn")
        .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.SecurityLake;

var sqsNotificationConfiguration;

var cfnSubscriberNotificationProps = new CfnSubscriberNotificationProps {
    NotificationConfiguration = new NotificationConfigurationProperty {
        HttpsNotificationConfiguration = new HttpsNotificationConfigurationProperty {
            Endpoint = "endpoint",
            TargetRoleArn = "targetRoleArn",

            // the properties below are optional
            AuthorizationApiKeyName = "authorizationApiKeyName",
            AuthorizationApiKeyValue = "authorizationApiKeyValue",
            HttpMethod = "httpMethod"
        },
        SqsNotificationConfiguration = sqsNotificationConfiguration
    },
    SubscriberArn = "subscriberArn"
};
```

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"

var sqsNotificationConfiguration interface{}

cfnSubscriberNotificationProps := &CfnSubscriberNotificationProps{
	NotificationConfiguration: &NotificationConfigurationProperty{
		HttpsNotificationConfiguration: &HttpsNotificationConfigurationProperty{
			Endpoint: jsii.String("endpoint"),
			TargetRoleArn: jsii.String("targetRoleArn"),

			// the properties below are optional
			AuthorizationApiKeyName: jsii.String("authorizationApiKeyName"),
			AuthorizationApiKeyValue: jsii.String("authorizationApiKeyValue"),
			HttpMethod: jsii.String("httpMethod"),
		},
		SqsNotificationConfiguration: sqsNotificationConfiguration,
	},
	SubscriberArn: jsii.String("subscriberArn"),
}
```

## Properties

- `notificationConfiguration`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnSubscriberNotification.NotificationConfigurationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_securitylake.CfnSubscriberNotification.NotificationConfigurationProperty.html) (required) — Specify the configurations you want to use for subscriber notification.

  The subscriber is notified when new data is written to the data lake for sources that the subscriber consumes in Security Lake .

- `subscriberArn`: string (required) — The Amazon Resource Name (ARN) of the Security Lake subscriber.
