sdk/python/pulumi_aws/workspaces/directory.py
def iam_role_id(self) -> Optional[pulumi.Input[str]]:
        """
        The identifier of the IAM role. This is the role that allows Amazon WorkSpaces to make calls to other services, such as Amazon EC2, on your behalf.
        """
        return pulumi.get(self, "iam_role_id")

        The identifier of the IAM role. This is the role that allows Amazon WorkSpaces to make calls to other services, such as Amazon EC2, on your behalf.
        
The identifier of the IAM role. This is the role that allows Amazon WorkSpaces to make calls to other services, such as Amazon EC2, on your behalf.
The identifier of the IAM role . This is the role that allows Amazon WorkSpaces to make calls to other services such as Amazon EC2 on your behalf .
def iam_role_id(self) -> Optional[pulumi.Input[str]]:
        return pulumi.get(self, "iam_role_id")
def iam_role_id ( self ) -> Optional [ pulumi . Input [ str ] ] : return pulumi . get ( self , "iam_role_id" )
The identifier of the IAM role.
The identifier of the IAM role .
"""
        The identifier of the IAM role. This is the role that allows Amazon WorkSpaces to make calls to other services, such as Amazon EC2, on your behalf.
        """
self