Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 9 Current »

The content S3 bucket associated with your application identifier can contain drawing files you can access by passing its S3 file key to the “file” query parameter. The S3 file key is just the relative path of the file inside the bucket. As it is passed in a query parameter you have to make sure that it is url encoded.

So if drawing file in the bucket is located at “test.dwg”, “file” parameter will be just “test.dwg”. If it is located at “test/test.dwg”, “file” parameter will be “test%2Ftest.dwg”.

To open a file from the S3 bucket with Kudo, you need to make sure that Kudo has at least read access to it. This will be sufficient if you use Kudo only as a viewer. If you use Kudo in edit mode, it will also require write access.

To allow s3 bucket access to Kudo, put a bucket policy on the partner s3 bucket allowing the desired actions to Kudo account : 649336859113

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "PermissionsforKudoAccount",
            "Effect": "Allow",
            "Principal": {
                "AWS": [
                    "arn:aws:iam::649336859113:root"
                ]
            },
            "Action": [
                "s3:PutObject",
                "s3:GetObject"
            ],
            "Resource": [
                "arn:aws:s3:::kudo-demo-content",
                "arn:aws:s3:::kudo-demo-content/*"
            ]
        }
    ]
}

  • No labels