Location¶
-
class
aws_cdk.aws_s3.
Location
(*, bucket_name, object_key, object_version=None)¶ Bases:
object
An interface that represents the location of a specific object in an S3 Bucket.
- Parameters
bucket_name (
str
) – The name of the S3 Bucket the object is in.object_key (
str
) – The path inside the Bucket where the object is located at.object_version (
Optional
[str
]) – The S3 object version.
Attributes
-
bucket_name
¶ The name of the S3 Bucket the object is in.
- Return type
str
-
object_key
¶ The path inside the Bucket where the object is located at.
- Return type
str
-
object_version
¶ The S3 object version.
- Return type
Optional
[str
]