This PR adds attributes to the AWS S3 Bucket TOSCA node type containing two different URL styles (path-style and vhost-style) according to the AWS docs [1]. These additional properties allow the user to directly use the URLs without the need to construct them himself. This is helpful, for example, when the URL is supposed to be used as an output of the service template (see example below).
Instead of the construction, the user could then just use the respective attribute of the bucket. E.g.,
outputs:
s3_path:
type: string
value: { get_attribute: [ AwsS3Bucket_2, bucket_url_path ] }
required: true
description: 'URL of the AWS S3 Bucket in path style.'
s3_vhost:
type: string
value: { get_attribute: [ AwsS3Bucket_2, bucket_url_vhost ] }
required: true
description: 'URL of the AWS S3 Bucket in virtual-host style.'
This PR adds attributes to the AWS S3 Bucket TOSCA node type containing two different URL styles (path-style and vhost-style) according to the AWS docs [1]. These additional properties allow the user to directly use the URLs without the need to construct them himself. This is helpful, for example, when the URL is supposed to be used as an output of the service template (see example below).
Instead of the construction, the user could then just use the respective attribute of the bucket. E.g.,
[1] https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-bucket-intro.html