Class: AWSCDK::IVS::CfnStorageConfiguration::S3StorageConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
ivs/cfn_storage_configuration.rb

Overview

The S3StorageConfiguration property type describes an S3 location where recorded videos will be stored.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(bucket_name:) ⇒ S3StorageConfigurationProperty

Returns a new instance of S3StorageConfigurationProperty.

Parameters:

  • bucket_name (String)

    Name of the S3 bucket where recorded video will be stored.



548
549
550
551
# File 'ivs/cfn_storage_configuration.rb', line 548

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

Instance Attribute Details

#bucket_nameString (readonly)

Name of the S3 bucket where recorded video will be stored.



557
558
559
# File 'ivs/cfn_storage_configuration.rb', line 557

def bucket_name
  @bucket_name
end

Class Method Details

.jsii_propertiesObject



559
560
561
562
563
# File 'ivs/cfn_storage_configuration.rb', line 559

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

Instance Method Details

#to_jsiiObject



565
566
567
568
569
570
571
# File 'ivs/cfn_storage_configuration.rb', line 565

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