Class: AWSCDK::Cognito::CfnLogDeliveryConfiguration::S3ConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Cognito::CfnLogDeliveryConfiguration::S3ConfigurationProperty
- 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
-
#bucket_arn ⇒ String?
readonly
The ARN of an Amazon S3 bucket that's the destination for threat protection log export.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(bucket_arn: nil) ⇒ S3ConfigurationProperty
constructor
A new instance of S3ConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(bucket_arn: nil) ⇒ S3ConfigurationProperty
Returns a new instance of S3ConfigurationProperty.
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_arn ⇒ String? (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_properties ⇒ Object
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_jsii ⇒ Object
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 |