Class CfnSubscriberNotification

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.securitylake.CfnSubscriberNotification
All Implemented Interfaces:
IInspectable, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-11-06T23:25:16.979Z") @Stability(Stable) public class CfnSubscriberNotification extends CfnResource implements IInspectable
Notifies the subscriber when new data is written to the data lake for the sources that the subscriber consumes in Security Lake.

You can create only one subscriber notification per subscriber.

Example:

 // 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;
 CfnSubscriberNotification cfnSubscriberNotification = CfnSubscriberNotification.Builder.create(this, "MyCfnSubscriberNotification")
         .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();
 

See Also:
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String CFN_RESOURCE_TYPE_NAME
      The CloudFormation resource type name for this resource class.
  • Constructor Details

    • CfnSubscriberNotification

      protected CfnSubscriberNotification(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnSubscriberNotification

      protected CfnSubscriberNotification(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnSubscriberNotification

      @Stability(Stable) public CfnSubscriberNotification(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnSubscriberNotificationProps props)
      Parameters:
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). This parameter is required.
      props - Resource properties. This parameter is required.
  • Method Details

    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      Parameters:
      inspector - tree inspector to collect and process attributes. This parameter is required.
    • renderProperties

      @Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
      Overrides:
      renderProperties in class CfnResource
      Parameters:
      props - This parameter is required.
    • getAttrSubscriberEndpoint

      @Stability(Stable) @NotNull public String getAttrSubscriberEndpoint()
      The endpoint the subscriber should listen to for notifications.
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getNotificationConfiguration

      @Stability(Stable) @NotNull public Object getNotificationConfiguration()
      Specify the configurations you want to use for subscriber notification.
    • setNotificationConfiguration

      @Stability(Stable) public void setNotificationConfiguration(@NotNull IResolvable value)
      Specify the configurations you want to use for subscriber notification.
    • setNotificationConfiguration

      @Stability(Stable) public void setNotificationConfiguration(@NotNull CfnSubscriberNotification.NotificationConfigurationProperty value)
      Specify the configurations you want to use for subscriber notification.
    • getSubscriberArn

      @Stability(Stable) @NotNull public String getSubscriberArn()
      The Amazon Resource Name (ARN) of the Security Lake subscriber.
    • setSubscriberArn

      @Stability(Stable) public void setSubscriberArn(@NotNull String value)
      The Amazon Resource Name (ARN) of the Security Lake subscriber.