Class: AWSCDK::Cognito::CfnLogDeliveryConfiguration::FirehoseConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
cognito/cfn_log_delivery_configuration.rb

Overview

Configuration for the Amazon Data Firehose stream destination of user activity log export with threat protection.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(stream_arn: nil) ⇒ FirehoseConfigurationProperty

Returns a new instance of FirehoseConfigurationProperty.

Parameters:

  • stream_arn (String, nil) (defaults to: nil)

    The ARN of an Amazon Data Firehose stream that's the destination for threat protection log export.



552
553
554
555
# File 'cognito/cfn_log_delivery_configuration.rb', line 552

def initialize(stream_arn: nil)
  @stream_arn = stream_arn
  Jsii::Type.check_type(@stream_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "streamArn") unless @stream_arn.nil?
end

Instance Attribute Details

#stream_arnString? (readonly)

The ARN of an Amazon Data Firehose stream that's the destination for threat protection log export.



561
562
563
# File 'cognito/cfn_log_delivery_configuration.rb', line 561

def stream_arn
  @stream_arn
end

Class Method Details

.jsii_propertiesObject



563
564
565
566
567
# File 'cognito/cfn_log_delivery_configuration.rb', line 563

def self.jsii_properties
  {
    :stream_arn => "streamArn",
  }
end

Instance Method Details

#to_jsiiObject



569
570
571
572
573
574
575
# File 'cognito/cfn_log_delivery_configuration.rb', line 569

def to_jsii
  result = {}
  result.merge!({
    "streamArn" => @stream_arn,
  })
  result.compact
end