NotificationConfigurationProperty Struct
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 .
Example
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 notificationConfigurationProperty: securitylake.CfnSubscriberNotification.NotificationConfigurationProperty = {
httpsNotificationConfiguration: {
endpoint: 'endpoint',
targetRoleArn: 'targetRoleArn',
// the properties below are optional
authorizationApiKeyName: 'authorizationApiKeyName',
authorizationApiKeyValue: 'authorizationApiKeyValue',
httpMethod: 'httpMethod',
},
sqsNotificationConfiguration: sqsNotificationConfiguration,
};
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
notification_configuration_property = 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
)
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;
NotificationConfigurationProperty notificationConfigurationProperty = NotificationConfigurationProperty.builder()
.httpsNotificationConfiguration(HttpsNotificationConfigurationProperty.builder()
.endpoint("endpoint")
.targetRoleArn("targetRoleArn")
// the properties below are optional
.authorizationApiKeyName("authorizationApiKeyName")
.authorizationApiKeyValue("authorizationApiKeyValue")
.httpMethod("httpMethod")
.build())
.sqsNotificationConfiguration(sqsNotificationConfiguration)
.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.SecurityLake;
var sqsNotificationConfiguration;
var notificationConfigurationProperty = new NotificationConfigurationProperty {
HttpsNotificationConfiguration = new HttpsNotificationConfigurationProperty {
Endpoint = "endpoint",
TargetRoleArn = "targetRoleArn",
// the properties below are optional
AuthorizationApiKeyName = "authorizationApiKeyName",
AuthorizationApiKeyValue = "authorizationApiKeyValue",
HttpMethod = "httpMethod"
},
SqsNotificationConfiguration = sqsNotificationConfiguration
};
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{}
notificationConfigurationProperty := &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,
}
Properties
httpsNotificationConfigurationoptionalIResolvable | CfnSubscriberNotification.HttpsNotificationConfigurationPropertyhttps_notification_configurationoptionaltyping.Union[IResolvable, HttpsNotificationConfigurationProperty]httpsNotificationConfigurationoptionalIResolvableHttpsNotificationConfigurationoptionalIResolvableHttpsNotificationConfigurationoptionalinterface{}#The configurations used for HTTPS subscriber notification.
sqsNotificationConfigurationoptionalanysqs_notification_configurationoptionalAnysqsNotificationConfigurationoptionalObjectSqsNotificationConfigurationoptionalobjectSqsNotificationConfigurationoptionalinterface{}#The configurations for SQS subscriber notification.
The members of this structure are context-dependent.