Class: AWSCDK::CodeBuild::CfnReportGroup::ReportExportConfigProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::CodeBuild::CfnReportGroup::ReportExportConfigProperty
- Defined in:
- code_build/cfn_report_group.rb
Overview
Information about the location where the run of a report is exported.
Instance Attribute Summary collapse
-
#export_config_type ⇒ String
readonly
The export configuration type.
-
#s3_destination ⇒ AWSCDK::IResolvable, ...
readonly
A
S3ReportExportConfigobject that contains information about the S3 bucket where the run of a report is exported.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(export_config_type:, s3_destination: nil) ⇒ ReportExportConfigProperty
constructor
A new instance of ReportExportConfigProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(export_config_type:, s3_destination: nil) ⇒ ReportExportConfigProperty
Returns a new instance of ReportExportConfigProperty.
581 582 583 584 585 586 |
# File 'code_build/cfn_report_group.rb', line 581 def initialize(export_config_type:, s3_destination: nil) @export_config_type = export_config_type Jsii::Type.check_type(@export_config_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "exportConfigType") @s3_destination = s3_destination.is_a?(Hash) ? ::AWSCDK::CodeBuild::CfnReportGroup::S3ReportExportConfigProperty.new(**s3_destination.transform_keys(&:to_sym)) : s3_destination Jsii::Type.check_type(@s3_destination, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19jb2RlYnVpbGQuQ2ZuUmVwb3J0R3JvdXAuUzNSZXBvcnRFeHBvcnRDb25maWdQcm9wZXJ0eSJ9XX19")), "s3Destination") unless @s3_destination.nil? end |
Instance Attribute Details
#export_config_type ⇒ String (readonly)
The export configuration type. Valid values are:.
S3: The report results are exported to an S3 bucket.NO_EXPORT: The report results are not exported.
595 596 597 |
# File 'code_build/cfn_report_group.rb', line 595 def export_config_type @export_config_type end |
#s3_destination ⇒ AWSCDK::IResolvable, ... (readonly)
A S3ReportExportConfig object that contains information about the S3 bucket where the run of a report is exported.
600 601 602 |
# File 'code_build/cfn_report_group.rb', line 600 def s3_destination @s3_destination end |
Class Method Details
.jsii_properties ⇒ Object
602 603 604 605 606 607 |
# File 'code_build/cfn_report_group.rb', line 602 def self.jsii_properties { :export_config_type => "exportConfigType", :s3_destination => "s3Destination", } end |
Instance Method Details
#to_jsii ⇒ Object
609 610 611 612 613 614 615 616 |
# File 'code_build/cfn_report_group.rb', line 609 def to_jsii result = {} result.merge!({ "exportConfigType" => @export_config_type, "s3Destination" => @s3_destination, }) result.compact end |