Class: AWSCDK::Interfaces::AWSEKS::FargateProfileReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSEKS::FargateProfileReference
- Defined in:
- interfaces/awseks/fargate_profile_reference.rb
Overview
A reference to a FargateProfile resource.
Instance Attribute Summary collapse
-
#cluster_name ⇒ String
readonly
The ClusterName of the FargateProfile resource.
-
#fargate_profile_arn ⇒ String
readonly
The ARN of the FargateProfile resource.
-
#fargate_profile_name ⇒ String
readonly
The FargateProfileName of the FargateProfile resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(cluster_name:, fargate_profile_arn:, fargate_profile_name:) ⇒ FargateProfileReference
constructor
A new instance of FargateProfileReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(cluster_name:, fargate_profile_arn:, fargate_profile_name:) ⇒ FargateProfileReference
Returns a new instance of FargateProfileReference.
10 11 12 13 14 15 16 17 |
# File 'interfaces/awseks/fargate_profile_reference.rb', line 10 def initialize(cluster_name:, fargate_profile_arn:, fargate_profile_name:) @cluster_name = cluster_name Jsii::Type.check_type(@cluster_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "clusterName") @fargate_profile_arn = fargate_profile_arn Jsii::Type.check_type(@fargate_profile_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "fargateProfileArn") @fargate_profile_name = fargate_profile_name Jsii::Type.check_type(@fargate_profile_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "fargateProfileName") end |
Instance Attribute Details
#cluster_name ⇒ String (readonly)
The ClusterName of the FargateProfile resource.
22 23 24 |
# File 'interfaces/awseks/fargate_profile_reference.rb', line 22 def cluster_name @cluster_name end |
#fargate_profile_arn ⇒ String (readonly)
The ARN of the FargateProfile resource.
26 27 28 |
# File 'interfaces/awseks/fargate_profile_reference.rb', line 26 def fargate_profile_arn @fargate_profile_arn end |
#fargate_profile_name ⇒ String (readonly)
The FargateProfileName of the FargateProfile resource.
30 31 32 |
# File 'interfaces/awseks/fargate_profile_reference.rb', line 30 def fargate_profile_name @fargate_profile_name end |
Class Method Details
.jsii_properties ⇒ Object
32 33 34 35 36 37 38 |
# File 'interfaces/awseks/fargate_profile_reference.rb', line 32 def self.jsii_properties { :cluster_name => "clusterName", :fargate_profile_arn => "fargateProfileArn", :fargate_profile_name => "fargateProfileName", } end |
Instance Method Details
#to_jsii ⇒ Object
40 41 42 43 44 45 46 47 48 |
# File 'interfaces/awseks/fargate_profile_reference.rb', line 40 def to_jsii result = {} result.merge!({ "clusterName" => @cluster_name, "fargateProfileArn" => @fargate_profile_arn, "fargateProfileName" => @fargate_profile_name, }) result.compact end |