def __init__()

in sagemakerStudioConstructs/__init__.py [0:0]


	def __init__(self, scope: core.Construct, construct_id: str, *,
	             sagemaker_domain_name: str,
	             vpc_id: str,
	             subnet_ids: typing.List[str],
	             role_sagemaker_studio_users: iam.IRole,
	             **kwargs
	             ) -> None:
		super().__init__(scope, construct_id)

		my_sagemaker_domain = cfn_inc.CfnInclude(self, construct_id,
		                                         template_file=path.join(path.dirname(path.abspath(__file__)),
		                                                                 "sagemakerStudioCloudformationStack/sagemaker-domain-template.yaml"),
		                                         parameters={
			                                         "auth_mode": "IAM",
			                                         "domain_name": sagemaker_domain_name,
			                                         "vpc_id": vpc_id,
			                                         "subnet_ids": subnet_ids,
			                                         "default_execution_role_user": role_sagemaker_studio_users.role_arn,
		                                         })
		self.sagemaker_domain_id = my_sagemaker_domain.get_resource('SagemakerDomainCDK').ref