Class: AWSCDK::Connect::CfnViewVersionProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Connect::CfnViewVersionProps
- Defined in:
- connect/cfn_view_version_props.rb
Overview
Properties for defining a CfnViewVersion.
Instance Attribute Summary collapse
-
#version_description ⇒ String?
readonly
The description of the view version.
-
#view_arn ⇒ String, AWSCDK::Interfaces::AWSConnect::IViewRef
readonly
The unqualified Amazon Resource Name (ARN) of the view.
-
#view_content_sha256 ⇒ String?
readonly
Indicates the checksum value of the latest published view content.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(view_arn:, version_description: nil, view_content_sha256: nil) ⇒ CfnViewVersionProps
constructor
A new instance of CfnViewVersionProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(view_arn:, version_description: nil, view_content_sha256: nil) ⇒ CfnViewVersionProps
Returns a new instance of CfnViewVersionProps.
12 13 14 15 16 17 18 19 |
# File 'connect/cfn_view_version_props.rb', line 12 def initialize(view_arn:, version_description: nil, view_content_sha256: nil) @view_arn = view_arn Jsii::Type.check_type(@view_arn, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoic3RyaW5nIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5pbnRlcmZhY2VzLmF3c19jb25uZWN0LklWaWV3UmVmIn1dfX0=")), "viewArn") @version_description = version_description Jsii::Type.check_type(@version_description, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "versionDescription") unless @version_description.nil? @view_content_sha256 = view_content_sha256 Jsii::Type.check_type(@view_content_sha256, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "viewContentSha256") unless @view_content_sha256.nil? end |
Instance Attribute Details
#version_description ⇒ String? (readonly)
The description of the view version.
34 35 36 |
# File 'connect/cfn_view_version_props.rb', line 34 def version_description @version_description end |
#view_arn ⇒ String, AWSCDK::Interfaces::AWSConnect::IViewRef (readonly)
The unqualified Amazon Resource Name (ARN) of the view.
For example:
arn:<partition>:connect:<region>:<accountId>:instance/00000000-0000-0000-0000-000000000000/view/00000000-0000-0000-0000-000000000000
29 30 31 |
# File 'connect/cfn_view_version_props.rb', line 29 def view_arn @view_arn end |
#view_content_sha256 ⇒ String? (readonly)
Indicates the checksum value of the latest published view content.
39 40 41 |
# File 'connect/cfn_view_version_props.rb', line 39 def view_content_sha256 @view_content_sha256 end |
Class Method Details
.jsii_properties ⇒ Object
41 42 43 44 45 46 47 |
# File 'connect/cfn_view_version_props.rb', line 41 def self.jsii_properties { :view_arn => "viewArn", :version_description => "versionDescription", :view_content_sha256 => "viewContentSha256", } end |
Instance Method Details
#to_jsii ⇒ Object
49 50 51 52 53 54 55 56 57 |
# File 'connect/cfn_view_version_props.rb', line 49 def to_jsii result = {} result.merge!({ "viewArn" => @view_arn, "versionDescription" => @version_description, "viewContentSha256" => @view_content_sha256, }) result.compact end |