Class: AWSCDK::SecurityAgent::CfnPentest::EndpointProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::SecurityAgent::CfnPentest::EndpointProperty
- Defined in:
- security_agent/cfn_pentest.rb
Overview
An endpoint to be tested during the pentest.
Instance Attribute Summary collapse
-
#uri ⇒ String?
readonly
URI of the endpoint to test.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(uri: nil) ⇒ EndpointProperty
constructor
A new instance of EndpointProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(uri: nil) ⇒ EndpointProperty
Returns a new instance of EndpointProperty.
932 933 934 935 |
# File 'security_agent/cfn_pentest.rb', line 932 def initialize(uri: nil) @uri = uri Jsii::Type.check_type(@uri, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "uri") unless @uri.nil? end |
Instance Attribute Details
#uri ⇒ String? (readonly)
URI of the endpoint to test.
941 942 943 |
# File 'security_agent/cfn_pentest.rb', line 941 def uri @uri end |
Class Method Details
.jsii_properties ⇒ Object
943 944 945 946 947 |
# File 'security_agent/cfn_pentest.rb', line 943 def self.jsii_properties { :uri => "uri", } end |
Instance Method Details
#to_jsii ⇒ Object
949 950 951 952 953 954 955 |
# File 'security_agent/cfn_pentest.rb', line 949 def to_jsii result = {} result.merge!({ "uri" => @uri, }) result.compact end |