Class: AWSCDK::Cognito::CfnLogDeliveryConfiguration::S3ConfigurationProperty

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

Overview

Configuration for the Amazon S3 bucket destination of user activity log export with threat protection.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(bucket_arn: nil) ⇒ S3ConfigurationProperty

Returns a new instance of S3ConfigurationProperty.

Parameters:

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

    The ARN of an Amazon S3 bucket that's the destination for threat protection log export.



662
663
664
665
# File 'cognito/cfn_log_delivery_configuration.rb', line 662

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

Instance Attribute Details

#bucket_arnString? (readonly)

The ARN of an Amazon S3 bucket that's the destination for threat protection log export.



671
672
673
# File 'cognito/cfn_log_delivery_configuration.rb', line 671

def bucket_arn
  @bucket_arn
end

Class Method Details

.jsii_propertiesObject



673
674
675
676
677
# File 'cognito/cfn_log_delivery_configuration.rb', line 673

def self.jsii_properties
  {
    :bucket_arn => "bucketArn",
  }
end

Instance Method Details

#to_jsiiObject



679
680
681
682
683
684
685
# File 'cognito/cfn_log_delivery_configuration.rb', line 679

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