Class: AWSCDK::MediaLive::CfnChannel::HlsS3SettingsProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
media_live/cfn_channel.rb

Overview

Sets up Amazon S3 as the destination for this HLS output.

The parent of this entity is HlsCdnSettings.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(canned_acl: nil) ⇒ HlsS3SettingsProperty

Returns a new instance of HlsS3SettingsProperty.

Parameters:

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

    Specify the canned ACL to apply to each S3 request.



8319
8320
8321
8322
# File 'media_live/cfn_channel.rb', line 8319

def initialize(canned_acl: nil)
  @canned_acl = canned_acl
  Jsii::Type.check_type(@canned_acl, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "cannedAcl") unless @canned_acl.nil?
end

Instance Attribute Details

#canned_aclString? (readonly)

Specify the canned ACL to apply to each S3 request.

Defaults to none.



8330
8331
8332
# File 'media_live/cfn_channel.rb', line 8330

def canned_acl
  @canned_acl
end

Class Method Details

.jsii_propertiesObject



8332
8333
8334
8335
8336
# File 'media_live/cfn_channel.rb', line 8332

def self.jsii_properties
  {
    :canned_acl => "cannedAcl",
  }
end

Instance Method Details

#to_jsiiObject



8338
8339
8340
8341
8342
8343
8344
# File 'media_live/cfn_channel.rb', line 8338

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