Class: AWSCDK::SecurityAgent::CfnPentest::AuthenticationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::SecurityAgent::CfnPentest::AuthenticationProperty
- Defined in:
- security_agent/cfn_pentest.rb
Overview
Authentication configuration for a pentest actor.
Instance Attribute Summary collapse
-
#provider_type ⇒ String?
readonly
Type of authentication provider.
-
#value ⇒ String?
readonly
Reference value for the authentication provider, such as a secret ARN or Lambda ARN.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(provider_type: nil, value: nil) ⇒ AuthenticationProperty
constructor
A new instance of AuthenticationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(provider_type: nil, value: nil) ⇒ AuthenticationProperty
Returns a new instance of AuthenticationProperty.
761 762 763 764 765 766 |
# File 'security_agent/cfn_pentest.rb', line 761 def initialize(provider_type: nil, value: nil) @provider_type = provider_type Jsii::Type.check_type(@provider_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "providerType") unless @provider_type.nil? @value = value Jsii::Type.check_type(@value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "value") unless @value.nil? end |
Instance Attribute Details
#provider_type ⇒ String? (readonly)
Type of authentication provider.
772 773 774 |
# File 'security_agent/cfn_pentest.rb', line 772 def provider_type @provider_type end |
#value ⇒ String? (readonly)
Reference value for the authentication provider, such as a secret ARN or Lambda ARN.
777 778 779 |
# File 'security_agent/cfn_pentest.rb', line 777 def value @value end |
Class Method Details
.jsii_properties ⇒ Object
779 780 781 782 783 784 |
# File 'security_agent/cfn_pentest.rb', line 779 def self.jsii_properties { :provider_type => "providerType", :value => "value", } end |
Instance Method Details
#to_jsii ⇒ Object
786 787 788 789 790 791 792 793 |
# File 'security_agent/cfn_pentest.rb', line 786 def to_jsii result = {} result.merge!({ "providerType" => @provider_type, "value" => @value, }) result.compact end |