Class: AWSCDK::SSMGUIConnect::CfnPreferences::S3BucketProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::SSMGUIConnect::CfnPreferences::S3BucketProperty
- Defined in:
- ssmgui_connect/cfn_preferences.rb
Overview
The S3 bucket where RDP connection recordings are stored.
Instance Attribute Summary collapse
-
#bucket_name ⇒ String
readonly
The name of the S3 bucket where RDP connection recordings are stored.
-
#bucket_owner ⇒ String
readonly
The AWS account number that owns the S3 bucket.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(bucket_name:, bucket_owner:) ⇒ S3BucketProperty
constructor
A new instance of S3BucketProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(bucket_name:, bucket_owner:) ⇒ S3BucketProperty
Returns a new instance of S3BucketProperty.
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_name ⇒ String (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_owner ⇒ String (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_properties ⇒ Object
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_jsii ⇒ Object
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 |