Class: AWSCDK::BedrockAgentCore::CfnConfigurationBundle::VersionCreatedBySourceProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::BedrockAgentCore::CfnConfigurationBundle::VersionCreatedBySourceProperty
- Defined in:
- bedrock_agent_core/cfn_configuration_bundle.rb
Overview
The source that created a configuration bundle version.
Instance Attribute Summary collapse
-
#arn ⇒ String?
readonly
The Amazon Resource Name (ARN) of the source, if applicable.
-
#name ⇒ String
readonly
The name of the source (for example, user, optimization-job, or system).
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(name:, arn: nil) ⇒ VersionCreatedBySourceProperty
constructor
A new instance of VersionCreatedBySourceProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(name:, arn: nil) ⇒ VersionCreatedBySourceProperty
Returns a new instance of VersionCreatedBySourceProperty.
676 677 678 679 680 681 |
# File 'bedrock_agent_core/cfn_configuration_bundle.rb', line 676 def initialize(name:, arn: nil) @name = name Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") @arn = arn Jsii::Type.check_type(@arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "arn") unless @arn.nil? end |
Instance Attribute Details
#arn ⇒ String? (readonly)
The Amazon Resource Name (ARN) of the source, if applicable.
692 693 694 |
# File 'bedrock_agent_core/cfn_configuration_bundle.rb', line 692 def arn @arn end |
#name ⇒ String (readonly)
The name of the source (for example, user, optimization-job, or system).
687 688 689 |
# File 'bedrock_agent_core/cfn_configuration_bundle.rb', line 687 def name @name end |
Class Method Details
.jsii_properties ⇒ Object
694 695 696 697 698 699 |
# File 'bedrock_agent_core/cfn_configuration_bundle.rb', line 694 def self.jsii_properties { :name => "name", :arn => "arn", } end |
Instance Method Details
#to_jsii ⇒ Object
701 702 703 704 705 706 707 708 |
# File 'bedrock_agent_core/cfn_configuration_bundle.rb', line 701 def to_jsii result = {} result.merge!({ "name" => @name, "arn" => @arn, }) result.compact end |