Class: AWSCDK::IAM::CfnOIDCProviderProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::IAM::CfnOIDCProviderProps
- Defined in:
- iam/cfn_oidc_provider_props.rb
Overview
Properties for defining a CfnOIDCProvider.
Instance Attribute Summary collapse
-
#client_id_list ⇒ Array<String>?
readonly
A list of client IDs (also known as audiences) that are associated with the specified IAM OIDC provider resource object.
-
#tags ⇒ Array<AWSCDK::CfnTag>?
readonly
A list of tags that are attached to the specified IAM OIDC provider.
-
#thumbprint_list ⇒ Array<String>?
readonly
A list of certificate thumbprints that are associated with the specified IAM OIDC provider resource object.
-
#url ⇒ String?
readonly
The URL that the IAM OIDC provider resource object is associated with.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(client_id_list: nil, tags: nil, thumbprint_list: nil, url: nil) ⇒ CfnOIDCProviderProps
constructor
A new instance of CfnOIDCProviderProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(client_id_list: nil, tags: nil, thumbprint_list: nil, url: nil) ⇒ CfnOIDCProviderProps
Returns a new instance of CfnOIDCProviderProps.
13 14 15 16 17 18 19 20 21 22 |
# File 'iam/cfn_oidc_provider_props.rb', line 13 def initialize(client_id_list: nil, tags: nil, thumbprint_list: nil, url: nil) @client_id_list = client_id_list Jsii::Type.check_type(@client_id_list, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "clientIdList") unless @client_id_list.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? @thumbprint_list = thumbprint_list Jsii::Type.check_type(@thumbprint_list, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "thumbprintList") unless @thumbprint_list.nil? @url = url Jsii::Type.check_type(@url, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "url") unless @url.nil? end |
Instance Attribute Details
#client_id_list ⇒ Array<String>? (readonly)
A list of client IDs (also known as audiences) that are associated with the specified IAM OIDC provider resource object.
For more information, see CreateOpenIDConnectProvider .
30 31 32 |
# File 'iam/cfn_oidc_provider_props.rb', line 30 def client_id_list @client_id_list end |
#tags ⇒ Array<AWSCDK::CfnTag>? (readonly)
A list of tags that are attached to the specified IAM OIDC provider.
The returned list of tags is sorted by tag key. For more information about tagging, see Tagging IAM resources in the IAM User Guide .
37 38 39 |
# File 'iam/cfn_oidc_provider_props.rb', line 37 def @tags end |
#thumbprint_list ⇒ Array<String>? (readonly)
A list of certificate thumbprints that are associated with the specified IAM OIDC provider resource object.
For more information, see CreateOpenIDConnectProvider .
This property is optional. If it is not included, IAM will retrieve and use the top intermediate certificate authority (CA) thumbprint of the OpenID Connect identity provider server certificate.
46 47 48 |
# File 'iam/cfn_oidc_provider_props.rb', line 46 def thumbprint_list @thumbprint_list end |
#url ⇒ String? (readonly)
The URL that the IAM OIDC provider resource object is associated with.
For more information, see CreateOpenIDConnectProvider .
53 54 55 |
# File 'iam/cfn_oidc_provider_props.rb', line 53 def url @url end |
Class Method Details
.jsii_properties ⇒ Object
55 56 57 58 59 60 61 62 |
# File 'iam/cfn_oidc_provider_props.rb', line 55 def self.jsii_properties { :client_id_list => "clientIdList", :tags => "tags", :thumbprint_list => "thumbprintList", :url => "url", } end |
Instance Method Details
#to_jsii ⇒ Object
64 65 66 67 68 69 70 71 72 73 |
# File 'iam/cfn_oidc_provider_props.rb', line 64 def to_jsii result = {} result.merge!({ "clientIdList" => @client_id_list, "tags" => @tags, "thumbprintList" => @thumbprint_list, "url" => @url, }) result.compact end |