Class: AWSCDK::ResilienceHubv2::CfnService::S3ReportOutputConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
resilience_hubv2/cfn_service.rb

Overview

S3 configuration for report output.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(bucket_owner:, bucket_path:) ⇒ S3ReportOutputConfigurationProperty

Returns a new instance of S3ReportOutputConfigurationProperty.

Parameters:

  • bucket_owner (String)

    Account ID of the bucket owner.

  • bucket_path (String)

    S3 bucket path where reports will be written.



1180
1181
1182
1183
1184
1185
# File 'resilience_hubv2/cfn_service.rb', line 1180

def initialize(bucket_owner:, bucket_path:)
  @bucket_owner = bucket_owner
  Jsii::Type.check_type(@bucket_owner, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "bucketOwner")
  @bucket_path = bucket_path
  Jsii::Type.check_type(@bucket_path, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "bucketPath")
end

Instance Attribute Details

#bucket_ownerString (readonly)

Account ID of the bucket owner.



1191
1192
1193
# File 'resilience_hubv2/cfn_service.rb', line 1191

def bucket_owner
  @bucket_owner
end

#bucket_pathString (readonly)

S3 bucket path where reports will be written.



1196
1197
1198
# File 'resilience_hubv2/cfn_service.rb', line 1196

def bucket_path
  @bucket_path
end

Class Method Details

.jsii_propertiesObject



1198
1199
1200
1201
1202
1203
# File 'resilience_hubv2/cfn_service.rb', line 1198

def self.jsii_properties
  {
    :bucket_owner => "bucketOwner",
    :bucket_path => "bucketPath",
  }
end

Instance Method Details

#to_jsiiObject



1205
1206
1207
1208
1209
1210
1211
1212
# File 'resilience_hubv2/cfn_service.rb', line 1205

def to_jsii
  result = {}
  result.merge!({
    "bucketOwner" => @bucket_owner,
    "bucketPath" => @bucket_path,
  })
  result.compact
end