Class: AWSCDK::AuditManager::CfnAssessment::AssessmentReportsDestinationProperty

Inherits:
Jsii::Struct
  • Object
show all
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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(destination: nil, destination_type: nil) ⇒ AssessmentReportsDestinationProperty

Returns a new instance of AssessmentReportsDestinationProperty.

Parameters:

  • destination (String, nil) (defaults to: nil)

    The destination bucket where Audit Manager stores assessment reports.

  • destination_type (String, nil) (defaults to: nil)

    The destination type, such as Amazon S3.



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

#destinationString? (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_typeString? (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_propertiesObject



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_jsiiObject



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