Class: AWSCDK::BedrockAgentCore::CfnGatewayTarget::S3ConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::BedrockAgentCore::CfnGatewayTarget::S3ConfigurationProperty
- Defined in:
- bedrock_agent_core/cfn_gateway_target.rb
Overview
The S3 configuration for the gateway target.
Instance Attribute Summary collapse
-
#bucket_owner_account_id ⇒ String?
readonly
The S3 configuration bucket owner account ID for the gateway target.
-
#uri ⇒ String?
readonly
The configuration URI for the gateway target.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(bucket_owner_account_id: nil, uri: nil) ⇒ S3ConfigurationProperty
constructor
A new instance of S3ConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(bucket_owner_account_id: nil, uri: nil) ⇒ S3ConfigurationProperty
Returns a new instance of S3ConfigurationProperty.
1922 1923 1924 1925 1926 1927 |
# File 'bedrock_agent_core/cfn_gateway_target.rb', line 1922 def initialize(bucket_owner_account_id: nil, uri: nil) @bucket_owner_account_id = bucket_owner_account_id Jsii::Type.check_type(@bucket_owner_account_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "bucketOwnerAccountId") unless @bucket_owner_account_id.nil? @uri = uri Jsii::Type.check_type(@uri, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "uri") unless @uri.nil? end |
Instance Attribute Details
#bucket_owner_account_id ⇒ String? (readonly)
The S3 configuration bucket owner account ID for the gateway target.
1933 1934 1935 |
# File 'bedrock_agent_core/cfn_gateway_target.rb', line 1933 def bucket_owner_account_id @bucket_owner_account_id end |
#uri ⇒ String? (readonly)
The configuration URI for the gateway target.
1938 1939 1940 |
# File 'bedrock_agent_core/cfn_gateway_target.rb', line 1938 def uri @uri end |
Class Method Details
.jsii_properties ⇒ Object
1940 1941 1942 1943 1944 1945 |
# File 'bedrock_agent_core/cfn_gateway_target.rb', line 1940 def self.jsii_properties { :bucket_owner_account_id => "bucketOwnerAccountId", :uri => "uri", } end |
Instance Method Details
#to_jsii ⇒ Object
1947 1948 1949 1950 1951 1952 1953 1954 |
# File 'bedrock_agent_core/cfn_gateway_target.rb', line 1947 def to_jsii result = {} result.merge!({ "bucketOwnerAccountId" => @bucket_owner_account_id, "uri" => @uri, }) result.compact end |