Class: AWSCDK::Bedrock::CfnFlowAliasProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Bedrock::CfnFlowAliasProps
- Defined in:
- bedrock/cfn_flow_alias_props.rb
Overview
Properties for defining a CfnFlowAlias.
Instance Attribute Summary collapse
-
#concurrency_configuration ⇒ AWSCDK::IResolvable, ...
readonly
The configuration that specifies how nodes in the flow are executed concurrently.
-
#description ⇒ String?
readonly
A description of the alias.
-
#flow_arn ⇒ String
readonly
The Amazon Resource Name (ARN) of the alias.
-
#name ⇒ String
readonly
The name of the alias.
-
#routing_configuration ⇒ AWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::Bedrock::CfnFlowAlias::FlowAliasRoutingConfigurationListItemProperty>
readonly
A list of configurations about the versions that the alias maps to.
-
#tags ⇒ Hash{String => String}?
readonly
Metadata that you can assign to a resource as key-value pairs.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(flow_arn:, name:, routing_configuration:, concurrency_configuration: nil, description: nil, tags: nil) ⇒ CfnFlowAliasProps
constructor
A new instance of CfnFlowAliasProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(flow_arn:, name:, routing_configuration:, concurrency_configuration: nil, description: nil, tags: nil) ⇒ CfnFlowAliasProps
Returns a new instance of CfnFlowAliasProps.
15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
# File 'bedrock/cfn_flow_alias_props.rb', line 15 def initialize(flow_arn:, name:, routing_configuration:, concurrency_configuration: nil, description: nil, tags: nil) @flow_arn = flow_arn Jsii::Type.check_type(@flow_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "flowArn") @name = name Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") @routing_configuration = routing_configuration Jsii::Type.check_type(@routing_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfYmVkcm9jay5DZm5GbG93QWxpYXMuRmxvd0FsaWFzUm91dGluZ0NvbmZpZ3VyYXRpb25MaXN0SXRlbVByb3BlcnR5In1dfX0sImtpbmQiOiJhcnJheSJ9fV19fQ==")), "routingConfiguration") @concurrency_configuration = concurrency_configuration.is_a?(Hash) ? ::AWSCDK::Bedrock::CfnFlowAlias::FlowAliasConcurrencyConfigurationProperty.new(**concurrency_configuration.transform_keys(&:to_sym)) : concurrency_configuration Jsii::Type.check_type(@concurrency_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19iZWRyb2NrLkNmbkZsb3dBbGlhcy5GbG93QWxpYXNDb25jdXJyZW5jeUNvbmZpZ3VyYXRpb25Qcm9wZXJ0eSJ9XX19")), "concurrencyConfiguration") unless @concurrency_configuration.nil? @description = description Jsii::Type.check_type(@description, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "description") unless @description.nil? @tags = Jsii::Type.check_type(@tags, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoibWFwIn19")), "tags") unless @tags.nil? end |
Instance Attribute Details
#concurrency_configuration ⇒ AWSCDK::IResolvable, ... (readonly)
The configuration that specifies how nodes in the flow are executed concurrently.
51 52 53 |
# File 'bedrock/cfn_flow_alias_props.rb', line 51 def concurrency_configuration @concurrency_configuration end |
#description ⇒ String? (readonly)
A description of the alias.
56 57 58 |
# File 'bedrock/cfn_flow_alias_props.rb', line 56 def description @description end |
#flow_arn ⇒ String (readonly)
The Amazon Resource Name (ARN) of the alias.
34 35 36 |
# File 'bedrock/cfn_flow_alias_props.rb', line 34 def flow_arn @flow_arn end |
#name ⇒ String (readonly)
The name of the alias.
39 40 41 |
# File 'bedrock/cfn_flow_alias_props.rb', line 39 def name @name end |
#routing_configuration ⇒ AWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::Bedrock::CfnFlowAlias::FlowAliasRoutingConfigurationListItemProperty> (readonly)
A list of configurations about the versions that the alias maps to.
Currently, you can only specify one.
46 47 48 |
# File 'bedrock/cfn_flow_alias_props.rb', line 46 def routing_configuration @routing_configuration end |
#tags ⇒ Hash{String => String}? (readonly)
Metadata that you can assign to a resource as key-value pairs. For more information, see the following resources:.
64 65 66 |
# File 'bedrock/cfn_flow_alias_props.rb', line 64 def @tags end |
Class Method Details
.jsii_properties ⇒ Object
66 67 68 69 70 71 72 73 74 75 |
# File 'bedrock/cfn_flow_alias_props.rb', line 66 def self.jsii_properties { :flow_arn => "flowArn", :name => "name", :routing_configuration => "routingConfiguration", :concurrency_configuration => "concurrencyConfiguration", :description => "description", :tags => "tags", } end |
Instance Method Details
#to_jsii ⇒ Object
77 78 79 80 81 82 83 84 85 86 87 88 |
# File 'bedrock/cfn_flow_alias_props.rb', line 77 def to_jsii result = {} result.merge!({ "flowArn" => @flow_arn, "name" => @name, "routingConfiguration" => @routing_configuration, "concurrencyConfiguration" => @concurrency_configuration, "description" => @description, "tags" => @tags, }) result.compact end |