Class: AWSCDK::Interfaces::AWSBedrock::BlueprintReference

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
interfaces/aws_bedrock/blueprint_reference.rb

Overview

A reference to a Blueprint resource.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(blueprint_arn:) ⇒ BlueprintReference

Returns a new instance of BlueprintReference.

Parameters:

  • blueprint_arn (String)

    The BlueprintArn of the Blueprint resource.



8
9
10
11
# File 'interfaces/aws_bedrock/blueprint_reference.rb', line 8

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

Instance Attribute Details

#blueprint_arnString (readonly)

The BlueprintArn of the Blueprint resource.

Returns:

  • (String)


16
17
18
# File 'interfaces/aws_bedrock/blueprint_reference.rb', line 16

def blueprint_arn
  @blueprint_arn
end

Class Method Details

.jsii_propertiesObject



18
19
20
21
22
# File 'interfaces/aws_bedrock/blueprint_reference.rb', line 18

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

Instance Method Details

#to_jsiiObject



24
25
26
27
28
29
30
# File 'interfaces/aws_bedrock/blueprint_reference.rb', line 24

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