Class: AWSCDK::DevOpsAgent::CfnService::AzureIdentityServiceDetailsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::DevOpsAgent::CfnService::AzureIdentityServiceDetailsProperty
- Defined in:
- dev_ops_agent/cfn_service.rb
Overview
Azure Identity service configuration for federated identity.
Instance Attribute Summary collapse
-
#client_id ⇒ String
readonly
Azure AD application client ID.
-
#tenant_id ⇒ String
readonly
Azure AD tenant ID.
-
#web_identity_role_arn ⇒ String
readonly
ARN of the IAM role for web identity token exchange.
-
#web_identity_token_audiences ⇒ Array<String>
readonly
List of audiences for the web identity token.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(client_id:, tenant_id:, web_identity_role_arn:, web_identity_token_audiences:) ⇒ AzureIdentityServiceDetailsProperty
constructor
A new instance of AzureIdentityServiceDetailsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(client_id:, tenant_id:, web_identity_role_arn:, web_identity_token_audiences:) ⇒ AzureIdentityServiceDetailsProperty
Returns a new instance of AzureIdentityServiceDetailsProperty.
784 785 786 787 788 789 790 791 792 793 |
# File 'dev_ops_agent/cfn_service.rb', line 784 def initialize(client_id:, tenant_id:, web_identity_role_arn:, web_identity_token_audiences:) @client_id = client_id Jsii::Type.check_type(@client_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "clientId") @tenant_id = tenant_id Jsii::Type.check_type(@tenant_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "tenantId") @web_identity_role_arn = web_identity_role_arn Jsii::Type.check_type(@web_identity_role_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "webIdentityRoleArn") @web_identity_token_audiences = web_identity_token_audiences Jsii::Type.check_type(@web_identity_token_audiences, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "webIdentityTokenAudiences") end |
Instance Attribute Details
#client_id ⇒ String (readonly)
Azure AD application client ID.
799 800 801 |
# File 'dev_ops_agent/cfn_service.rb', line 799 def client_id @client_id end |
#tenant_id ⇒ String (readonly)
Azure AD tenant ID.
804 805 806 |
# File 'dev_ops_agent/cfn_service.rb', line 804 def tenant_id @tenant_id end |
#web_identity_role_arn ⇒ String (readonly)
ARN of the IAM role for web identity token exchange.
809 810 811 |
# File 'dev_ops_agent/cfn_service.rb', line 809 def web_identity_role_arn @web_identity_role_arn end |
#web_identity_token_audiences ⇒ Array<String> (readonly)
List of audiences for the web identity token.
814 815 816 |
# File 'dev_ops_agent/cfn_service.rb', line 814 def web_identity_token_audiences @web_identity_token_audiences end |
Class Method Details
.jsii_properties ⇒ Object
816 817 818 819 820 821 822 823 |
# File 'dev_ops_agent/cfn_service.rb', line 816 def self.jsii_properties { :client_id => "clientId", :tenant_id => "tenantId", :web_identity_role_arn => "webIdentityRoleArn", :web_identity_token_audiences => "webIdentityTokenAudiences", } end |
Instance Method Details
#to_jsii ⇒ Object
825 826 827 828 829 830 831 832 833 834 |
# File 'dev_ops_agent/cfn_service.rb', line 825 def to_jsii result = {} result.merge!({ "clientId" => @client_id, "tenantId" => @tenant_id, "webIdentityRoleArn" => @web_identity_role_arn, "webIdentityTokenAudiences" => @web_identity_token_audiences, }) result.compact end |