Class: AWSCDK::MediaLive::CfnChannel::ArchiveS3SettingsProperty

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

Overview

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

The parent of this entity is ArchiveCdnSettings.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(canned_acl: nil) ⇒ ArchiveS3SettingsProperty

Returns a new instance of ArchiveS3SettingsProperty.

Parameters:

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

    Specify the canned ACL to apply to each S3 request.



1321
1322
1323
1324
# File 'media_live/cfn_channel.rb', line 1321

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.



1332
1333
1334
# File 'media_live/cfn_channel.rb', line 1332

def canned_acl
  @canned_acl
end

Class Method Details

.jsii_propertiesObject



1334
1335
1336
1337
1338
# File 'media_live/cfn_channel.rb', line 1334

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

Instance Method Details

#to_jsiiObject



1340
1341
1342
1343
1344
1345
1346
# File 'media_live/cfn_channel.rb', line 1340

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