Class: AWSCDK::Bedrock::CfnFlowAlias::FlowAliasRoutingConfigurationListItemProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
bedrock/cfn_flow_alias.rb

Overview

Contains information about a version that the alias maps to.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(flow_version: nil) ⇒ FlowAliasRoutingConfigurationListItemProperty

Returns a new instance of FlowAliasRoutingConfigurationListItemProperty.

Parameters:

  • flow_version (String, nil) (defaults to: nil)

    The version that the alias maps to.



666
667
668
669
# File 'bedrock/cfn_flow_alias.rb', line 666

def initialize(flow_version: nil)
  @flow_version = flow_version
  Jsii::Type.check_type(@flow_version, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "flowVersion") unless @flow_version.nil?
end

Instance Attribute Details

#flow_versionString? (readonly)

The version that the alias maps to.



675
676
677
# File 'bedrock/cfn_flow_alias.rb', line 675

def flow_version
  @flow_version
end

Class Method Details

.jsii_propertiesObject



677
678
679
680
681
# File 'bedrock/cfn_flow_alias.rb', line 677

def self.jsii_properties
  {
    :flow_version => "flowVersion",
  }
end

Instance Method Details

#to_jsiiObject



683
684
685
686
687
688
689
# File 'bedrock/cfn_flow_alias.rb', line 683

def to_jsii
  result = {}
  result.merge!({
    "flowVersion" => @flow_version,
  })
  result.compact
end