Class: AWSCDK::Deadline::CfnQueueLimitAssociationProps

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
deadline/cfn_queue_limit_association_props.rb

Overview

Properties for defining a CfnQueueLimitAssociation.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(farm_id:, limit_id:, queue_id:) ⇒ CfnQueueLimitAssociationProps

Returns a new instance of CfnQueueLimitAssociationProps.

Parameters:

  • farm_id (String)

    The unique identifier of the farm that contains the queue-limit association.

  • limit_id (String)

    The unique identifier of the limit in the association.

  • queue_id (String)

    The unique identifier of the queue in the association.



12
13
14
15
16
17
18
19
# File 'deadline/cfn_queue_limit_association_props.rb', line 12

def initialize(farm_id:, limit_id:, queue_id:)
  @farm_id = farm_id
  Jsii::Type.check_type(@farm_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "farmId")
  @limit_id = limit_id
  Jsii::Type.check_type(@limit_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "limitId")
  @queue_id = queue_id
  Jsii::Type.check_type(@queue_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "queueId")
end

Instance Attribute Details

#farm_idString (readonly)

The unique identifier of the farm that contains the queue-limit association.



25
26
27
# File 'deadline/cfn_queue_limit_association_props.rb', line 25

def farm_id
  @farm_id
end

#limit_idString (readonly)

The unique identifier of the limit in the association.



30
31
32
# File 'deadline/cfn_queue_limit_association_props.rb', line 30

def limit_id
  @limit_id
end

#queue_idString (readonly)

The unique identifier of the queue in the association.



35
36
37
# File 'deadline/cfn_queue_limit_association_props.rb', line 35

def queue_id
  @queue_id
end

Class Method Details

.jsii_propertiesObject



37
38
39
40
41
42
43
# File 'deadline/cfn_queue_limit_association_props.rb', line 37

def self.jsii_properties
  {
    :farm_id => "farmId",
    :limit_id => "limitId",
    :queue_id => "queueId",
  }
end

Instance Method Details

#to_jsiiObject



45
46
47
48
49
50
51
52
53
# File 'deadline/cfn_queue_limit_association_props.rb', line 45

def to_jsii
  result = {}
  result.merge!({
    "farmId" => @farm_id,
    "limitId" => @limit_id,
    "queueId" => @queue_id,
  })
  result.compact
end