Class: AWSCDK::AuditManager::CfnAssessment::AssessmentReportsDestinationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::AuditManager::CfnAssessment::AssessmentReportsDestinationProperty
- Defined in:
- audit_manager/cfn_assessment.rb
Overview
The AssessmentReportsDestination property type specifies the location in which AWS Audit Manager saves assessment reports for the given assessment.
Instance Attribute Summary collapse
-
#destination ⇒ String?
readonly
The destination bucket where Audit Manager stores assessment reports.
-
#destination_type ⇒ String?
readonly
The destination type, such as Amazon S3.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(destination: nil, destination_type: nil) ⇒ AssessmentReportsDestinationProperty
constructor
A new instance of AssessmentReportsDestinationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(destination: nil, destination_type: nil) ⇒ AssessmentReportsDestinationProperty
Returns a new instance of AssessmentReportsDestinationProperty.
768 769 770 771 772 773 |
# File 'audit_manager/cfn_assessment.rb', line 768 def initialize(destination: nil, destination_type: nil) @destination = destination Jsii::Type.check_type(@destination, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "destination") unless @destination.nil? @destination_type = destination_type Jsii::Type.check_type(@destination_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "destinationType") unless @destination_type.nil? end |
Instance Attribute Details
#destination ⇒ String? (readonly)
The destination bucket where Audit Manager stores assessment reports.
779 780 781 |
# File 'audit_manager/cfn_assessment.rb', line 779 def destination @destination end |
#destination_type ⇒ String? (readonly)
The destination type, such as Amazon S3.
784 785 786 |
# File 'audit_manager/cfn_assessment.rb', line 784 def destination_type @destination_type end |
Class Method Details
.jsii_properties ⇒ Object
786 787 788 789 790 791 |
# File 'audit_manager/cfn_assessment.rb', line 786 def self.jsii_properties { :destination => "destination", :destination_type => "destinationType", } end |
Instance Method Details
#to_jsii ⇒ Object
793 794 795 796 797 798 799 800 |
# File 'audit_manager/cfn_assessment.rb', line 793 def to_jsii result = {} result.merge!({ "destination" => @destination, "destinationType" => @destination_type, }) result.compact end |