Class: AWSCDK::BedrockAgentCore::CfnBrowserCustom::S3LocationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::BedrockAgentCore::CfnBrowserCustom::S3LocationProperty
- Defined in:
- bedrock_agent_core/cfn_browser_custom.rb
Overview
The S3 location.
Instance Attribute Summary collapse
-
#bucket ⇒ String
readonly
The S3 location bucket name.
-
#prefix ⇒ String
readonly
The S3 location object prefix.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(bucket:, prefix:) ⇒ S3LocationProperty
constructor
A new instance of S3LocationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(bucket:, prefix:) ⇒ S3LocationProperty
Returns a new instance of S3LocationProperty.
924 925 926 927 928 929 |
# File 'bedrock_agent_core/cfn_browser_custom.rb', line 924 def initialize(bucket:, prefix:) @bucket = bucket Jsii::Type.check_type(@bucket, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "bucket") @prefix = prefix Jsii::Type.check_type(@prefix, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "prefix") end |
Instance Attribute Details
#bucket ⇒ String (readonly)
The S3 location bucket name.
935 936 937 |
# File 'bedrock_agent_core/cfn_browser_custom.rb', line 935 def bucket @bucket end |
#prefix ⇒ String (readonly)
The S3 location object prefix.
940 941 942 |
# File 'bedrock_agent_core/cfn_browser_custom.rb', line 940 def prefix @prefix end |
Class Method Details
.jsii_properties ⇒ Object
942 943 944 945 946 947 |
# File 'bedrock_agent_core/cfn_browser_custom.rb', line 942 def self.jsii_properties { :bucket => "bucket", :prefix => "prefix", } end |
Instance Method Details
#to_jsii ⇒ Object
949 950 951 952 953 954 955 956 |
# File 'bedrock_agent_core/cfn_browser_custom.rb', line 949 def to_jsii result = {} result.merge!({ "bucket" => @bucket, "prefix" => @prefix, }) result.compact end |