Class: AWSCDK::EKS::CfnCluster::AccessConfigProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::EKS::CfnCluster::AccessConfigProperty
- Defined in:
- eks/cfn_cluster.rb
Overview
The access configuration for the cluster.
Instance Attribute Summary collapse
-
#authentication_mode ⇒ String?
readonly
The desired authentication mode for the cluster.
-
#bootstrap_cluster_creator_admin_permissions ⇒ Boolean, ...
readonly
Specifies whether or not the cluster creator IAM principal was set as a cluster admin access entry during cluster creation time.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(authentication_mode: nil, bootstrap_cluster_creator_admin_permissions: nil) ⇒ AccessConfigProperty
constructor
A new instance of AccessConfigProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(authentication_mode: nil, bootstrap_cluster_creator_admin_permissions: nil) ⇒ AccessConfigProperty
Returns a new instance of AccessConfigProperty.
867 868 869 870 871 872 |
# File 'eks/cfn_cluster.rb', line 867 def initialize(authentication_mode: nil, bootstrap_cluster_creator_admin_permissions: nil) @authentication_mode = authentication_mode Jsii::Type.check_type(@authentication_mode, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "authenticationMode") unless @authentication_mode.nil? @bootstrap_cluster_creator_admin_permissions = Jsii::Type.check_type(@bootstrap_cluster_creator_admin_permissions, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "bootstrapClusterCreatorAdminPermissions") unless @bootstrap_cluster_creator_admin_permissions.nil? end |
Instance Attribute Details
#authentication_mode ⇒ String? (readonly)
The desired authentication mode for the cluster.
If you create a cluster by using the EKS API, AWS SDKs, or AWS CloudFormation , the default is CONFIG_MAP . If you create the cluster by using the AWS Management Console , the default value is API_AND_CONFIG_MAP .
880 881 882 |
# File 'eks/cfn_cluster.rb', line 880 def authentication_mode @authentication_mode end |
#bootstrap_cluster_creator_admin_permissions ⇒ Boolean, ... (readonly)
Specifies whether or not the cluster creator IAM principal was set as a cluster admin access entry during cluster creation time.
The default value is true .
887 888 889 |
# File 'eks/cfn_cluster.rb', line 887 def @bootstrap_cluster_creator_admin_permissions end |
Class Method Details
.jsii_properties ⇒ Object
889 890 891 892 893 894 |
# File 'eks/cfn_cluster.rb', line 889 def self.jsii_properties { :authentication_mode => "authenticationMode", :bootstrap_cluster_creator_admin_permissions => "bootstrapClusterCreatorAdminPermissions", } end |
Instance Method Details
#to_jsii ⇒ Object
896 897 898 899 900 901 902 903 |
# File 'eks/cfn_cluster.rb', line 896 def to_jsii result = {} result.merge!({ "authenticationMode" => @authentication_mode, "bootstrapClusterCreatorAdminPermissions" => @bootstrap_cluster_creator_admin_permissions, }) result.compact end |