Class: AWSCDK::BedrockAgentCore::CfnGatewayTarget::S3ConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
bedrock_agent_core/cfn_gateway_target.rb

Overview

The S3 configuration for the gateway target.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(bucket_owner_account_id: nil, uri: nil) ⇒ S3ConfigurationProperty

Returns a new instance of S3ConfigurationProperty.

Parameters:

  • bucket_owner_account_id (String, nil) (defaults to: nil)

    The S3 configuration bucket owner account ID for the gateway target.

  • uri (String, nil) (defaults to: nil)

    The configuration URI for the gateway target.



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 = 
  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_idString? (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
end

#uriString? (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_propertiesObject



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_jsiiObject



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