Class: AWSCDK::SecurityLake::CfnSubscriberNotification::HttpsNotificationConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::SecurityLake::CfnSubscriberNotification::HttpsNotificationConfigurationProperty
- Defined in:
- security_lake/cfn_subscriber_notification.rb
Overview
Specify the configurations you want to use for HTTPS subscriber notification.
Instance Attribute Summary collapse
-
#authorization_api_key_name ⇒ String?
readonly
The key name for the notification subscription.
-
#authorization_api_key_value ⇒ String?
readonly
The key value for the notification subscription.
-
#endpoint ⇒ String
readonly
The subscription endpoint in Security Lake .
-
#http_method ⇒ String?
readonly
The HTTPS method used for the notification subscription.
-
#target_role_arn ⇒ String
readonly
The Amazon Resource Name (ARN) of the EventBridge API destinations IAM role that you created.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(endpoint:, target_role_arn:, authorization_api_key_name: nil, authorization_api_key_value: nil, http_method: nil) ⇒ HttpsNotificationConfigurationProperty
constructor
A new instance of HttpsNotificationConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(endpoint:, target_role_arn:, authorization_api_key_name: nil, authorization_api_key_value: nil, http_method: nil) ⇒ HttpsNotificationConfigurationProperty
Returns a new instance of HttpsNotificationConfigurationProperty.
520 521 522 523 524 525 526 527 528 529 530 531 |
# File 'security_lake/cfn_subscriber_notification.rb', line 520 def initialize(endpoint:, target_role_arn:, authorization_api_key_name: nil, authorization_api_key_value: nil, http_method: nil) @endpoint = endpoint Jsii::Type.check_type(@endpoint, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "endpoint") @target_role_arn = target_role_arn Jsii::Type.check_type(@target_role_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "targetRoleArn") @authorization_api_key_name = Jsii::Type.check_type(@authorization_api_key_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "authorizationApiKeyName") unless @authorization_api_key_name.nil? @authorization_api_key_value = Jsii::Type.check_type(@authorization_api_key_value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "authorizationApiKeyValue") unless @authorization_api_key_value.nil? @http_method = http_method Jsii::Type.check_type(@http_method, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "httpMethod") unless @http_method.nil? end |
Instance Attribute Details
#authorization_api_key_name ⇒ String? (readonly)
The key name for the notification subscription.
551 552 553 |
# File 'security_lake/cfn_subscriber_notification.rb', line 551 def @authorization_api_key_name end |
#authorization_api_key_value ⇒ String? (readonly)
The key value for the notification subscription.
556 557 558 |
# File 'security_lake/cfn_subscriber_notification.rb', line 556 def @authorization_api_key_value end |
#endpoint ⇒ String (readonly)
The subscription endpoint in Security Lake .
If you prefer notification with an HTTPS endpoint, populate this field.
539 540 541 |
# File 'security_lake/cfn_subscriber_notification.rb', line 539 def endpoint @endpoint end |
#http_method ⇒ String? (readonly)
The HTTPS method used for the notification subscription.
561 562 563 |
# File 'security_lake/cfn_subscriber_notification.rb', line 561 def http_method @http_method end |
#target_role_arn ⇒ String (readonly)
The Amazon Resource Name (ARN) of the EventBridge API destinations IAM role that you created.
For more information about ARNs and how to use them in policies, see Managing data access and AWS Managed Policies in the Amazon Security Lake User Guide .
546 547 548 |
# File 'security_lake/cfn_subscriber_notification.rb', line 546 def target_role_arn @target_role_arn end |
Class Method Details
.jsii_properties ⇒ Object
563 564 565 566 567 568 569 570 571 |
# File 'security_lake/cfn_subscriber_notification.rb', line 563 def self.jsii_properties { :endpoint => "endpoint", :target_role_arn => "targetRoleArn", :authorization_api_key_name => "authorizationApiKeyName", :authorization_api_key_value => "authorizationApiKeyValue", :http_method => "httpMethod", } end |
Instance Method Details
#to_jsii ⇒ Object
573 574 575 576 577 578 579 580 581 582 583 |
# File 'security_lake/cfn_subscriber_notification.rb', line 573 def to_jsii result = {} result.merge!({ "endpoint" => @endpoint, "targetRoleArn" => @target_role_arn, "authorizationApiKeyName" => @authorization_api_key_name, "authorizationApiKeyValue" => @authorization_api_key_value, "httpMethod" => @http_method, }) result.compact end |