Class: AWSCDK::SSMGUIConnect::CfnPreferences::S3BucketProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
ssmgui_connect/cfn_preferences.rb

Overview

The S3 bucket where RDP connection recordings are stored.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(bucket_name:, bucket_owner:) ⇒ S3BucketProperty

Returns a new instance of S3BucketProperty.

Parameters:

  • bucket_name (String)

    The name of the S3 bucket where RDP connection recordings are stored.

  • bucket_owner (String)

    The AWS account number that owns the S3 bucket.



582
583
584
585
586
587
# File 'ssmgui_connect/cfn_preferences.rb', line 582

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

Instance Attribute Details

#bucket_nameString (readonly)

The name of the S3 bucket where RDP connection recordings are stored.



593
594
595
# File 'ssmgui_connect/cfn_preferences.rb', line 593

def bucket_name
  @bucket_name
end

#bucket_ownerString (readonly)

The AWS account number that owns the S3 bucket.



598
599
600
# File 'ssmgui_connect/cfn_preferences.rb', line 598

def bucket_owner
  @bucket_owner
end

Class Method Details

.jsii_propertiesObject



600
601
602
603
604
605
# File 'ssmgui_connect/cfn_preferences.rb', line 600

def self.jsii_properties
  {
    :bucket_name => "bucketName",
    :bucket_owner => "bucketOwner",
  }
end

Instance Method Details

#to_jsiiObject



607
608
609
610
611
612
613
614
# File 'ssmgui_connect/cfn_preferences.rb', line 607

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