Class: AWSCDK::ResilienceHubv2::CfnService::EKSSourceProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::ResilienceHubv2::CfnService::EKSSourceProperty
- Defined in:
- resilience_hubv2/cfn_service.rb
Overview
Instance Attribute Summary collapse
-
#cluster_arn ⇒ String
readonly
ARN of the EKS cluster.
-
#namespaces ⇒ Array<String>
readonly
EKS namespaces.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(cluster_arn:, namespaces:) ⇒ EKSSourceProperty
constructor
A new instance of EKSSourceProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(cluster_arn:, namespaces:) ⇒ EKSSourceProperty
Returns a new instance of EKSSourceProperty.
914 915 916 917 918 919 |
# File 'resilience_hubv2/cfn_service.rb', line 914 def initialize(cluster_arn:, namespaces:) @cluster_arn = cluster_arn Jsii::Type.check_type(@cluster_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "clusterArn") @namespaces = namespaces Jsii::Type.check_type(@namespaces, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "namespaces") end |
Instance Attribute Details
#cluster_arn ⇒ String (readonly)
ARN of the EKS cluster.
925 926 927 |
# File 'resilience_hubv2/cfn_service.rb', line 925 def cluster_arn @cluster_arn end |
#namespaces ⇒ Array<String> (readonly)
EKS namespaces.
930 931 932 |
# File 'resilience_hubv2/cfn_service.rb', line 930 def namespaces @namespaces end |
Class Method Details
.jsii_properties ⇒ Object
932 933 934 935 936 937 |
# File 'resilience_hubv2/cfn_service.rb', line 932 def self.jsii_properties { :cluster_arn => "clusterArn", :namespaces => "namespaces", } end |
Instance Method Details
#to_jsii ⇒ Object
939 940 941 942 943 944 945 946 |
# File 'resilience_hubv2/cfn_service.rb', line 939 def to_jsii result = {} result.merge!({ "clusterArn" => @cluster_arn, "namespaces" => @namespaces, }) result.compact end |