Class: AWSCDK::ARCRegionSwitch::CfnPlan::S3ReportOutputConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
arc_region_switch/cfn_plan.rb

Overview

Configuration for delivering generated reports to an Amazon S3 bucket.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(bucket_owner: nil, bucket_path: nil) ⇒ S3ReportOutputConfigurationProperty

Returns a new instance of S3ReportOutputConfigurationProperty.

Parameters:

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

    The AWS account ID that owns the S3 bucket.

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

    The S3 bucket name and optional prefix where reports are stored.



2910
2911
2912
2913
2914
2915
# File 'arc_region_switch/cfn_plan.rb', line 2910

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

Instance Attribute Details

#bucket_ownerString? (readonly)

The AWS account ID that owns the S3 bucket.

Required to ensure the bucket is still owned by the same expected owner at generation time.



2923
2924
2925
# File 'arc_region_switch/cfn_plan.rb', line 2923

def bucket_owner
  @bucket_owner
end

#bucket_pathString? (readonly)

The S3 bucket name and optional prefix where reports are stored.

Format: bucket-name or bucket-name/prefix.



2930
2931
2932
# File 'arc_region_switch/cfn_plan.rb', line 2930

def bucket_path
  @bucket_path
end

Class Method Details

.jsii_propertiesObject



2932
2933
2934
2935
2936
2937
# File 'arc_region_switch/cfn_plan.rb', line 2932

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

Instance Method Details

#to_jsiiObject



2939
2940
2941
2942
2943
2944
2945
2946
# File 'arc_region_switch/cfn_plan.rb', line 2939

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