Class: AWSCDK::EKS::CfnIdentityProviderConfigProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::EKS::CfnIdentityProviderConfigProps
- Defined in:
- eks/cfn_identity_provider_config_props.rb
Overview
Properties for defining a CfnIdentityProviderConfig.
Instance Attribute Summary collapse
-
#cluster_name ⇒ String
readonly
The name of your cluster.
-
#identity_provider_config_name ⇒ String?
readonly
The name of the configuration.
-
#oidc ⇒ AWSCDK::IResolvable, ...
readonly
An object representing an OpenID Connect (OIDC) identity provider configuration.
-
#tags ⇒ Array<AWSCDK::CfnTag>?
readonly
Metadata that assists with categorization and organization.
-
#type ⇒ String
readonly
The type of the identity provider configuration.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(cluster_name:, type:, identity_provider_config_name: nil, oidc: nil, tags: nil) ⇒ CfnIdentityProviderConfigProps
constructor
A new instance of CfnIdentityProviderConfigProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(cluster_name:, type:, identity_provider_config_name: nil, oidc: nil, tags: nil) ⇒ CfnIdentityProviderConfigProps
Returns a new instance of CfnIdentityProviderConfigProps.
14 15 16 17 18 19 20 21 22 23 24 25 |
# File 'eks/cfn_identity_provider_config_props.rb', line 14 def initialize(cluster_name:, type:, identity_provider_config_name: nil, oidc: nil, tags: nil) @cluster_name = cluster_name Jsii::Type.check_type(@cluster_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "clusterName") @type = type Jsii::Type.check_type(@type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "type") @identity_provider_config_name = identity_provider_config_name Jsii::Type.check_type(@identity_provider_config_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "identityProviderConfigName") unless @identity_provider_config_name.nil? @oidc = oidc.is_a?(Hash) ? ::AWSCDK::EKS::CfnIdentityProviderConfig::OidcIdentityProviderConfigProperty.new(**oidc.transform_keys(&:to_sym)) : oidc Jsii::Type.check_type(@oidc, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19la3MuQ2ZuSWRlbnRpdHlQcm92aWRlckNvbmZpZy5PaWRjSWRlbnRpdHlQcm92aWRlckNvbmZpZ1Byb3BlcnR5In1dfX0=")), "oidc") unless @oidc.nil? @tags = .is_a?(Array) ? .map { |jsii_v0| jsii_v0.is_a?(Hash) ? ::AWSCDK::CfnTag.new(**jsii_v0.transform_keys(&:to_sym)) : jsii_v0 } : Jsii::Type.check_type(@tags, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7ImZxbiI6ImF3cy1jZGstbGliLkNmblRhZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "tags") unless @tags.nil? end |
Instance Attribute Details
#cluster_name ⇒ String (readonly)
The name of your cluster.
31 32 33 |
# File 'eks/cfn_identity_provider_config_props.rb', line 31 def cluster_name @cluster_name end |
#identity_provider_config_name ⇒ String? (readonly)
The name of the configuration.
43 44 45 |
# File 'eks/cfn_identity_provider_config_props.rb', line 43 def identity_provider_config_name @identity_provider_config_name end |
#oidc ⇒ AWSCDK::IResolvable, ... (readonly)
An object representing an OpenID Connect (OIDC) identity provider configuration.
48 49 50 |
# File 'eks/cfn_identity_provider_config_props.rb', line 48 def oidc @oidc end |
#tags ⇒ Array<AWSCDK::CfnTag>? (readonly)
Metadata that assists with categorization and organization.
Each tag consists of a key and an optional value. You define both. Tags don't propagate to any other cluster or AWS resources.
55 56 57 |
# File 'eks/cfn_identity_provider_config_props.rb', line 55 def @tags end |
#type ⇒ String (readonly)
The type of the identity provider configuration.
The only type available is oidc .
38 39 40 |
# File 'eks/cfn_identity_provider_config_props.rb', line 38 def type @type end |
Class Method Details
.jsii_properties ⇒ Object
57 58 59 60 61 62 63 64 65 |
# File 'eks/cfn_identity_provider_config_props.rb', line 57 def self.jsii_properties { :cluster_name => "clusterName", :type => "type", :identity_provider_config_name => "identityProviderConfigName", :oidc => "oidc", :tags => "tags", } end |
Instance Method Details
#to_jsii ⇒ Object
67 68 69 70 71 72 73 74 75 76 77 |
# File 'eks/cfn_identity_provider_config_props.rb', line 67 def to_jsii result = {} result.merge!({ "clusterName" => @cluster_name, "type" => @type, "identityProviderConfigName" => @identity_provider_config_name, "oidc" => @oidc, "tags" => @tags, }) result.compact end |