Class: AWSCDK::EKS::OidcProviderNativeProps
- Inherits:
-
OpenIdConnectProviderProps
- Object
- OpenIdConnectProviderProps
- AWSCDK::EKS::OidcProviderNativeProps
- Defined in:
- eks/oidc_provider_native_props.rb
Overview
Initialization properties for OidcProviderNative.
Instance Attribute Summary collapse
-
#removal_policy ⇒ AWSCDK::RemovalPolicy?
readonly
The removal policy to apply to the OpenID Connect Provider.
-
#url ⇒ String
readonly
The URL of the identity provider.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(url:, removal_policy: nil) ⇒ OidcProviderNativeProps
constructor
A new instance of OidcProviderNativeProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(url:, removal_policy: nil) ⇒ OidcProviderNativeProps
Returns a new instance of OidcProviderNativeProps.
9 10 11 12 13 14 |
# File 'eks/oidc_provider_native_props.rb', line 9 def initialize(url:, removal_policy: nil) @url = url Jsii::Type.check_type(@url, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "url") @removal_policy = removal_policy Jsii::Type.check_type(@removal_policy, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5SZW1vdmFsUG9saWN5In0=")), "removalPolicy") unless @removal_policy.nil? end |
Instance Attribute Details
#removal_policy ⇒ AWSCDK::RemovalPolicy? (readonly)
Default: - RemovalPolicy.DESTROY
The removal policy to apply to the OpenID Connect Provider.
33 34 35 |
# File 'eks/oidc_provider_native_props.rb', line 33 def removal_policy @removal_policy end |
#url ⇒ String (readonly)
The URL of the identity provider.
The URL must begin with https:// and should correspond to the iss claim in the provider's OpenID Connect ID tokens. Per the OIDC standard, path components are allowed but query parameters are not. Typically the URL consists of only a hostname, like https://server.example.org or https://example.com.
You can find your OIDC Issuer URL by: aws eks describe-cluster --name %cluster_name% --query "cluster.identity.oidc.issuer" --output text
28 29 30 |
# File 'eks/oidc_provider_native_props.rb', line 28 def url @url end |
Class Method Details
.jsii_properties ⇒ Object
35 36 37 38 39 40 |
# File 'eks/oidc_provider_native_props.rb', line 35 def self.jsii_properties { :url => "url", :removal_policy => "removalPolicy", } end |
Instance Method Details
#to_jsii ⇒ Object
42 43 44 45 46 47 48 49 50 |
# File 'eks/oidc_provider_native_props.rb', line 42 def to_jsii result = {} result.merge!(super) result.merge!({ "url" => @url, "removalPolicy" => @removal_policy, }) result.compact end |