Class: AWSCDK::Bedrock::CfnFlowVersionProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Bedrock::CfnFlowVersionProps
- Defined in:
- bedrock/cfn_flow_version_props.rb
Overview
Properties for defining a CfnFlowVersion.
Instance Attribute Summary collapse
-
#description ⇒ String?
readonly
The description of the flow version.
-
#flow_arn ⇒ String
readonly
The Amazon Resource Name (ARN) of the flow that the version belongs to.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(flow_arn:, description: nil) ⇒ CfnFlowVersionProps
constructor
A new instance of CfnFlowVersionProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(flow_arn:, description: nil) ⇒ CfnFlowVersionProps
Returns a new instance of CfnFlowVersionProps.
11 12 13 14 15 16 |
# File 'bedrock/cfn_flow_version_props.rb', line 11 def initialize(flow_arn:, description: nil) @flow_arn = flow_arn Jsii::Type.check_type(@flow_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "flowArn") @description = description Jsii::Type.check_type(@description, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "description") unless @description.nil? end |
Instance Attribute Details
#description ⇒ String? (readonly)
The description of the flow version.
27 28 29 |
# File 'bedrock/cfn_flow_version_props.rb', line 27 def description @description end |
#flow_arn ⇒ String (readonly)
The Amazon Resource Name (ARN) of the flow that the version belongs to.
22 23 24 |
# File 'bedrock/cfn_flow_version_props.rb', line 22 def flow_arn @flow_arn end |
Class Method Details
.jsii_properties ⇒ Object
29 30 31 32 33 34 |
# File 'bedrock/cfn_flow_version_props.rb', line 29 def self.jsii_properties { :flow_arn => "flowArn", :description => "description", } end |
Instance Method Details
#to_jsii ⇒ Object
36 37 38 39 40 41 42 43 |
# File 'bedrock/cfn_flow_version_props.rb', line 36 def to_jsii result = {} result.merge!({ "flowArn" => @flow_arn, "description" => @description, }) result.compact end |