Class: AWSCDK::Bedrock::CfnAgentAlias::AgentAliasHistoryEventProperty

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

Overview

Contains details about the history of the alias.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(end_date: nil, routing_configuration: nil, start_date: nil) ⇒ AgentAliasHistoryEventProperty

Returns a new instance of AgentAliasHistoryEventProperty.

Parameters:



627
628
629
630
631
632
633
634
# File 'bedrock/cfn_agent_alias.rb', line 627

def initialize(end_date: nil, routing_configuration: nil, start_date: nil)
  @end_date = end_date
  Jsii::Type.check_type(@end_date, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "endDate") unless @end_date.nil?
  @routing_configuration = routing_configuration
  Jsii::Type.check_type(@routing_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfYmVkcm9jay5DZm5BZ2VudEFsaWFzLkFnZW50QWxpYXNSb3V0aW5nQ29uZmlndXJhdGlvbkxpc3RJdGVtUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "routingConfiguration") unless @routing_configuration.nil?
  @start_date = start_date
  Jsii::Type.check_type(@start_date, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "startDate") unless @start_date.nil?
end

Instance Attribute Details

#end_dateString? (readonly)

The date that the alias stopped being associated to the version in the routingConfiguration object.



640
641
642
# File 'bedrock/cfn_agent_alias.rb', line 640

def end_date
  @end_date
end

#routing_configurationAWSCDK::IResolvable, ... (readonly)

Contains details about the version of the agent with which the alias is associated.



645
646
647
# File 'bedrock/cfn_agent_alias.rb', line 645

def routing_configuration
  @routing_configuration
end

#start_dateString? (readonly)

The date that the alias began being associated to the version in the routingConfiguration object.



650
651
652
# File 'bedrock/cfn_agent_alias.rb', line 650

def start_date
  @start_date
end

Class Method Details

.jsii_propertiesObject



652
653
654
655
656
657
658
# File 'bedrock/cfn_agent_alias.rb', line 652

def self.jsii_properties
  {
    :end_date => "endDate",
    :routing_configuration => "routingConfiguration",
    :start_date => "startDate",
  }
end

Instance Method Details

#to_jsiiObject



660
661
662
663
664
665
666
667
668
# File 'bedrock/cfn_agent_alias.rb', line 660

def to_jsii
  result = {}
  result.merge!({
    "endDate" => @end_date,
    "routingConfiguration" => @routing_configuration,
    "startDate" => @start_date,
  })
  result.compact
end