Class: AWSCDK::S3Outposts::CfnEndpoint::FailedReasonProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::S3Outposts::CfnEndpoint::FailedReasonProperty
- Defined in:
- s3_outposts/cfn_endpoint.rb
Overview
The failure reason, if any, for a create or delete endpoint operation.
Instance Attribute Summary collapse
-
#error_code ⇒ String?
readonly
The failure code, if any, for a create or delete endpoint operation.
-
#message ⇒ String?
readonly
Additional error details describing the endpoint failure and recommended action.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(error_code: nil, message: nil) ⇒ FailedReasonProperty
constructor
A new instance of FailedReasonProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(error_code: nil, message: nil) ⇒ FailedReasonProperty
Returns a new instance of FailedReasonProperty.
618 619 620 621 622 623 |
# File 's3_outposts/cfn_endpoint.rb', line 618 def initialize(error_code: nil, message: nil) @error_code = error_code Jsii::Type.check_type(@error_code, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "errorCode") unless @error_code.nil? @message = Jsii::Type.check_type(@message, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "message") unless @message.nil? end |
Instance Attribute Details
#error_code ⇒ String? (readonly)
The failure code, if any, for a create or delete endpoint operation.
629 630 631 |
# File 's3_outposts/cfn_endpoint.rb', line 629 def error_code @error_code end |
#message ⇒ String? (readonly)
Additional error details describing the endpoint failure and recommended action.
634 635 636 |
# File 's3_outposts/cfn_endpoint.rb', line 634 def @message end |
Class Method Details
.jsii_properties ⇒ Object
636 637 638 639 640 641 |
# File 's3_outposts/cfn_endpoint.rb', line 636 def self.jsii_properties { :error_code => "errorCode", :message => "message", } end |
Instance Method Details
#to_jsii ⇒ Object
643 644 645 646 647 648 649 650 |
# File 's3_outposts/cfn_endpoint.rb', line 643 def to_jsii result = {} result.merge!({ "errorCode" => @error_code, "message" => @message, }) result.compact end |