Class: AWSCDK::EMRContainers::CfnVirtualCluster::ContainerProviderProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::EMRContainers::CfnVirtualCluster::ContainerProviderProperty
- Defined in:
- emr_containers/cfn_virtual_cluster.rb
Overview
The information about the container provider.
Instance Attribute Summary collapse
-
#id ⇒ String
readonly
The ID of the container cluster.
-
#info ⇒ AWSCDK::IResolvable, AWSCDK::EMRContainers::CfnVirtualCluster::ContainerInfoProperty
readonly
The information about the container cluster.
-
#type ⇒ String
readonly
The type of the container provider.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(id:, info:, type:) ⇒ ContainerProviderProperty
constructor
A new instance of ContainerProviderProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(id:, info:, type:) ⇒ ContainerProviderProperty
Returns a new instance of ContainerProviderProperty.
628 629 630 631 632 633 634 635 |
# File 'emr_containers/cfn_virtual_cluster.rb', line 628 def initialize(id:, info:, type:) @id = id Jsii::Type.check_type(@id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "id") @info = info.is_a?(Hash) ? ::AWSCDK::EMRContainers::CfnVirtualCluster::ContainerInfoProperty.new(**info.transform_keys(&:to_sym)) : info Jsii::Type.check_type(@info, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19lbXJjb250YWluZXJzLkNmblZpcnR1YWxDbHVzdGVyLkNvbnRhaW5lckluZm9Qcm9wZXJ0eSJ9XX19")), "info") @type = type Jsii::Type.check_type(@type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "type") end |
Instance Attribute Details
#id ⇒ String (readonly)
The ID of the container cluster.
Minimum : 1
Maximum : 100
Pattern : ^[0-9A-Za-z][A-Za-z0-9\-_]*
647 648 649 |
# File 'emr_containers/cfn_virtual_cluster.rb', line 647 def id @id end |
#info ⇒ AWSCDK::IResolvable, AWSCDK::EMRContainers::CfnVirtualCluster::ContainerInfoProperty (readonly)
The information about the container cluster.
652 653 654 |
# File 'emr_containers/cfn_virtual_cluster.rb', line 652 def info @info end |
#type ⇒ String (readonly)
The type of the container provider.
Amazon EKS is the only supported type as of now.
659 660 661 |
# File 'emr_containers/cfn_virtual_cluster.rb', line 659 def type @type end |
Class Method Details
.jsii_properties ⇒ Object
661 662 663 664 665 666 667 |
# File 'emr_containers/cfn_virtual_cluster.rb', line 661 def self.jsii_properties { :id => "id", :info => "info", :type => "type", } end |
Instance Method Details
#to_jsii ⇒ Object
669 670 671 672 673 674 675 676 677 |
# File 'emr_containers/cfn_virtual_cluster.rb', line 669 def to_jsii result = {} result.merge!({ "id" => @id, "info" => @info, "type" => @type, }) result.compact end |