Class: AWSCDK::S3Express::CfnDirectoryBucket::DestinationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::S3Express::CfnDirectoryBucket::DestinationProperty
- Defined in:
- s3_express/cfn_directory_bucket.rb
Overview
Specifies information about where to publish inventory reports for an Amazon S3 Express bucket.
Instance Attribute Summary collapse
-
#bucket_account_id ⇒ String?
readonly
The account ID that owns the destination S3 bucket.
-
#bucket_arn ⇒ String
readonly
The Amazon Resource Name (ARN) of the destination Amazon S3 bucket to which data is exported.
-
#format ⇒ String
readonly
Specifies the file format used when exporting data to Amazon S3.
-
#prefix ⇒ String?
readonly
The prefix to use when exporting data.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(bucket_arn:, format:, bucket_account_id: nil, prefix: nil) ⇒ DestinationProperty
constructor
A new instance of DestinationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(bucket_arn:, format:, bucket_account_id: nil, prefix: nil) ⇒ DestinationProperty
Returns a new instance of DestinationProperty.
755 756 757 758 759 760 761 762 763 764 |
# File 's3_express/cfn_directory_bucket.rb', line 755 def initialize(bucket_arn:, format:, bucket_account_id: nil, prefix: nil) @bucket_arn = bucket_arn Jsii::Type.check_type(@bucket_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "bucketArn") @format = format Jsii::Type.check_type(@format, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "format") @bucket_account_id = bucket_account_id Jsii::Type.check_type(@bucket_account_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "bucketAccountId") unless @bucket_account_id.nil? @prefix = prefix Jsii::Type.check_type(@prefix, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "prefix") unless @prefix.nil? end |
Instance Attribute Details
#bucket_account_id ⇒ String? (readonly)
The account ID that owns the destination S3 bucket.
780 781 782 |
# File 's3_express/cfn_directory_bucket.rb', line 780 def bucket_account_id @bucket_account_id end |
#bucket_arn ⇒ String (readonly)
The Amazon Resource Name (ARN) of the destination Amazon S3 bucket to which data is exported.
770 771 772 |
# File 's3_express/cfn_directory_bucket.rb', line 770 def bucket_arn @bucket_arn end |
#format ⇒ String (readonly)
Specifies the file format used when exporting data to Amazon S3.
775 776 777 |
# File 's3_express/cfn_directory_bucket.rb', line 775 def format @format end |
#prefix ⇒ String? (readonly)
The prefix to use when exporting data.
The prefix is prepended to all results.
787 788 789 |
# File 's3_express/cfn_directory_bucket.rb', line 787 def prefix @prefix end |
Class Method Details
.jsii_properties ⇒ Object
789 790 791 792 793 794 795 796 |
# File 's3_express/cfn_directory_bucket.rb', line 789 def self.jsii_properties { :bucket_arn => "bucketArn", :format => "format", :bucket_account_id => "bucketAccountId", :prefix => "prefix", } end |
Instance Method Details
#to_jsii ⇒ Object
798 799 800 801 802 803 804 805 806 807 |
# File 's3_express/cfn_directory_bucket.rb', line 798 def to_jsii result = {} result.merge!({ "bucketArn" => @bucket_arn, "format" => @format, "bucketAccountId" => @bucket_account_id, "prefix" => @prefix, }) result.compact end |