Class: AWSCDK::Interfaces::AWSQbusiness::WebExperienceReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSQbusiness::WebExperienceReference
- Defined in:
- interfaces/aws_qbusiness/web_experience_reference.rb
Overview
A reference to a WebExperience resource.
Instance Attribute Summary collapse
-
#application_id ⇒ String
readonly
The ApplicationId of the WebExperience resource.
-
#web_experience_arn ⇒ String
readonly
The ARN of the WebExperience resource.
-
#web_experience_id ⇒ String
readonly
The WebExperienceId of the WebExperience resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(application_id:, web_experience_arn:, web_experience_id:) ⇒ WebExperienceReference
constructor
A new instance of WebExperienceReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(application_id:, web_experience_arn:, web_experience_id:) ⇒ WebExperienceReference
Returns a new instance of WebExperienceReference.
10 11 12 13 14 15 16 17 |
# File 'interfaces/aws_qbusiness/web_experience_reference.rb', line 10 def initialize(application_id:, web_experience_arn:, web_experience_id:) @application_id = application_id Jsii::Type.check_type(@application_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "applicationId") @web_experience_arn = web_experience_arn Jsii::Type.check_type(@web_experience_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "webExperienceArn") @web_experience_id = web_experience_id Jsii::Type.check_type(@web_experience_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "webExperienceId") end |
Instance Attribute Details
#application_id ⇒ String (readonly)
The ApplicationId of the WebExperience resource.
22 23 24 |
# File 'interfaces/aws_qbusiness/web_experience_reference.rb', line 22 def application_id @application_id end |
#web_experience_arn ⇒ String (readonly)
The ARN of the WebExperience resource.
26 27 28 |
# File 'interfaces/aws_qbusiness/web_experience_reference.rb', line 26 def web_experience_arn @web_experience_arn end |
#web_experience_id ⇒ String (readonly)
The WebExperienceId of the WebExperience resource.
30 31 32 |
# File 'interfaces/aws_qbusiness/web_experience_reference.rb', line 30 def web_experience_id @web_experience_id end |
Class Method Details
.jsii_properties ⇒ Object
32 33 34 35 36 37 38 |
# File 'interfaces/aws_qbusiness/web_experience_reference.rb', line 32 def self.jsii_properties { :application_id => "applicationId", :web_experience_arn => "webExperienceArn", :web_experience_id => "webExperienceId", } end |
Instance Method Details
#to_jsii ⇒ Object
40 41 42 43 44 45 46 47 48 |
# File 'interfaces/aws_qbusiness/web_experience_reference.rb', line 40 def to_jsii result = {} result.merge!({ "applicationId" => @application_id, "webExperienceArn" => @web_experience_arn, "webExperienceId" => @web_experience_id, }) result.compact end |