Class: AWSCDK::PCS::CfnQueue::ComputeNodeGroupConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
pcs/cfn_queue.rb

Overview

The compute node group configuration for a queue.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(compute_node_group_id: nil) ⇒ ComputeNodeGroupConfigurationProperty

Returns a new instance of ComputeNodeGroupConfigurationProperty.

Parameters:

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

    The compute node group ID for the compute node group configuration.



597
598
599
600
# File 'pcs/cfn_queue.rb', line 597

def initialize(compute_node_group_id: nil)
  @compute_node_group_id = compute_node_group_id
  Jsii::Type.check_type(@compute_node_group_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "computeNodeGroupId") unless @compute_node_group_id.nil?
end

Instance Attribute Details

#compute_node_group_idString? (readonly)

The compute node group ID for the compute node group configuration.



606
607
608
# File 'pcs/cfn_queue.rb', line 606

def compute_node_group_id
  @compute_node_group_id
end

Class Method Details

.jsii_propertiesObject



608
609
610
611
612
# File 'pcs/cfn_queue.rb', line 608

def self.jsii_properties
  {
    :compute_node_group_id => "computeNodeGroupId",
  }
end

Instance Method Details

#to_jsiiObject



614
615
616
617
618
619
620
# File 'pcs/cfn_queue.rb', line 614

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