Class: AWSCDK::Deadline::CfnQueue::JobAttachmentSettingsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Deadline::CfnQueue::JobAttachmentSettingsProperty
- Defined in:
- deadline/cfn_queue.rb
Overview
The job attachment settings.
These are the Amazon S3 bucket name and the Amazon S3 prefix.
Instance Attribute Summary collapse
-
#root_prefix ⇒ String
readonly
The root prefix.
-
#s3_bucket_name ⇒ String
readonly
The Amazon S3 bucket name.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(root_prefix:, s3_bucket_name:) ⇒ JobAttachmentSettingsProperty
constructor
A new instance of JobAttachmentSettingsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(root_prefix:, s3_bucket_name:) ⇒ JobAttachmentSettingsProperty
Returns a new instance of JobAttachmentSettingsProperty.
661 662 663 664 665 666 |
# File 'deadline/cfn_queue.rb', line 661 def initialize(root_prefix:, s3_bucket_name:) @root_prefix = root_prefix Jsii::Type.check_type(@root_prefix, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "rootPrefix") @s3_bucket_name = s3_bucket_name Jsii::Type.check_type(@s3_bucket_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "s3BucketName") end |
Instance Attribute Details
#root_prefix ⇒ String (readonly)
The root prefix.
672 673 674 |
# File 'deadline/cfn_queue.rb', line 672 def root_prefix @root_prefix end |
#s3_bucket_name ⇒ String (readonly)
The Amazon S3 bucket name.
677 678 679 |
# File 'deadline/cfn_queue.rb', line 677 def s3_bucket_name @s3_bucket_name end |
Class Method Details
.jsii_properties ⇒ Object
679 680 681 682 683 684 |
# File 'deadline/cfn_queue.rb', line 679 def self.jsii_properties { :root_prefix => "rootPrefix", :s3_bucket_name => "s3BucketName", } end |
Instance Method Details
#to_jsii ⇒ Object
686 687 688 689 690 691 692 693 |
# File 'deadline/cfn_queue.rb', line 686 def to_jsii result = {} result.merge!({ "rootPrefix" => @root_prefix, "s3BucketName" => @s3_bucket_name, }) result.compact end |