Class: AWSCDK::Bedrock::CfnFlow::FlowValidationProperty

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

Overview

Contains information about validation of the flow.

This data type is used in the following API operations:

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message:) ⇒ FlowValidationProperty

Returns a new instance of FlowValidationProperty.

Parameters:

  • message (String)

    A message describing the validation error.



1498
1499
1500
1501
# File 'bedrock/cfn_flow.rb', line 1498

def initialize(message:)
  @message = message
  Jsii::Type.check_type(@message, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "message")
end

Instance Attribute Details

#messageString (readonly)

A message describing the validation error.



1507
1508
1509
# File 'bedrock/cfn_flow.rb', line 1507

def message
  @message
end

Class Method Details

.jsii_propertiesObject



1509
1510
1511
1512
1513
# File 'bedrock/cfn_flow.rb', line 1509

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

Instance Method Details

#to_jsiiObject



1515
1516
1517
1518
1519
1520
1521
# File 'bedrock/cfn_flow.rb', line 1515

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