Class: AWSCDK::Bedrock::CfnAgent::S3IdentifierProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Bedrock::CfnAgent::S3IdentifierProperty
- Defined in:
- bedrock/cfn_agent.rb
Overview
The identifier information for an Amazon S3 bucket.
Instance Attribute Summary collapse
-
#s3_bucket_name ⇒ String?
readonly
The name of the S3 bucket.
-
#s3_object_key ⇒ String?
readonly
The S3 object key for the S3 resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(s3_bucket_name: nil, s3_object_key: nil) ⇒ S3IdentifierProperty
constructor
A new instance of S3IdentifierProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(s3_bucket_name: nil, s3_object_key: nil) ⇒ S3IdentifierProperty
Returns a new instance of S3IdentifierProperty.
1806 1807 1808 1809 1810 1811 |
# File 'bedrock/cfn_agent.rb', line 1806 def initialize(s3_bucket_name: nil, s3_object_key: nil) @s3_bucket_name = s3_bucket_name Jsii::Type.check_type(@s3_bucket_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "s3BucketName") unless @s3_bucket_name.nil? @s3_object_key = s3_object_key Jsii::Type.check_type(@s3_object_key, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "s3ObjectKey") unless @s3_object_key.nil? end |
Instance Attribute Details
#s3_bucket_name ⇒ String? (readonly)
The name of the S3 bucket.
1817 1818 1819 |
# File 'bedrock/cfn_agent.rb', line 1817 def s3_bucket_name @s3_bucket_name end |
#s3_object_key ⇒ String? (readonly)
The S3 object key for the S3 resource.
1822 1823 1824 |
# File 'bedrock/cfn_agent.rb', line 1822 def s3_object_key @s3_object_key end |
Class Method Details
.jsii_properties ⇒ Object
1824 1825 1826 1827 1828 1829 |
# File 'bedrock/cfn_agent.rb', line 1824 def self.jsii_properties { :s3_bucket_name => "s3BucketName", :s3_object_key => "s3ObjectKey", } end |
Instance Method Details
#to_jsii ⇒ Object
1831 1832 1833 1834 1835 1836 1837 1838 |
# File 'bedrock/cfn_agent.rb', line 1831 def to_jsii result = {} result.merge!({ "s3BucketName" => @s3_bucket_name, "s3ObjectKey" => @s3_object_key, }) result.compact end |