Class: AWSCDK::Deadline::CfnQueue::JobAttachmentSettingsProperty

Inherits:
Jsii::Struct
  • Object
show all
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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(root_prefix:, s3_bucket_name:) ⇒ JobAttachmentSettingsProperty

Returns a new instance of JobAttachmentSettingsProperty.

Parameters:

  • root_prefix (String)

    The root prefix.

  • s3_bucket_name (String)

    The Amazon S3 bucket name.



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_prefixString (readonly)

The root prefix.



672
673
674
# File 'deadline/cfn_queue.rb', line 672

def root_prefix
  @root_prefix
end

#s3_bucket_nameString (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_propertiesObject



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_jsiiObject



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