Class: AWSCDK::DevOpsAgent::CfnService::GitLabDetailsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::DevOpsAgent::CfnService::GitLabDetailsProperty
- Defined in:
- dev_ops_agent/cfn_service.rb
Overview
GitLab service configuration.
Instance Attribute Summary collapse
-
#group_id ⇒ String?
readonly
Optional GitLab group ID for group-level access tokens.
-
#target_url ⇒ String
readonly
GitLab instance URL.
-
#token_type ⇒ String
readonly
Type of GitLab access token.
-
#token_value ⇒ String
readonly
GitLab access token value.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(target_url:, token_type:, token_value:, group_id: nil) ⇒ GitLabDetailsProperty
constructor
A new instance of GitLabDetailsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(target_url:, token_type:, token_value:, group_id: nil) ⇒ GitLabDetailsProperty
Returns a new instance of GitLabDetailsProperty.
977 978 979 980 981 982 983 984 985 986 |
# File 'dev_ops_agent/cfn_service.rb', line 977 def initialize(target_url:, token_type:, token_value:, group_id: nil) @target_url = target_url Jsii::Type.check_type(@target_url, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "targetUrl") @token_type = token_type Jsii::Type.check_type(@token_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "tokenType") @token_value = token_value Jsii::Type.check_type(@token_value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "tokenValue") @group_id = group_id Jsii::Type.check_type(@group_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "groupId") unless @group_id.nil? end |
Instance Attribute Details
#group_id ⇒ String? (readonly)
Optional GitLab group ID for group-level access tokens.
1007 1008 1009 |
# File 'dev_ops_agent/cfn_service.rb', line 1007 def group_id @group_id end |
#target_url ⇒ String (readonly)
GitLab instance URL.
992 993 994 |
# File 'dev_ops_agent/cfn_service.rb', line 992 def target_url @target_url end |
#token_type ⇒ String (readonly)
Type of GitLab access token.
997 998 999 |
# File 'dev_ops_agent/cfn_service.rb', line 997 def token_type @token_type end |
#token_value ⇒ String (readonly)
GitLab access token value.
1002 1003 1004 |
# File 'dev_ops_agent/cfn_service.rb', line 1002 def token_value @token_value end |
Class Method Details
.jsii_properties ⇒ Object
1009 1010 1011 1012 1013 1014 1015 1016 |
# File 'dev_ops_agent/cfn_service.rb', line 1009 def self.jsii_properties { :target_url => "targetUrl", :token_type => "tokenType", :token_value => "tokenValue", :group_id => "groupId", } end |
Instance Method Details
#to_jsii ⇒ Object
1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 |
# File 'dev_ops_agent/cfn_service.rb', line 1018 def to_jsii result = {} result.merge!({ "targetUrl" => @target_url, "tokenType" => @token_type, "tokenValue" => @token_value, "groupId" => @group_id, }) result.compact end |