Class: AWSCDK::MediaLive::CfnChannel::ArchiveS3SettingsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::MediaLive::CfnChannel::ArchiveS3SettingsProperty
- 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
-
#canned_acl ⇒ String?
readonly
Specify the canned ACL to apply to each S3 request.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(canned_acl: nil) ⇒ ArchiveS3SettingsProperty
constructor
A new instance of ArchiveS3SettingsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(canned_acl: nil) ⇒ ArchiveS3SettingsProperty
Returns a new instance of ArchiveS3SettingsProperty.
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_acl ⇒ String? (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_properties ⇒ Object
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_jsii ⇒ Object
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 |