title: How to create Sagemaker studio project using aws cdk
body: <p>I am trying to create sagemaker studio project using aws cdk following below steps:</p>
  <p>create domain (<a href="https://github.com/aws-samples/aws-cdk-sagemaker-studio.git" rel="nofollow noreferrer">using this example</a>)
  create user (<a href="https://github.com/aws-samples/aws-cdk-sagemaker-studio.git" rel="nofollow noreferrer">using this example</a>)
  create jupyter app
  create project</p>
  <p>Code for creating jupyter app:</p>
  <pre><code>
  def __init__(self, scope: Construct,
               construct_id: str, *,
               app_name: str,
               app_type: str,
               domain_id: str,
               user_profile_name: str,
               depends_on=None, **kwargs) -&gt; None:
      super().__init__(scope, construct_id)
  
      sagemaker_jupyter_app = sg.CfnApp(self, construct_id,
                                        app_name=app_name,
                                        app_type=app_type,
                                        domain_id=domain_id,
                                        user_profile_name=user_profile_name
                                        )
      sagemaker_jupyter_app.add_depends_on(depends_on_user_creation)
  </code></pre>
  <p>Code for creating project:</p>
  <pre><code>
  def __init__(self, scope: Construct,
               construct_id: str, *,
               project_name: str,
               project_description: str,
               product_id: str,
               depends_on=None,
               **kwargs) -&gt; None:
      super().__init__(scope, construct_id)
  
      sagemaker_studio_project = sg.CfnProject(self, construct_id,
                                               project_name=project_name,
                                               service_catalog_provisioning_details={
                                                   &quot;ProductId&quot;: &quot;prod-7tjedn5dz4jrw&quot;
                                               },
                                               project_description=project_description
                                               )
  </code></pre>
  <p>Domain, user, jupyter app all gets created successfully. The problem comes in with project.
  Below is the error :</p>
  <blockquote>
  <p>Resource handler returned message: &quot;Product prod-7tjedn5dz4jrw does
  not exist or access was denied (Service: SageMaker, Status Code: 400,
  Request ID: 768116aa-e77b-4691-a972-38b83093fdc4)&quot; (RequestToken:
  45ca2a0c-3f03-e3e0-f29d-d9443ff4dfc1, HandlerErrorCode:
  GeneralServiceException)</p>
  </blockquote>
  <p>I am running this code from an ec2 instance that has SagemakerFullAccess
  I also tried attaching SagemakerFullAccess execution role with project...but got the same error.
  I have also attached below policy to my domain:</p>
  <ul>
  <li>AmazonSageMakerAdmin-ServiceCatalogProductsServiceRolePolicy</li>
  </ul>