Class: AWSCDK::BCMDataExports::CfnExport::S3OutputConfigurationsProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
bcm_data_exports/cfn_export.rb

Overview

The compression type, file format, and overwrite preference for the data export.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(compression:, format:, output_type:, overwrite:) ⇒ S3OutputConfigurationsProperty

Returns a new instance of S3OutputConfigurationsProperty.

Parameters:

  • compression (String)

    The compression type for the data export.

  • format (String)

    The file format for the data export.

  • output_type (String)

    The output type for the data export.

  • overwrite (String)

    The rule to follow when generating a version of the data export file.



854
855
856
857
858
859
860
861
862
863
# File 'bcm_data_exports/cfn_export.rb', line 854

def initialize(compression:, format:, output_type:, overwrite:)
  @compression = compression
  Jsii::Type.check_type(@compression, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "compression")
  @format = format
  Jsii::Type.check_type(@format, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "format")
  @output_type = output_type
  Jsii::Type.check_type(@output_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "outputType")
  @overwrite = overwrite
  Jsii::Type.check_type(@overwrite, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "overwrite")
end

Instance Attribute Details

#compressionString (readonly)

The compression type for the data export.



869
870
871
# File 'bcm_data_exports/cfn_export.rb', line 869

def compression
  @compression
end

#formatString (readonly)

The file format for the data export.



874
875
876
# File 'bcm_data_exports/cfn_export.rb', line 874

def format
  @format
end

#output_typeString (readonly)

The output type for the data export.



879
880
881
# File 'bcm_data_exports/cfn_export.rb', line 879

def output_type
  @output_type
end

#overwriteString (readonly)

The rule to follow when generating a version of the data export file.

You have the choice to overwrite the previous version or to be delivered in addition to the previous versions. Overwriting exports can save on Amazon S3 storage costs. Creating new export versions allows you to track the changes in cost and usage data over time.



886
887
888
# File 'bcm_data_exports/cfn_export.rb', line 886

def overwrite
  @overwrite
end

Class Method Details

.jsii_propertiesObject



888
889
890
891
892
893
894
895
# File 'bcm_data_exports/cfn_export.rb', line 888

def self.jsii_properties
  {
    :compression => "compression",
    :format => "format",
    :output_type => "outputType",
    :overwrite => "overwrite",
  }
end

Instance Method Details

#to_jsiiObject



897
898
899
900
901
902
903
904
905
906
# File 'bcm_data_exports/cfn_export.rb', line 897

def to_jsii
  result = {}
  result.merge!({
    "compression" => @compression,
    "format" => @format,
    "outputType" => @output_type,
    "overwrite" => @overwrite,
  })
  result.compact
end